Details
Description
got <<javax.servlet.ServletException: Cannot create rewrite URL:
java.net.MalformedURLException: You must specify exactly one of "forward",
"href", or "page"
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:533)
at org.apache.jsp.myFile_jsp._jspService(myFile_jsp.java:85)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)>>
Looking at myFile_jsp.java:85, I only see the not so helpful
if (pageContext != null) pageContext.handlePageException(t);
Therefore my suggestions:
1) in the error message, include the line where it happens in the .jsp file.
2) document in http://jakarta.apache.org/struts/struts-html.html#link that the
"anchor" element cannot be alone.
Attachments
Issue Links
- is depended upon by
-
STR-786 Make error messages more specific (omnibus issue)
- Reopened