Re: Why would jsessionid not appear?
The jsessionid path parameter will only be added if the servlet container does not know whether your client supports cookies. How Tomcat handles this (probably typical of others): * On the first response in a session, send the session id both ways (cookie and encoding). * If the subsequent request comes back with a cookie, turn of URL rewriting for the remainder of this session. * If the subsequent request comes back without a cookie, keep on rewriting. Craig On Wed, 8 Aug 2001 [EMAIL PROTECTED] wrote: > My link is: > > ="index.createStakeholder"/> > > it works, but the URL shows: > > http://localhost:8080/dne-struts/createStakeholder.do?action=create > > no jsessionid :( > > Any hints appreciated! > > Thanks, > Brian > > > > Here's my action-mapping for that page: > > type="com.transplace.struts.action.CreateStakeholderAction" >name="StakeholderForm" >scope="session" >validate="true"> >input="/CreateStakeholder.jsp"> > > > >
Re: Why would jsessionid not appear?
To follow up my last message: jsessionid is now being passed from index.jsp to my next form: CreateStakeholder.jsp. CreateStakeholder.jsp does not seem to recognize jsessionid when it is sent, and does not re-write the link tags. _ One important note: I am using a template to build createStakeholder.do (CreateStakeholder.jsp): The links in the template sub-forms are: _ Menu.jsp and Stakeholder_Links.jsp both do not add jsession id correctly into the Is it possible that the sub-pages on the template are not acquiring the jsessionid request parameter correctly? Is there something I need to do with the template to make sure the html:link tag builds correctly? Thanks, Brian p.s. CreateStakeholder.jsp looks like this: <%@ page language="java" %> <%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %> Brian.Duchouquette@tran splace.com To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> 08/08/2001 10:54 AMcc: Please respond to Subject: Why would jsessionid not appear? struts-user My link is: it works, but the URL shows: http://localhost:8080/dne-struts/createStakeholder.do?action=create no jsessionid :( Any hints appreciated! Thanks, Brian Here's my action-mapping for that page: input="/CreateStakeholder.jsp">