my dog learned polymorphism*
The moose likes Struts and the fly likes Struts Sample Login Program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Sample Login Program " Watch "Struts Sample Login Program " New topic
Author

Struts Sample Login Program

Divya Mohan
Greenhorn

Joined: Dec 16, 2008
Posts: 1
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


Divya
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

This Struts FAQ entry will help..


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
kranthi
Greenhorn

Joined: Dec 17, 2008
Posts: 10
Hi Divya, make sure that your web.xml file contains taglib directories path or not.


Regards<br />kranthi
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

"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


SCJP, SCWCD.
|Asking Good Questions|
 
 
subject: Struts Sample Login Program