struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anca Z (JIRA)" <j...@apache.org>
Subject [jira] Created: (STR-3199) Switching from jdk 1.5 to jdk 1.6 gives an exception in browser
Date Mon, 01 Mar 2010 08:16:05 GMT
Switching from jdk 1.5 to jdk 1.6 gives an exception in browser
---------------------------------------------------------------

                 Key: STR-3199
                 URL: https://issues.apache.org/jira/browse/STR-3199
             Project: Struts 1
          Issue Type: Bug
            Reporter: Anca Z


Scenario:
-web application with following technology : 
-Struts 1
- Maven 2.2.9
-Jdk 1.5.0_14
- Tomcat 5.0
org.apache.struts - 1.3.8 

Works ok.
When switching to jdk 1.6 I receive the following stack trace : This happens when I start
the application in Firefox :

javax.servlet.ServletException: Path login.page does not start with a "/" character
	org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:286)
	org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
	org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:72)
	org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:712)
	org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:682)
	org.apache.jsp.index_jsp._jspService(index_jsp.java:45)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)

root cause

java.lang.IllegalArgumentException: Path login.page does not start with a "/" character
	org.apache.struts.chain.commands.servlet.PerformForward.handleAsForward(PerformForward.java:107)
	org.apache.struts.chain.commands.servlet.PerformForward.perform(PerformForward.java:96)
	org.apache.struts.chain.commands.AbstractPerformForward.execute(AbstractPerformForward.java:54)
	org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
	org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
	org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
	org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
	org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
	org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
	org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:72)
	org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:712)
	org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:682)
	org.apache.jsp.index_jsp._jspService(index_jsp.java:45)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message