Hi!

The best soluion is to use an ActionForm to get the search criteria from the
user an then to usen an action an action to do the search dont use link
direct to jsp pages

----- Original Message -----
From: "Steven Nakhla" <[EMAIL PROTECTED]>
To: "Struts" <[EMAIL PROTECTED]>
Sent: Monday, December 15, 2003 5:21 PM
Subject: URLs & Parameters


> I'm writing a simple web app, and am rather new to Struts.  What I would
like to do is have several HTML links in my page to perform different types
of searches.  For example,
>
> <html:link href="/search.jsp?type=name">Name search</html:link>
> <html:link href="/search.jsp?type=age">Age search</html:link>
> <html:link href="/search.jsp?type=gender">Gender search</html:link>
>
> In my search.jsp page, I'd like to be able to display form fields based on
the type of search being performed.  Is there any way to use, for example,
one of the logic tags to get the value of "type" from the URL?  Is there
another way to accomplish this?  Thanks very much in advance!
>
> Steve Nakhla
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to