On 20/09/2010 16:00, Laurence L Leff wrote:
> 
> ----- Original Message -----
> From: "Michael Stockhausen" <prof.dr.moe...@googlemail.com>
> 
> I have create two Servlets (LoginServlet & UserListServlet).
> I'm using a JSP for the User credentials. When you press the login-button,
> the LoginServlet is called.
> 
> I would like to call the UserListServlet, when the username and password are
> correct.
> 
> Where can I find some examples?
> 
> Thanks,
> Michael
>  I teach this in my Graphical User Interface Programming class:  
> (http://www.wiu.edu/users/mflll/CS412g/n3x.xml.pdf)
> 
>   URL url = new URL("http://toolman.wiu.edu:14096/servlet/OurData";);
>   InputStream openStream = url.openStream();
>   InputStreamReader r = new InputStreamReader(openStream);
>   char buf[] = new char[10000];
>   r.read(buf,0,1);
> 
> One just starts the servlet by invoking it with a URL and reading from the  
> stream.

Ermm...

I'm not really sure that's what he's looking for.


p

Attachment: 0x62590808.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to