facebook

[Struts] ActionServlet Template

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #200715 Reply

    Ralf.Rapude
    Member

    Hi Support,
    I’ve just installed the 2.7. If I remember correctly former versions have suggested to use an ActionClass template in order to create a Struts ActionClass, but when I choose “Servlet->new” in 2.7 only the default template is shown. I’ve also tried to change the template path in preferences but I couldn’t get is to work. Isn’t there an ActionClass template in this version?

    TIA
    Ralf

    #200734

    support-michael
    Keymaster

    Hi Ralf,

    I was looking at the new product (excuse of being late on docs) and the location for creating an action is from the outline view of the Struts config editor. Open your struts-config.xml or module using the new StrutsConfig Editor. If the outline view is not present open it from the Window menu>Show View>Outline. From the Outline View’s actionbar launch the New Action wizard.

    The reason these wizards are not on the “New” toolbar is because the wizard creates but the Action class and updates the struct-config.xml file simultaneously. So for this release we need the wizard to have the module context to do this.

    Michael
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: [Struts] ActionServlet Template

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