HI, I have Deluxe Linux shared hosting account on GODADDY. I have uploaded basic index.html,test.jsp in provided folder. I also configred jsp handle in my web.xml and waited for 1:00am(sceduled server restart for godaddy) but my jsp page is not compiling and showing me all my jsp code in page loaded in browser. What can be the issue? Do i have to create .jsp file extension?But File extensions allowed that run under python,php,RUBY. Where can i put .jsp under?
Also can i set context parameters in my web.xml in shared hosting?
Code to configure jsp handle as provided in godaddy help.
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jspx</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
jsp code
check for jsp
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
background-color: #000000;
}
.style1 {color: #0099FF}
-->
</style></head>
<body>
<p> </p>
<p> </p>
<p align="center" class="style1">Different JSP File </p>
<p align="center" class="style1">Check Complete</p>
<p><a href="index.jsp" class="style6 style8">check for jsp</a></p>
</body>
</html>