• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Null pointer exception at _jspx_th_html_form_0.doStartTag()

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am pretty new to Struts. I am using WSAD and RAD as IDE. While running the application locally, I got null pointer exception in JSP.

I traced to the servlet generated code where it gives Null pointer exception and it points to the below line marked in RED color.

_jspx_th_html_form_0.setAction("applaccess.do?function=getAll");
int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
and the corresponding JSP code maps to the below lines.

<html:form action="applaccess.do?function=getAll">
<html:hidden property="reqParam"/>
<html:submit styleClass="buttonText" style="background-color: #6b78a9; color: white;font-weight: bold; font-size:11;font-family: Verdana;">Show All</html:submit>
</html:form>


The same code is working good in QA environment.

I am not sure, whether am i missing any libraries.

Any help appreciated!

Regards,
Siva
reply
    Bookmark Topic Watch Topic
  • New Topic