This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "ServletException " Watch "ServletException " New topic
Author

ServletException

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

regards
amit bhadre


Thanks advance who ever answers this question.


regards
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 ]

Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ServletException
 
Similar Threads
Struts project
<jsp:useBean ... type="package.class"> is not finding the bean class
Simple yet frustrating - Need exceptions
Mock Exam question
Phase Listener for a Specific Managed Bean