DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22004>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22004

MalformedURLException: You must specify exactly one of "forward", "href", or "page"

           Summary: MalformedURLException: You must specify exactly one of
                    "forward", "href", or "page"
           Product: Struts
           Version: 1.0 Final
          Platform: All
               URL: http://jakarta.apache.org/struts/struts-html.html#link
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Documentation
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to