• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deploying JSP outside oracle home

 
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1143
1
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic