struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian.Duchouque...@transplace.com
Subject Re: Why would jsessionid not appear?
Date Wed, 08 Aug 2001 16:44:20 GMT

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:

<html:link href="createStakeholder.do">  <bean:message key
="global.create"/>  </html:link>

_________________________________________________________________________

Menu.jsp and Stakeholder_Links.jsp both do not add jsession id correctly
into the <html:link>

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' %>

<template:insert template='/includes/dneTemplate.jsp'>
     <template:put name='title' content='Create Stakeholder' direct
='true'/>
     <template:put name='header' content='/includes/Header.htm'/>
     <template:put name='menu' content='/includes/Menu.jsp'/>
     <template:put name='topLinks' content
='/includes/Stakeholder_Links.jsp'/>
     <template:put name='content' content
='/CreateStakeholder_Body_Formatted.jsp'/>
     <template:put name='footer' content='/includes/Footer.htm'/>
</template:insert>





                                                                                         
                                   
                    Brian.Duchouquette@tran                                              
                                   
                    splace.com                     To:     "'struts-user@jakarta.apache.org'"
                               
                                                   <struts-user@jakarta.apache.org>
                                         
                    08/08/2001 10:54 AM            cc:                                   
                                   
                    Please respond to              Subject:     Why would jsessionid not appear?
                            
                    struts-user                                                          
                                   
                                                                                         
                                   
                                                                                         
                                   




My link is:

<html:link page="/createStakeholder.do?action=create"><bean:message key
="index.createStakeholder"/></html:link>

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:

     <action   path="/createStakeholder"
               type="com.transplace.struts.action.CreateStakeholderAction"
               name="StakeholderForm"
               scope="session"
               validate="true">
           input="/CreateStakeholder.jsp">
          <forward name="success" path="/index"/>
     </action>






Mime
View raw message