The trick is quite simple:

1) You post your data from the applet to the servlet
2) You get the servlet to manipulate the data and write output to a temp
file e.g. YOUR_CHOSEN_NAME.html
3) You issue a showDocument with YOUR_CHOSEN_NAME.html

Details and code example at a relevant two-part tip at Javaworld.com

Hope this helps,
Kostas

On Thu, 30 Dec 1999, mr. 7up wrote:

> Hi again ,
> I knew how to send GET request to my Servlet,
> but i dont know how to send POST request to my Servlet.
> How to do that ???
>
> thanks.
> regards
> yoel
>
>
> > hi,
> >
> > you may use the method 'showDocument(URL url, String target)' of the
> > AppletContext class. Use the servlet's url, and the name of the browser
> > window or frame as target.
> >
> > greets, peter
> >
> > > "mr. 7up" wrote:
> > >
> > > Hi all,
> > > I want to use Applet as my front end for requesting my Servlet.
> > > And then the response from servlet in the HTML format.
> > > Can i do it ???
> > > Pliz give a simple example ..
> > >
> > > Thanks
> > >
> > > regards,
> > > Yulyanto

___________________________________________________________________________
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