manoj kumar wrote:
> But how do I pass the parameter 'category' to the ServletB as a variable in
> the following as suggested by you.
>
> <tr><td>
> <a href="/servletB?category=xxxxx">yyyyy</a>
> </td></tr>
>
> That is what I am finding tricky to do.
>
The code above does exactly that. Whatever value you specify for xxxxx is
passed to servlet B as the value of the "category" parameter, because it
follows the question mark ("?") character in the URL.
If this is hard to understand, I would suggest going to the Servlet Trail in
the Java Language Tutorial (http://java.sun.com/docs/books/tutorial), or one of
the servlet related books, for more information about the basic concepts of
parameter passing and the syntax of URLs.
>
> Manoj
>
Craig McClanahan
___________________________________________________________________________
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