Forum Moderators: phranque

Message Too Old, No Replies

Unable to open jsp from Apache

         

charan314

4:29 am on Aug 12, 2009 (gmt 0)

10+ Year Member



In my case, static content is served by Apache 2.0 and Dynamic from weblogic 10.

I'm unable to open jsp pages from the browser. Instead of a web page it is showing me jsp code.

What do I have to add in httpd.conf file.

Thanks,
Charan

jdMorgan

11:59 pm on Aug 12, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You probably need to decalre the proper MIME type using
AddType text/html .jsp
and to make sure that the server is invoking the proper handler (cgi or module) for .jsp pages.
See Apache AddHandler directive.

Jim