  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | -none- | -none- 2007-09-06 - By Paul Benedict
Back Turn off automatic session creation, if you want. It's a JSP directive. I think it's: <% page session="false" %>
You don't need sessions until you actually want to track user state. If you need to track user hits, you could turn on mod_tracking if you're using HTTPD.
Paul
On 9/6/07, Jennie Moeller <Jennie.Moeller@(protected)> wrote: > > On the very first request to our website any html:rewrite tags or > bean:include tags the URL gets rewritten with the JsessionID in it > making the link invalid which then gives a page not found error. > > I understand why its doing this as its not sure yet whether cookies are > enabled (cookies are enabled on my browser for certain) but I need to > know if there is anyway to get around it (other than hitting refresh > which fixes the problem). So far the only way we've found to get around > it is to not use those struts tags but surely there is a better way? > > Jennie > > > > This e-mail (and any attachments) is confidential and may contain > personal views which are not the views of the BBC unless specifically > stated. > If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in > reliance on it and notify the sender immediately. Please note that the > BBC monitors e-mails sent or received. > Further communication will signify your consent to this. >
|
|
 |