Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Embedded Catalina JSP problem

Status
Not open for further replies.

stiby

Programmer
Apr 6, 2004
2
GB
Having got catalina to run embedded within my application I have managed to get servlets working mainly my own and the default servlet.

But I can not for the life of me figure out how to get JSP files to work.

Any help would be appreciated.

 
Typical just solved it:
needed to add the JSP servlet

<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>fork</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>xpoweredBy</param-name>
<param-value>false</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top