You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Shiby Maria John <Sh...@ibsplc.com> on 2005/12/22 11:26:58 UTC

Struts implementation of Synchronizer Token pattern

Hi,

I was trying to check out this implementation of Synchronizer Token
pattern  in Struts.
But I am getting an error while trying to run the example code given
in the Java tip for the same.

java.lang.NullPointerException

org.apache.struts.util.RequestUtils.pageURL(RequestUtils.java:1441)

org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java:456)

org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:495)

org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:353)

org.apache.jsp.index_jsp._jspx_meth_html_link_0(org.apache.jsp.index_jsp:95)


org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:67)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)


org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)


org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


Please some one please tell me when this error occur




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org