*
The moose likes Struts and the fly likes Problem in DynaForm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem in DynaForm " Watch "Problem in DynaForm " New topic
Author

Problem in DynaForm

syruss kumar
Ranch Hand

Joined: Jul 23, 2009
Posts: 93
Hi ,

I have created a Simple application for DynaForm. Here is my code



if i run this i getting this error

javax.servlet.ServletException: javax.servlet.jsp.JspException: Exception creating bean of class org.apache.struts.action.DynaActionForm: {1}
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:852)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
org.apache.jsp.pages.DynaFormDemo_jsp._jspService(DynaFormDemo_jsp.java:94)
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)

can any one explain how to resolve this ?
thanks in advance


All search starts with beginner's luck and all search ends with victor's severly tested.
syruss kumar
Ranch Hand

Joined: Jul 23, 2009
Posts: 93
I have resolved that .I did a blunder mistake in stuts-config.xml

i have given java.lang.strings instead of java.lang.String

satishbsk kumar
Greenhorn

Joined: Jul 24, 2009
Posts: 15
i am not sure.. do we need to add entry in validation.xml file for this dyna form..
Regards,
Satish
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in DynaForm