I've got a couple of examples on my new (still under development) web site
(http://servletguru.com). In the "Running Servlets" section there are two
applets that communicate with a live servlet. MathLiteApplet is a simple
calculator that performs all of the calculations on the server, and
AppletLogin is an example login page. You will probably be more interested
in the AppletLogin. All of the source can be found in the "downloads"
section.

Karl.

-----Original Message-----
From: Vaishnavi Mannar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 05, 1999 9:18 AM
To: [EMAIL PROTECTED]
Subject: How to call a Servlet from an Applet


Hi Everybody,


I am new to servlet programming.

My question is how to call a Servlet from an Applet.
I want to enter say "hello" in the textfield in an applet,
i want this to be sent to the web server and get a response
as "HELLO" (all capital letters).
How can i do this ?

Thanks
Vaishnavi







----- Original Message -----
From: Carlo Indolfi <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 05, 1999 4:10 AM
Subject: Servlet call Servlet... but on different Web Servers!


> Hi to everyone!
> I'm here again with another question!
> Thanks to your help I'm now able to perform a Servlet A
> that send an object to Servlet B. Servlet B make operations
> on this Object and the control returns to Servlet A, with the
> .include() method. But I've noted that the URL given to the
> getRequestDispatcher() must be in the form /dir/dir/file.ext.
> Now my new problem is folloqing explained:
> My Servlet B have to stay on another Web Server, then i need
> a method tha accepts URLS in the classic form
> "http://my_other_host.domain/ServletB"
> How can I perform this new step?? Or better, is it
> possible??
>
> Thank's in advance
> Regards
> Carlo
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to