| Author |
org.apache.jasper.JasperException: Unable to compile class for JSP
|
Somnath Mallick
Ranch Hand
Joined: Mar 04, 2009
Posts: 471
|
|
Hi Everyone,
I have written a JSP/Servlet code in Eclipse and using JBoss to run it. But when i run the project on the server i get the following error. I have done some Google but haven't found anything of use:
Could you please tell me what could be wrong. I have learnt that there must be something wrong with my JSP files. But I couldn't find out what's wrong! Please help.
|
 |
chandra kambham
Ranch Hand
Joined: Jun 09, 2008
Posts: 74
|
|
Hi,
Can you give us the JSP code so that we can check for the error.?
|
 |
Somnath Mallick
Ranch Hand
Joined: Mar 04, 2009
Posts: 471
|
|
I have two jsp's in the the project
Login.jsp
HomePage.jsp
Its just a rough draft. But the thing is the Servlet-JSP code isn't working.
|
 |
chandra kambham
Ranch Hand
Joined: Jun 09, 2008
Posts: 74
|
|
I have tested these 2 jsp's on tomcat and they are working with out any error.
|
 |
Somnath Mallick
Ranch Hand
Joined: Mar 04, 2009
Posts: 471
|
|
|
Wow! That's wierd!!! Could it it be because of the servlet code?
|
 |
chandra kambham
Ranch Hand
Joined: Jun 09, 2008
Posts: 74
|
|
|
you can also verify the generated .java files for this JSP so that you can find what;s the line that is causing this error.
|
 |
Somnath Mallick
Ranch Hand
Joined: Mar 04, 2009
Posts: 471
|
|
|
Could you please tell me how to do that?
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8209
|
|
|
See this http://www.coderanch.com/t/458427/JBoss/JSP-Exception-only-JBoss-not
|
[My Blog] [JavaRanch Journal]
|
 |
 |
|
|
subject: org.apache.jasper.JasperException: Unable to compile class for JSP
|
|
|