File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Struts Sample Login Program

Divya Mohan

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 path="/Login" type="example.Login" name="Login" >
<forward name="success" path="/jsp/loginsuccess.jsp"/>
<forward name="failure" path="/index.jsp"/>

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

Joined: Feb 19, 2008
Posts: 2904

This Struts FAQ entry will help..

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

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

Joined: Jun 06, 2007
Posts: 2783

"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

|Asking Good Questions|
I agree. Here's the link:
subject: Struts Sample Login Program