You should look into using a framework such as Jakarta Struts by the Apache
Software Foundation.
http://jakarta.apache.org/struts

This package will do all this and more.

JM

> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> Richard Diaz
> Sent: Friday, May 17, 2002 7:16 PM
> To: [EMAIL PROTECTED]
> Subject: sending commands servlet to servlet?
>
>
> Using the MVC approach:
>
> In my servlet I am using:
>
> String command = request.getParamater("command")
>
> to get the jsp form field 'command' e.g.:
>
> <form>
> ....
> <input type=hidden name = "command" value = "update">
> </form>
>
> but HOW do i invoke this 'command' when servlet A is
> called by Servlet B ? I'd like to use the same
> handler.
>
> thanks
>
> Rich
>
> __________________________________________________
> Do You Yahoo!?
> LAUNCH - Your Yahoo! Music Experience
> http://launch.yahoo.com
>
> __________________________________________________________________
> _________
> 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