[ https://issues.apache.org/struts/browse/STR-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Benedict resolved STR-1638. -------------------------------- Resolution: Fixed Assignee: Paul Benedict > MalformedURLException: You must specify exactly one of "forward", "href", or > "page" > ----------------------------------------------------------------------------------- > > Key: STR-1638 > URL: https://issues.apache.org/struts/browse/STR-1638 > Project: Struts 1 > Issue Type: Improvement > Components: Core > Affects Versions: 1.0.0 > Environment: Operating System: All > Platform: All > Reporter: Ralf Hauser > Assignee: Paul Benedict > Priority: Minor > Fix For: 1.4.0 > > > 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.