Calling an Applet from a Form


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Calling an Applet from a Form

  1. #1
    Abinaash Guest

    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


  2. #2
    Tom Duffy Guest

    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
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center