In furtherance of Oliver's response: cool dude wrote: > 1. Does struts provide any build-in mechanism for > session management? If not, then is there any > guideline as to how struts can be used to provide that > kindof support?
For the most part, Struts relies on the Java Servlet container for that. The custom tags provided with the framework all provide automatic URL rewriting, so the container can maintain the session when cookies are not available. > 3. I'm also having problems with URL forwards. It > looks like in struts you have give URL forwards > starting with "/". What if I want to > forward to a URL that doesn't being with "/", i.e., a > relative URL. Say my site looks something like this > http://mysite.com/info1/info2/actionname and I would > want to carry this URL for all the actions, ie, only > the action name would change & the rest of the URL > remains the same. Maybe I'm missing soemthing out > here. Struts looks as these as String identifiers rather than a file tree, and does not resolve "relative" references in the way that you might expect. It's important to remember that while we assign URI to actoins that look like references to directories or files, these don't exist in fact. You are not really forwarding to a URL that resolves to a file, but to an identifier that Struts looks up in a table. While seems like it would be feasible for Struts to treat this table like it were file tree, that functionality is not provided. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Java Web Development with Struts. -- Tel +1 585 737-3463. -- Web http://www.husted.com/struts/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>