You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Matthias Maisch <ma...@sincon.com> on 2001/02/08 14:06:17 UTC

Struts client

Hallo,

ist there a way to use an Applett as client for a server with a Struts
framework?

Thanks for all answers

Matthias

Re: Struts client

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Matthias Maisch wrote:

> Hallo,
>
> ist there a way to use an Applett as client for a server with a Struts
> framework?
>
> Thanks for all answers
>
> Matthias

Sure ... the applet can use java.net.HttpURLConnection to send its own
requests to the controller servlet, and receive the response.  There are
some simple examples of doing this (from a standalone client, but the
programming concepts are the same) in the Java Language Tutorial's
networking trail <http://java.sun.com/docs/books/tutorial>.

Craig McClanahan