aspose file tools*
The moose likes Websphere and the fly likes JSP code displays in the browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "JSP code displays in the browser" Watch "JSP code displays in the browser" New topic
Author

JSP code displays in the browser

Veni Velkoor
Ranch Hand

Joined: Oct 17, 2001
Posts: 65
Hi,

I am using WAS Ex 5.1 with Apache2. I have a WAR file that is installed on the DefaultNode or server1 on WASEX5.1. My issue is when I try to run the index.jsp page using http://servername OR http://servername/index.jsp ; the JSP source code displays on the server rather than the page. I am fairly certian this is not a code issue as the same index.jsp has worked on WAS4.0 platform. I think it is more to do with Apache redirecting requests to WAS....but I am not sure what the issue is or how to resolve it......any suggestions will be greatly appreciated.


WEIRD thing is the same thing happened with a past installation and a got resolved after a few restarts etc..... not sure what I did to resolve it( I don't think I made any config chnages). ....now I am stumped...

TIA,
Veni
mucus membrain
Greenhorn

Joined: Mar 03, 2009
Posts: 3
Veni Velkoor wrote:Hi,

I am using WAS Ex 5.1 with Apache2. I have a WAR file that is installed on the DefaultNode or server1 on WASEX5.1. My issue is when I try to run the index.jsp page using http://servername OR http://servername/index.jsp ; the JSP source code displays on the server rather than the page. I am fairly certian this is not a code issue as the same index.jsp has worked on WAS4.0 platform. I think it is more to do with Apache redirecting requests to WAS....but I am not sure what the issue is or how to resolve it......any suggestions will be greatly appreciated.


WEIRD thing is the same thing happened with a past installation and a got resolved after a few restarts etc..... not sure what I did to resolve it( I don't think I made any config chnages). ....now I am stumped...

TIA,
Veni


Hi , did you ever get to the bottom of this. I have exactly the same issue . I am using apache and Tomcat 6 under xampp deployment. I am pretty sure my problem is to do with the application deployment . as the example apps are fine.

M
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18903
    
    8

"mucus", please check your private messages regarding an important administrative matter.

Thank you.

Also, please note that the post you responded to is now over four years old. I think it's unlikely that the original poster (who hasn't posted in nearly two years) is going to provide any useful information.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSP code displays in the browser