• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSP:its bugging me:confused:

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Ranch Hand
Posts: 374
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic