Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Tomcat and the fly likes  jsp sourcecode being shown in browser. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark " jsp sourcecode being shown in browser." Watch " jsp sourcecode being shown in browser." New topic
Author

jsp sourcecode being shown in browser.

Dave Bosky
Ranch Hand

Joined: Dec 16, 2003
Posts: 72
I'm running Tomcat 5 and IIS 5 on WK2.
I can't seem to get Tomcat to process the jsp's, all the source code just
gets dumped to the screen. I've installed the isapi_redirector2.dll and it appears to being running correctly (IIS admin shows a green arrow pointing up). I've followed all the installation steps to the number but still no deal....
Any suggestions....
Thanks,
Dave
Ravikumar Chellaboina
Greenhorn

Joined: May 14, 2004
Posts: 9
Check the Port numbers. You can first check whether tomcat is working independently of IIS. You can find the port number from server.xml file.

Open in the browser http:\\yourhostname:<port number in Server.xml>

Once you are sure Tomcat is working you can integrate with IIS.


Just in case

http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html

Good Luck..


Ravi <img src="smile.gif" border="0"> <br />---------<br />Go Get it..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: jsp sourcecode being shown in browser.
 
Similar Threads
IIS Integrated Authentication + Tomcat Form-based (or basic) Authentication
please dont overlook this question. Will tomcat work in xp home edition?
Running jsp pages in IIS web directory
Run Servlets on IIS
Binding tomcat to non-localhost address