Results 1 to 2 of 2
- 11-03-2008, 01:36 PM #1
Member
- Join Date
- Oct 2008
- Posts
- 4
- Rep Power
- 0
jsessionid imbedded in link causes it to fail
I have separated our project into multiple wars and jars and now when links are created sometimes they get the jsessionid imbedded into them which causes the link to fail. I have told browser to enable cookies. The project when it was not separated into pieces did not put the jsessionid in the url links. Below is the "view source of one of the list jsp screens which shows the jsessionid in some of the links. Then the error screen follows. Do you know how I can stop the system from imbedding the jsessionid's into the links.
<a href="#" id="ToDoListMenuList352Actuator" class="actuator">Filter</a>
<ul id="ToDoListMenuList352Menu" class="menu">
<li><a href="/partyRoleUI/roleTypeAttrList.do?do=listRoleTypeAttrActive;jses sionid=ABC050043B658172728D72ABBBF6EE64" title="Active Items" style="width: 100px">Active Items</a></li>
<li><a href="/partyRoleUI/roleTypeAttrList.do?do=listRoleTypeAttrAll;jsessio nid=ABC050043B658172728D72ABBBF6EE64" title="All Items" style="width: 100px">All Items</a></li>
<li><a href="/partyRoleUI/roleTypeAttrList.do?do=listRoleTypeAttrDeleted;jse ssionid=ABC050043B658172728D72ABBBF6EE64" title="Deleted Items" style="width: 150px">Deleted Items</a></li>
</ul>
</li>
** THIS IS THE ERROR I GET. IF I REMOVE THE JSESSIONID FROM THE ADDRESS LINE THE LINK WORKS.
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Action[/roleTypeAttrList] does not contain specified method (check logs)
org.apache.struts.action.RequestProcessor.processE xception(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processA ctionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet .java:689)
javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
com.opensymphony.module.sitemesh.filter.PageFilter .parsePage(PageFilter.java:119)
com.opensymphony.module.sitemesh.filter.PageFilter .doFilter(PageFilter.java:55)
root cause
java.lang.NoSuchMethodException: Action[/roleTypeAttrList] does not contain specified method (check logs)
org.apache.struts.actions.DispatchAction.dispatchM ethod(DispatchAction.java:264)
org.apache.struts.actions.DispatchAction.execute(D ispatchAction.java:187)
org.apache.struts.action.RequestProcessor.processA ctionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet .java:689)
javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
com.opensymphony.module.sitemesh.filter.PageFilter .parsePage(PageFilter.java:119)
com.opensymphony.module.sitemesh.filter.PageFilter .doFilter(PageFilter.java:55)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
- 11-10-2008, 09:25 PM #2
Member
- Join Date
- Oct 2008
- Posts
- 4
- Rep Power
- 0
Similar Threads
-
jsf command link
By Srikala in forum JavaServer Faces (JSF)Replies: 2Last Post: 06-29-2010, 02:38 PM -
jsf command link
By Srikala in forum JavaServer Faces (JSF)Replies: 1Last Post: 06-25-2009, 08:03 AM -
Panic Attack Setting in Why did I take Computer Science...only to fail
By gallimaufry in forum New To JavaReplies: 5Last Post: 10-25-2008, 08:42 AM -
Link for 64 bit JDK.
By aparna in forum New To JavaReplies: 0Last Post: 03-19-2008, 02:15 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks