File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Frameworks
»
Struts
Author
javax.servlet.jsp.JspException: Cannot retrieve definition for form bean null
Meet Gaurav
Ranch Hand
Joined: Oct 08, 2008
Posts: 492
posted
Jun 07, 2010 05:04:04
0
Hi,
I have a small
struts
application and it works fine. But today morning when I start the
tomcat
and while accessing the below url
http://localhost:8080/TEST/LoginPage.do
Am getting
javax.servlet.jsp.JspException: Cannot retrieve definition for form bean null org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:831) org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506) org.apache.jsp.Login.login_jsp._jspx_meth_html_005fform_005f0(login_jsp.java:178) org.apache.jsp.Login.login_jsp._jspx_meth_html_005fhtml_005f0(login_jsp.java:132) org.apache.jsp.Login.login_jsp._jspService(login_jsp.java:86) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069) org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274) org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455) org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:320) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) com.qSys.processor.action.ApplicationController.doPost(ApplicationController.java:67) com.qSys.processor.action.ApplicationController.doGet(ApplicationController.java:36) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
This is from Stuts-config.xml
<action path="/LoginPage" parameter="/Login/login.jsp" type="org.apache.struts.actions.ForwardAction" />
Please assist me
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
I like...
posted
Jun 07, 2010 06:29:40
0
Is there a form on the page? One that would require a form bean?
Meet Gaurav
Ranch Hand
Joined: Oct 08, 2008
Posts: 492
posted
Jun 07, 2010 06:31:08
0
yes form is there
<html:form action="ExpressCheckout.do">
But am not using any form fields on the page
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
I like...
posted
Jun 07, 2010 07:01:11
0
Doesn't matter, if I remember correctly.
If you're not using any form fields, why are you bothering to use a form tag?
I agree. Here's the link:
http://zeroturnaround.com/jrebel/download
subject: javax.servlet.jsp.JspException: Cannot retrieve definition for form bean null
Similar Threads
tomcat cannot display jsp struts
struts action form not working
error message.
Formbean exception
ForwardAction error
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter