File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: ServletException
It's not a secret anymore!