File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes JSP:its bugging me:confused: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP:its bugging me:confused: " Watch "JSP:its bugging me:confused: " New topic
Author

JSP:its bugging me:confused:

phanidharcool kaduluri
Greenhorn

Joined: Jul 16, 2003
Posts: 13
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

Joined: Jul 03, 2003
Posts: 65
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

Joined: Dec 19, 2002
Posts: 374
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.
phanidharcool kaduluri
Greenhorn

Joined: Jul 16, 2003
Posts: 13
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP:its bugging me:confused: