DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  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
    >



Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links