If the .jsp page is showing coding instead of real webpage then you need to check the server settings such as

root@server[~]#vi /etc/httpd/conf/httpd.conf

1.Search domain name and Uncomment the following line.

Include "/usr/local/apache/conf/userdata/std/1/username/domainname/*.conf"

save and exit

root@server[~]# cd /usr/local/apache/conf/userdata/std/1/
root@server[~]# mkdir username
root@server[~]# cd username 
root@server[~]# mkdir domainname
root@server[~]# cd domainname
root@server[~]# vi cp_jkmount.conf

2.Enter the following code into the file cp_jkmount.conf.

<IfModule mod_jk.c> 
 JkMount /*.jsp ajp13 
 JkMount /servlet/* ajp13
 JkMount /servlets/* ajp13 
 JkMount /*.do ajp13 

3.Then check the entry into the tomcat configuration file.

root@server[~]# vi /usr/local/jakarta/tomcat/conf/server.xml

4.Open above file and add the following code at the end of the file.

<Host name="domainname" appBase="/home/username/public_html"> 
  <Context path="" reloadable="true" docBase="/home/username/public_html" debug="1"/>
  <Context path="/manager" debug="0" privileged="true" docBase="/usr/local/jakarta/tomcat/server/webapps/manager"> 

Save and exit

5.Then restart the tomcat 

root@server[~]# /usr/local/jakarta/tomcat/bin/./shutdown.sh
root@server[~]# /usr/local/jakarta/tomcat/bin/./startup.sh
root@server[~]# /scripts/restartsrv tomcat

6.Then restart the httpd service

root@server[~]# /etc/init.d/httpd stop
root@server[~]# /etc/init.d/httpd startssl