Calling an Applet from a Form
I'm working on an applet that is called by an HTML form. I was wondering
if it's legitimate to call the class file right form the form tag as follows:
---------------
<form action="http://canada.watsonwyatt.com:4620/InfoSource/DBTextAppletNew.class"
method="POST">
--------------
I've tried doing this, but it's giving me the following error:
--------------
Server Error
This server has encountered an internal error which prevents it from fulfilling
your request. The most likely cause is a
misconfiguration. Please ask the administrator to look for messages in the
server's error log.
-------------
I don't know what that means. Any input would be greatly appreciated.
Thanks in advance.
-Abinaash
Re: Calling an Applet from a Form
Hello Abinaash:
It looks like you're mixing up the client side with the server side. An
applet gets executed on the client. Sounds like you need a servlet - which
comes with request and response objects built in.
Hope this helps.
Tom
"Abinaash" <abinaash@yahoo.com> wrote:
>
>I'm working on an applet that is called by an HTML form. I was wondering
>if it's legitimate to call the class file right form the form tag as follows:
>
>---------------
><form action="http://canada.watsonwyatt.com:4620/InfoSource/DBTextAppletNew.class"
>method="POST">
>--------------
>
>I've tried doing this, but it's giving me the following error:
>
>--------------
>Server Error
>
>This server has encountered an internal error which prevents it from fulfilling
>your request. The most likely cause is a
>misconfiguration. Please ask the administrator to look for messages in the
>server's error log.
>-------------
>
>I don't know what that means. Any input would be greatly appreciated.
>
>Thanks in advance.
>
>-Abinaash
>