aspose file tools*
The moose likes Oracle/OAS and the fly likes Deploying JSP outside oracle home Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Deploying JSP outside oracle home" Watch "Deploying JSP outside oracle home" New topic
Author

Deploying JSP outside oracle home

Pol Appan
Ranch Hand

Joined: Aug 26, 2004
Posts: 144
Hello,

Is it possible to keep JSP files outside the oracle home directory i.e rather than keeping it in inside \j2ee\home\default-web-app, can I keep it outside the application server, Eg: in D:\JSP and in some configuration files I give the location of JSP files.Like we do for Oracle Forms application.

Any help in this regard is highly appreciated.

Thanks

Cosmos


Never take anything for granted because you never know when you will lose it
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30758
    
156

Cosmos,
No. The JSPs need to be in the web project/war structure at deployment time. This is actually a good thing as you wouldn't want someone running arbitrary JSP files on your app server.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1134

Cosmos,
Not sure if this is what you are looking for, but anyway...

You can either edit the configuration files in the "j2ee/home/config" subdirectory of your OC4J installation. In these files you indicate paths to different files. Have a look at "server.xml", "global-web-application.xml" and "application.xml" for starters.

Alternatively, you can write your own versions of the configuration files, and direct OC4J to use them when you launch OC4J. I believe the option is "-server", but check to make sure. Try the following command:

Good Luck,
Avi.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploying JSP outside oracle home