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;jsessionid=ABC050043B658172728D72ABBBF6EE64" title="Active Items" style="width: 100px">Active Items</a></li>
<li><a href="/partyRoleUI/roleTypeAttrList.do?do=listRoleTypeAttrAll;jsessionid=ABC050043B658172728D72ABBBF6EE64" title="All Items" style="width: 100px">All Items</a></li>
<li><a href="/partyRoleUI/roleTypeAttrList.do?do=listRoleTypeAttrDeleted;jsessionid=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.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.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.dispatchMethod(DispatchAction.java:264)
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.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.