Results 1 to 4 of 4

Thread: How to upgrade one of struts in JDEV 10.1.3

  1. #1
    Join Date
    Mar 2009
    Posts
    1,360

    How to upgrade one of struts in JDEV 10.1.3

    The problem is as follows:

    I am developing a Struts J2EE application with JDeveloper 10.1.3.2 (no choice of the ide). This version of Struts 1.1 JDEV loads, therefore the application is developed with this version of struts. Now there is in this version an XSS.

    As stated in the previous link, this flaw is corrected from 1.2.8 to the struts. Unable to pass JDEV 11g and Struts 2, which requires a large migration of the application, I'd like to "install" the latest version of struts 1 (the 1.3.10) in my JDEV, and then I block a bit much ...

    I could just turn the jar struts 1.1 of my lib and replace them with those of 1.3.10. But they pretty much changed. For example, there is the good old struts.jar. He has apparently been reorganized into sub-jar (struts-core, struts-el, etc.).

    In addition, the struts 1.1 on the "integrated" to FDI (and the server application that comes with it), I think it may be more related than that for various projects JDEV and the elements deployment. The library "Struts Runtime" is pre-configured, there is more to add to projects. Besides you can not edit this library.

    The concern is that I can not find a tutorial or an example (even in oracle) that explains the procedure to follow to be sure not to forget that the path and classpath and source-path lack nothing . There must be something over there because the upgrade to a version of struts is not something so exceptional that it ...

    So if anyone has any info over there, or was confronted with the problem and knows a workaround to upgrade the IDE, it would helpful to me. How to upgrade one of struts in JDEV 10.1.3?

  2. #2
    Join Date
    Feb 2008
    Posts
    1,852

    Re: How to upgrade one of struts in JDEV 10.1.3

    JDEV but you can not put the lib you want?

    Then you try to use plugins (wizards) to configure Struts directly, right?

    If you spend 1.1 to 1.3, the conf is not the same, so you can no longer use. Integrates Struts 1.3 to your project like any other lib, and presto!

    No?

  3. #3
    Join Date
    Mar 2009
    Posts
    1,360

    Re: How to upgrade one of struts in JDEV 10.1.3

    Ultimately that's what it will do.

    The trick is that JDEV manages dependence's in Library that which is given classpath and sourcepath (paths to different jar) and they are following added to the project. And this set the lib-related projects.

    Now the Library of Struts, which is called "Struts Runtime" is not changed since pre-existing in this version JDEV. That is why in the oracle tutorial given in my previous post they propose to replace the jars directly into the folder where the point Library "Struts Runtime".

    Except in the 1.3.10 jars names have changed (see my first post). And since the Library tip jar directly and not just the folder where they are, well it works in.

    Another solution is to fart the Library can not be changed (you can remove it) and create another, which amounts to the remark of MindSpace.

    But I think I'll lose every dev pattern, too bad.

  4. #4
    Join Date
    May 2008
    Posts
    2,389

    Re: How to upgrade one of struts in JDEV 10.1.3

    To install Struts 1.2.1 in JDeveloper 10g:

    • Close JDeveloper if it is running.
    • In the file system, rename the %JDEVELOPER_HOME%/jakarta-struts directory to %JDEVELOPER_HOME%/jakarta-struts_1_1. This will enable you to simply switch back to the production version of Struts when ever you need to.
    • Download the jakarta-struts-1.2.1.zip / tar and unpack it into the %JDEVELOPER_HOME% directory, preserving the internal directory structure in the process. This should create a new directory %JDEVELOPER_HOME%/jakarta-struts-1.2.1, containing contrib, lib and webapps sub directories.
    • Rename (or copy) this directory to %JDEVELOPER_HOME%/jakarta-struts.
    • Restart JDeveloper.


    Source: oracle

Similar Threads

  1. Struts 1 VS Struts 2
    By PsychoVillan in forum Software Development
    Replies: 6
    Last Post: 29-03-2011, 12:23 AM
  2. Beginning with the Struts 2
    By Ronchi in forum Software Development
    Replies: 4
    Last Post: 19-03-2011, 06:32 AM
  3. JSF versus Struts
    By Daksha in forum Software Development
    Replies: 3
    Last Post: 21-07-2010, 06:20 AM
  4. Struts Forward Action with example
    By Visala28 in forum Software Development
    Replies: 2
    Last Post: 10-08-2009, 05:14 PM
  5. Calling Struts using Javascript
    By Novino in forum Software Development
    Replies: 2
    Last Post: 25-10-2008, 02:42 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,750,307,036.94482 seconds with 16 queries