This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
<html:link forward="Home" styleClass="linksorangebold" module="pd">Patient registration</html:link> following error occured
SEVERE: Servlet.service() for servlet jsp threw exception java.lang.NullPointerException at org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:446) at org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:329) at org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:475) at org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:334) at org.apache.jsp.patientregistration_jsp._jspx_meth_html_link_0(org.apache.jsp.patientregistration_jsp:1012) at org.apache.jsp.patientregistration_jsp._jspService(org.apache.jsp.patientregistration_jsp:714)
If you look at the fine print in the documentation, it says that module is only valid if the link refers to an action instead of a forward. I had briefly put up a post suggesting this, but deleted it after I re-read the documentation.
Why all this convoluted business with a forward calling the switch action which in turn calls another action? why not just do this?