• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in DynaForm

 
syruss kumar
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
syruss kumar
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am not sure.. do we need to add entry in validation.xml file for this dyna form..
Regards,
Satish
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic