I don't have a problem with using parameters.  Until there are specific rules
regarding this issue, its a matter of programmer preference - parameter or
pathinfo...

James Duncan Davidson wrote:

> > Nick in case I want to do RequestDistpatcher or sendRedirect:
> > http://mydomain.com/myjspmgr.jsp/~gabrielw/mycustomjspfile.jsp
> >
> > so in myjspmgr.jsp
> > I can ...getRequestDistpatcher(servletrequest.getPathInfo()).forward(req,res);
>
> But you are encoding a parameter info as part of the pathinfo.... Use
>
> http://mydomain.com/myjspmgr.jsp?loc=~gabrielw/mycustomjspfile.jsp
>
> Trying to overload the mappings to that point would be unneccessarily
> complicated.
>
> .duncan
>
> ___________________________________________________________________________
> 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