facebook

How to add struts capabilities to an existing project

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

    jsmyth1969
    Member

    Apologies if its covered elsewhere – I havent seen it…

    I have an existing web project and after installing 2.7 I was able to ‘add struts capabilities’ to it. The rebuild gave the error message that web.xml already contained an action handler (or a message similiar to that) (the project already used struts)

    I had to ‘add struts capabilites’ otherwise the project was not enabled to use the myeclipse struts editor/flow, but I wonder if there is any impact in following this approach..

    btw the flow view is v. cool!! (thats what I downloaded 2.7 for)

    thanks
    jim

    #204836 Reply

    Riyad Kalla
    Member

    Jim,
    Sometimes the ‘Add Struts Cap.’ wizard adds a new entry for the Struts action servlet, even though one is already there in the web.xml. Just open up your WEb.xml file and look down near the bottom, it probably added the entry there, go ahead and remove it and you should be fine.

    #204837 Reply

    jsmyth1969
    Member

    Riyad,

    it didnt add an extra antry. I assume from your post that there is nothing else to be wary of. Thanks as always for your speedy replies.

    rgds
    jim

    #204838 Reply

    Riyad Kalla
    Member

    Jim, I guess I’m not clear on your problem/question… can you restate it?

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: How to add struts capabilities to an existing project

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