Results 1 to 2 of 2

Thread: struct problem

  1. #1
    amitabh is offline Member
    Join Date
    Apr 2010
    Rep Power

    Default struct problem

    hello every one

    i am using struct now a i am facing a problem recently in struts.

    it shows can not create form bean while it was working fine earlier. this is the problem which comes in struts .how we will develop a webapplication with no problem in eclipse with struts.if there is any instruction with struts then please tell me

    thank you

  2. #2
    arjun_duddu is offline Member
    Join Date
    Apr 2010
    Rep Power


    for every form u create u need a StrutActionForm and StrutAction

    for example:
    u want to create a Register Form for a user,then
    1. create a form in jsp using Tiles and <html:form> </html:form> type of html(Register.jsp) u create a StrutActionFormBean(bean) were u provide setter and getter methods and validate if u need

    3.then u create an StrutAction were u set input source from (Register.jsp) and provide action name for the StrutAction and provide the same action in (Register.jsp) which takes the parameters from that jsp page

    and your problem is solved!!!!

    u wont get an error!!! for ActionFormBean

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts