facebook

Change the Action Pattern from /do/* to *.do [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    Folks,

    I have a Web project with the struts capabilities installed. I originally set the action pattern to “/do/*”. I want to change it to “*.do”. How do I change it? I looked in the project’s struts properties and this value is not changeable from there. I am using myEclipse 3.8.4.

    Thanks,
    Keith

    #236612

    Scott Anderson
    Participant

    Keith,

    You should be able to change it directly in the web.xml file.

    #236619

    Hi Scott,

    I have done that. When I click on the project and select Properties and look at the “MyEclipse-Struts” properties, the “Action Pattern” still says “/do/*”. And if I look at the designer view of the struts-config.xml file, it shows me /do/* in some of the descriptions. I have converted all “/do/*” to “*.do” in my files too.

    I can’t find /do/* in any of the eclipse or myeclipse project files so I can’t figure out where it is remembering this state.

    Thanks for your help.

    Keith

    #236629

    Riyad Kalla
    Member

    Keith,
    You need to switch to your Navigator view and open the .mystrutsdata file and change the <strutsPattern> value from 1 to a 0 and save it.

    #236707

    Thanks. That worked. 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Change the Action Pattern from /do/* to *.do [Closed]

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