This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts Sample Login Program

 
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
 
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: 2854
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
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic