• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying JSP outside oracle home

 
Pol Appan
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34860
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Avi Abrami
Ranch Hand
Posts: 1141
1
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic