2011/9/24 R4IDER raider-2...@hotmail.com:
Hi,
Does anyone know how to go about fixing the error below; I have spent a good
12 hours trying to work it out.
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it
from
Just include the libraries in the main JSP not in every included file
If u use Netbeans
Right click on the main JSP and compile it... it will show you the errors
have fun
- Original Message -
From: Gaurav Kushwaha [EMAIL PROTECTED]
To: Tomcat Users List
I am using Idea. Even that has an option to compile the jsps though. I will
try that. What exactly do you mean by including libraries ? Are you
referring to class imports ?
Thanks,
Gaurav Singh Kushwaha
http://www.chakpak.com
On 4/18/07, Johnny Kewl [EMAIL PROTECTED] wrote:
Just include the
Hi Peter,
I probably got the wrong end of the stick, missed the thread etc, but its
seems like you going through a whole lot of pain so I was wondering.
If you have a servlet and a bunch of JSP pages, did you know that the JSP's
will not compile when you Clean and Build in Netbeans.
If
doesn't seem like much to go onwhich example did you use and did you look
in the work folder to see what the compiled servlets were referring to?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 20, 2007 11:21 AM
To: users@tomcat.apache.org
Trying the JSP examples coming with it, I get the following message:
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
Hi Peter,
did you check that the JAVA_HOME enviroment variable is properly setted?
Peter
jasper errors means your (index.)jsp is incorrectly compiled or your
jspcompiler is incorrect or does not have permissions to compile
If you look at $TOMCAT_HOME/conf/catalina.properties you should see these
grants to the jasper compiler package
The error report implies that it's trying to compile a jsp it can't read
(line -1 and jsp file: null). Can you check for a root cause in the
logs relating to the stack trace below? Also check the usual suspects
-- file permissions, security manager, etc.
--David
[EMAIL PROTECTED] wrote:
Hi
I'm not that professional
But what I did and it worked is:
Let's say we have jsp file called myJsp.jsp in ROOT and a java program
myProgram.java
1-Compile myProgram.java in a package named myPackage In WEB-INF/classes.
2-import that package in myJsp.jsp like this %@ page import=myPackage.*%
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Unable to compile class for JSP
Class foo is in the default package.
Beside using the default package, what am I doing wrong?
Since you seem to be aware the using the default package is not allowed,
why haven't you fixed that
Well, umm, actually I wasn't aware that the default package isn't allowed. I
just considered it poor practice to use. Let me go fix that. Thanks.
Caldarale wrote:
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Unable to compile class for JSP
Class foo is in the
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: RE: Unable to compile class for JSP
Well, umm, actually I wasn't aware that the default package
isn't allowed.
Quoting from section 11.2 of the JSP spec:
However, as of JDK 1.4, importing classes from the unnamed package
12 matches
Mail list logo