Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts Sample Login Program  RSS feed

 
Divya Mohan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am getting the following error in my Struts program "org.apache.jasper.JasperException: Module 'null' not found."

i have defined the form- bean as following:

<form-bean name="Name" type="example.NameForm"></form-bean>
<form-bean name="Login" type="example.Login"></form-bean>

and my Action Mapping is as following:
<action path="/Name" type="example.NameAction" name="Name" input="/index.jsp">
<forward name="success" path="/jsp/displayname.jsp"/>
<forward name="failure" path="/index.jsp"/>
</action>

<action path="/Login" type="example.Login" name="Login" >
<forward name="success" path="/jsp/loginsuccess.jsp"/>
<forward name="failure" path="/index.jsp"/>
</action>

and i ve set the <load-on-startup>2</load-on-startup>
in the servlet declaration in web.xml.

can any one guide me to solve this issue
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This Struts FAQ entry will help..
 
kranthi
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Divya, make sure that your web.xml file contains taglib directories path or not.
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"LathaSri" please check your private messages for an important administrative matter. You can see them by clicking the My Private Messages link above.

And welcome to Javaranch
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!