Hi All,
Whenever I tried to use Non working Code instead of working code in
struts-config.xml to take care of duplicate submit. I got the exception as
shown. I don't understand what wrong I am doing? I am using struts1.1.
Non working Code:
<action path="/AS"
type"com.bang.advertisersponsor.AdvertiserSponsorAction"
parameter="loadASForm"/>
<forward name="success" path="/adv.jsp"/>
</action>
Working code:
<action path="/AS" forward="/adv.jsp"/>
Exception:
type Exception report
message
description The server encountered an internal error () that prevented it from
fulfilling this request.
exception
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
root cause
java.lang.NullPointerException
org.apache.struts.taglib.html.JavascriptValidatorTag.doStartTag(JavascriptValidatorTag.java:309)
org.apache.jsp.index_jsp._jspx_meth_html_javascript_0(index_jsp.java:350)
org.apache.jsp.index_jsp._jspService(index_jsp.java:161)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
--
Jignesh Patel
Project Leader
____________________________________________________________
Bang Software Technolgy Pvt. Ltd.
(E) [EMAIL PROTECTED]
(T) 091 484 3942132
B-4, Smart Business Centre,
Infopark, SDF IT Building,
Kusumagiri P.O.,Kakkanad,
Kochi - 682030,
Kerala,
India.
Information contained in this transmission to the named addressee, including
any attachments thereto, should be
considered the proprietary and confidential information of the sender. As a
condition for viewing the information,
the sender agrees to keep the information confidential, to refrain from
disclosing the information, directly or
indirectly, and to refrain from any actions that would constitute or
facilitate unauthorized access to the
information without express permission from the sender. The recipient also
acknowledges and agrees to respect
sender's intellectual property rights in and to the information. If the
recipient of this transmission is not
the named addressee, the recipient should immediately notify the sender and
destroy the information transmitted
without making any copy or distribution thereof.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]