facebook

FormBean named "******" already exists

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #263067 Reply

    bsumn
    Member

    I’m playing around with the tutorial on creating a new (Form, Action, JSP). After deleting the files through the designer and trying to create them again I got a message that the form bean already existed. If the GUI adds the entry into the struts-config.xml it would seem that it should remove it if you remove the file, clean, rebuild, etc.?

    #263125 Reply

    Riyad Kalla
    Member

    The reason this is happening is that the forms don’t have a graphical representation in the diagram, just actions and JSPs. So when you erase an action, it is correctly removed from the config file, but both forms and JSPs can be reused in any number of actions, so they are not erased because they could be in use in another portion of the application.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: FormBean named "******" already exists

You must be logged in to post in the forum log in