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.
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...
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.
"Write beautiful code; then profile that beautiful code and make little bits of it uglier but faster." --The JavaPerformanceTuning.com team, Newsletter 039.
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
Hoo hoo hoo! Looks like we got a live one! Here, wave this tiny ad at it:
a bit of art, as a gift, the permaculture playing cards