DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39074>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39074 Summary: java.lang.NullPointerException Product: Struts Version: Unknown Platform: Other OS/Version: Windows NT Status: NEW Severity: major Priority: P2 Component: Taglibs AssignedTo: dev@struts.apache.org ReportedBy: [EMAIL PROTECTED] I m using Struts-1.2.0 and Tomcat 4.1.30. I have a link in my "index.jsp" that uses 'forward' attribute of <html:link> to transfer to a page called "xyz.jsp". For your reference the code snippet is as below: --------------------------------------------- In index.jsp -> <html:link forward="xyzForward"> XYZ Form </html:link> In struts-config.xml -> <global-forwards> <forward name="xyzForward" path="/xyz.jsp"/> </global-forwards> --------------------------------------- And i get the HTTP Status 500 Internal Server Error: The root cause is as follows: (only the initial 4 lines is listed) java.lang.NullPointerException at org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding (TagUtils.java:487) at org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding (TagUtils.java:370) at org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:514) at org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:374) " -------------------------------------- Note : With "href" and "action" attributes of <html:link> the index.jsp is getting displayed but exception occurs while using "forward" and "page" attributes. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]