facebook

[Closed] Upgrade servlet and struts versions.

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

    Bobby
    Member

    Hello:

    I have following question about the Web project that I am currently developing:

    (1) How can I find what servlet specification I am using for the existing project?

    (2) How can I change the servlet specification for the existing project?

    (3) How can I change the Struts version for the current project; When I right click on the project in Package Explorer>Properties>MyEclipse>Struts, it shows I am using Struts 1.1. I need to use Struts 1.2

    Please advise.

    Thanks in advance.

    #260172 Reply

    Riyad Kalla
    Member

    1) You can check your project properties or the .mymetadata file for the j2ee-spec version. Servlet 2.3 spec was J2EE 1.3, Servlet 2.4 spec was J2EE 1.4, and so on.

    2) If you mean the j2ee spec, you can change the value in the file I mentioned above, save, and close/reopen your project. You may also want to change the J2EE Library Set that is in your build path. We ship 1.3 and 1.4 library sets.

    3) We offer no upgrade path between versions because the list of potential breaks for more complex projects is unknown. So instead users need to do this manually. Besides updating the libraries, you can update your .mystrutsdata file to increment the version to I believe version “2” is recognized as 1.2.

    #260258 Reply

    Bobby
    Member

    Thanks,
    Bhavin

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [Closed] Upgrade servlet and struts versions.

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