Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP code displays in the browser

 
Veni Velkoor
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic