File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts Sample Login Program

 
Divya Mohan
Greenhorn
Posts: 1
  • 0
  • 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: 2904
1
Java Spring Ubuntu
 
kranthi
Greenhorn
Posts: 10
  • 0
  • 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: 2851
10
Fedora Firefox Browser Java
  • 0
  • 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