This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes ServletException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "ServletException " Watch "ServletException " New topic


amit bhadre
Ranch Hand

Joined: Jan 23, 2006
Posts: 124
I got the error saying that

Internal server error()

ServletException:The retrieval for the bean is null

what is the cause for this? What is the solution for the above type of Exception in Struts1.1?

What I did is I created one action class.Next I created LoginForm with bean password and name.Then Login.jsp page is been created.But When I deployed the page ...Its giving the error saying above error.

thanks in advance

amit bhadre

Thanks advance who ever answers this question.

amit bhadre
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Please provide the exact text of the error message you're getting along with the first few lines of the stack trace. It would also help if you show us the code in your action class, form bean, and JSP, as well as the portion of your struts-config.xml file that defines these elements.
[ March 06, 2007: Message edited by: Merrill Higginson ]

Consultant, Sima Solutions
Consider Paul's rocket mass heater.
subject: ServletException
Similar Threads
<jsp:useBean ... type="package.class"> is not finding the bean class
Struts project
Simple yet frustrating - Need exceptions
Mock Exam question
Phase Listener for a Specific Managed Bean