You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2007/08/20 07:15:34 UTC
[jira] Updated: (STR-1638) MalformedURLException: You must specify
exactly one of "forward", "href", or "page"
[ https://issues.apache.org/struts/browse/STR-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Benedict updated STR-1638:
-------------------------------
Fix Version/s: 1.4.0
Assignee: (was: Struts Developers)
> 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
> 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.