facebook

[Closed] Which Struts version is impemented?

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

    Detlef Kriegel
    Participant

    Which Struts version is implemented in MyEclipse 4.1.1 ? Struts 1.2.8 or lower? How can I change it to 1.2.9? It is possible to include the api docs for all System libraries to the MyEclipse Distribution. The library extension (Java Build path xxx.jar / Java Doc Location /) will not work with system libs.

    #250303 Reply

    Riyad Kalla
    Member

    Which Struts version is implemented in MyEclipse 4.1.1 ?

    For Struts 1.1, it’s the 1.1 release.

    For Struts 1.2, it’s the 1.2.4 or 1.2.6 release, I don’t recall exactly. You can actually download your own libraries and update ours by going to Window > Preferences > MyEclipse > Project Capabilities > Struts, then the 1.2 tab, and then remove everything there and add your own.

    It is possible to include the api docs for all System libraries to the MyEclipse Distribution. The library extension (Java Build path xxx.jar / Java Doc Location /) will not work with system libs.

    Sorry about this bug, we want to ship javadoc pre-attached, we were just waiting for a lot of structural changes in MyEclipse 5.0 first, then we need to address the bloat issue… you’ll notice MyEclipse is getting *huge*.

    #250618 Reply

    Goro216
    Member

    I just did what you recommended, removing the myeclipse struts jars and tlds and replacing them with the downloaded 1.2.9 jars and tlds. It’s great except for one thing (for now): in struts-config.xml, I have an Action with the cancellable attribute. Eclipse/myeclipse does not recognize this as valid. Is there an easy fix for this?

    thx
    -goro-

    #250620 Reply

    Riyad Kalla
    Member

    That’s because that was added in version 1.3 of the struts-config DTD, you will have to change your DOCTYPE definition from this:

    
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd">
    

    to this:

    
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN" "http://struts.apache.org/dtds/struts-config_1_3.dtd">
    

    Then close and reopen the file.

    #250720 Reply

    Goro216
    Member

    Excellent. thank you.

    #250751 Reply

    Riyad Kalla
    Member

    No problem.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: [Closed] Which Struts version is impemented?

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