Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP:its bugging me:confused:

 
phanidharcool kaduluri
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello guys .My problem is with JSP.I have done jsp previously on iis webserver and i recently shifted to Tomcat server.My problem when ever i try to access a jsp page an error :
"can not compile class for jsp"
(also some kind of org.apache.exceptions occring)
plz tell me how to fix this.
 
kalpana Kumar
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess you can't run jsp's through apache unless the tomcat container is also running.
else u get the
org.apache.jasper.JasperException: Unable to compile class for JSP
I wonder if this'll help u out...
 
David Hibbs
Ranch Hand
Posts: 374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's your first problem...
IIS == ASP
Tomcat == JSP
The two are completely different. Hence, if you're trying to do scripting like you did on IIS, it likely will not compile on Tomcat.
Your second problem is that your question doesn't tell us what exactly isn't compiling. So beyond the above, we cannot help you.
 
phanidharcool kaduluri
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by kalpana Kumar:
I guess you can't run jsp's through apache unless the tomcat container is also running.
else u get the
org.apache.jasper.JasperException: Unable to compile class for JSP
I wonder if this'll help u out...

HI thanks for ur responsebut the tomcat container was active when i tried to run jsp.(i.e in one browser window i opened the page http://localhost:8080/manager/html and in another browser instance tried to run the jsp.)
Another thing servlets are perfectly running in my computer with tomcat webserver.
Hope u better understand my problem now.
If u have any solution plz send to me.
Thanks again
-phani
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic