constantine
10-16-2005, 05:47 AM
My server install tomcat on server .
I don't know about JSP language .
How Can I test that tomcat is working fine or no ?
Please send me a simple jsp script that I can run it on server .
almahdi
10-16-2005, 06:31 AM
create a file and name it anything dot jsp like
test.jsp
and type
<%
out.print("<html><body>Test Text from JSP</body></html>");
%>
and try to access the page, find out if the output is correct or not. It should display a page with only the text
Test Text from JSP
constantine
10-16-2005, 07:10 AM
Thanks
it show source code in brwoser !
but I see tomcat is up on server status in cpanel
Oshaka
10-16-2005, 10:57 AM
Then check your apache configuration, and i belive on apache2 theirs mod_jk2 ? to represent java, make sure that is enabled. If not it probably resides in httpd for apache1.