Meaningless Drivel is fun!
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
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Deploying JSP outside oracle home" Watch "Deploying JSP outside oracle home" New topic

Deploying JSP outside oracle home

Pol Appan
Ranch Hand

Joined: Aug 26, 2004
Posts: 144

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.



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

Joined: May 26, 2003
Posts: 33124

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.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1141

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,
I agree. Here's the link:
subject: Deploying JSP outside oracle home
It's not a secret anymore!