Soefara Redzuan wrote:
>
> I have considered your solution (using one servlet or JSP) but ...
>
> 1. It produces some really horrible URLS. For example ~
>    http://www.yyy.com/index.jsp?level1=Products&level2=Goo&level3=...
>

 You don't have to use a query string. The above URL could
be http://www.yyy.com/products/Goo/MiracleGoo. Map the
entire 'products' tree to a single servlet, and then use
Request.getPathInfo() to get the rest of the path. Break
apart the path and use it to construct your database query
(or whatever) just like you would have done with a query
string.


--
Christopher St. John [EMAIL PROTECTED]
DistribuTopia http://www.distributopia.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to