Enable a folder in oracle 10g application server for jsp rendering - Hendrik Swanepoel

Hendrik Swanepoel

Enable a folder in oracle 10g application server for jsp rendering

If you ever want to develop jsp files which will be called direclty in your Oracle HTTP server (apache), meaning it will not be called as a portlet,  this is the easy way to configure it:

Create a folder in the \portal directory, the folder name for our example will be custom.

Edit httpd.conf file in the \apache\apache\conf folder and ensure that the following entry is there (normally you can just uncomment it):

include \apache\jserv\conf\jserv.conf

This ensures that the JServ config file is included when the apache http server is started up. Jserv is used to enable apache to parse jsp files and java servlets.

We will also need to configure apache to be aware and load your application's directory, which we created as \portal\custom. We'll achieve this by adding the follwing to the same conf file:

Alias /custom/ “\portal\custom/”

\portal\custom/”>
        Order Allow, Deny
        Allow from All

What I normally do after changing anything is restart the apache instance:

\apache\apache\apache -k restart

Posted: Nov 01 2004, 08:29 AM by hendrik | with no comments
Filed under:
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: