facebook

How to implement Struts 1.3 with 5.1.0 GA

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

    marklopez
    Member

    Hello all,

    Newbie to struts and MyEclipse! I’ve seen in some of the posts that 1.3 can be integrated into the workbench. But there doesn’t seem to be instructions on how that can be done. Is this as simple as just copying the 1.3 jars into the appropriate directory structure? Are is the process a little more complex?

    It would be cool to use the wizards to accomplis this.

    Thanks,

    Mark

    #266110

    Greg
    Member

    Hey Mark,

    Here is how you could accomplish that:

    1. Go to Window > Preferences > MyEclipse > Project Capabilities > Struts > Struts 1.2
    2. Remove all jars and tlds
    3. Download and unzip struts-1.3.5-all.zip distribution (full distro contains TLD files)
    4. Under the required libraries do “Add Jar/Zip”, navigate to your struts-1.3.5/lib directory, select all jars, choose open
    5. Now for the TLDs… you will need to add each tld that is available in the struts-1.3.5/src/*/src/main/resources/META-INF/tld/* directories

    Once you have added all the updated jars and tlds choose OK. Now all of your struts projects that are configured with Struts 1.2, will now be struts 1.3.5 projects. Hope this helps.

    #266340

    marklopez
    Member

    Hi Greg,

    I’ve tried this solution and I’ve found that although the package explorer displays all the jars and tld’s the files don’t get copied to the appropriate directories. I’ve had to hand copy the files. Are there steps that I could be missing?

    Thanks,

    Mark

    #266341

    marklopez
    Member

    Hi Greg,

    I’ve tried this solution and I’ve found that although the package explorer displays all the jars and tld’s the files don’t get copied to the appropriate directories. I’ve had to hand copy the files. Are there steps that I could be missing?

    Thanks,

    Mark

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: How to implement Struts 1.3 with 5.1.0 GA

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