Re: JSP won't compile

2004-09-01 Thread Chuck Chopp
Additional information: I found some additional information in a server log. It looks like the Java class that is being generated for login.jsp is not getting declared properly, or else the source file login_jsp.java is not being found even though it exists. Here's the snippets of what I

RE: JSP won't compile

2004-09-01 Thread Shapira, Yoav
To: [EMAIL PROTECTED] Subject: Re: JSP won't compile Additional information: I found some additional information in a server log. It looks like the Java class that is being generated for login.jsp is not getting declared properly, or else the source file login_jsp.java is not being found even

Re: JSP won't compile

2004-09-01 Thread Chuck Chopp
Shapira, Yoav wrote: This is why you should put your class in a package: http://jakarta.apache.org/tomcat/faq/classnotfound.html. All of my form and action classes derive from abstract base classes based on ActionForm and Action. All of my application specific classes are packaged. I've

RE: JSP won't compile

2004-09-01 Thread Shapira, Yoav
, September 01, 2004 12:31 PM To: [EMAIL PROTECTED] Subject: Re: JSP won't compile Shapira, Yoav wrote: This is why you should put your class in a package: http://jakarta.apache.org/tomcat/faq/classnotfound.html. All of my form and action classes derive from abstract base classes based

Re: JSP won't compile

2004-09-01 Thread gerardo
Can the Java code of your JSP be compiled as a regular java file? I have tried this with success when it's possible. I mean: take the java code to a file and try to compile it with javac. Compiler level ncompatibilities sometimes come up. If it compiles ok, then Tomcat is not finding the source

Re: JSP won't compile

2004-09-01 Thread Wendy Smoak
From: Chuck Chopp [EMAIL PROTECTED] I'm still at a loss to explain why this happens on just this one Tomcat implementation. I'd be more inclined to blame the JVM than Tomcat. Can you diff the generated index_jsp.java files and see if there are any differences? What about trying to compile the

RE: JSP won't compile

2004-09-01 Thread Larry Isaacs
the cause, then you may not see what you need. HTH. Cheers, Larry -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Chuck Chopp Sent: Wednesday, September 01, 2004 12:31 PM To: [EMAIL PROTECTED] Subject: Re: JSP won't compile Shapira, Yoav wrote: This is why you

Re: JSP won't compile

2004-09-01 Thread Chuck Chopp
Wendy Smoak wrote: From: Chuck Chopp [EMAIL PROTECTED] I'm still at a loss to explain why this happens on just this one Tomcat implementation. I'd be more inclined to blame the JVM than Tomcat. I'm wondering if I can back-rev the JVM to v1.3.1 on OpenVMS and still deploy a webapp that was built

Re: JSP won't compile

2004-09-01 Thread Chuck Chopp
Shapira, Yoav wrote: Hi, Never mind then, it doesn't seem to be an issue of putting your class in a package ;) As to why it doesn't work on OpenVMS -- beats me ;) When I figure it out I'll post back here with more information about it. -- Chuck Chopp ChuckChopp (at) rtfmcsi (dot) com

Re: JSP won't compile

2004-09-01 Thread Chuck Chopp
Chuck Chopp wrote: Wendy Smoak wrote: Can you diff the generated index_jsp.java files and see if there are any differences? I'm in the process of doing that right now. The quick cursory overview didn't show any unpackaged classes, etc..., in the generated Java code for the JSP that won't

Re: JSP won't compile

2004-09-01 Thread Wendy Smoak
From: Chuck Chopp [EMAIL PROTECTED] That's what I was hoping to do. I agree, it is all Java so it should be possible to at least drop in the Tomcat v4.1.30 JAR and CLASS files. I wouldn't do it that way... I'd drop in a full new Tomcat install and set about retrofitting it to start and stop in

Re: JSP won't compile

2004-09-01 Thread Chuck Chopp
Wendy Smoak wrote: From: Chuck Chopp [EMAIL PROTECTED] That's what I was hoping to do. I agree, it is all Java so it should be possible to at least drop in the Tomcat v4.1.30 JAR and CLASS files. I wouldn't do it that way... I'd drop in a full new Tomcat install and set about retrofitting it to

Re: JSP won't compile

2004-09-01 Thread Chuck Chopp
OK, things just go weirder. My struts-based webapp uses a welcome page named index.jsp, which is located in the webapp's root folder. My other JSP files are all located in the subfolder WEB-INF/form. According to all of the tutorials I've read, this is a very reasonable thing to do as it makes

Re: JSP won't compile Source Code Showing

2003-01-20 Thread Tom Holmes Jr.
Here is some more information on this problem ... My JSP pages work in the root directory of my webapps, but in any sub-directory, they do not work. How messed up is that? It used to be that the JSP pages would work in ANY directory. If you need any more information on this issue,

RE: JSP won't compile Source Code Showing

2003-01-20 Thread Turner, John
. [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 3:12 PM To: Tomcat Users List Subject: Re: JSP won't compile Source Code Showing Here is some more information on this problem ... My JSP pages work in the root directory of my webapps, but in any sub-directory, they do not work

Re: JSP won't compile Source Code Showing

2003-01-20 Thread Tom Holmes Jr.
ok, hopefully these properties will have someone provide me an answer to this problem. - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, January 20, 2003 3:02 PM Subject: RE: JSP won't compile Source Code Showing I don't

RE: JSP Won't Compile Under Tomcat 4

2002-01-18 Thread Justin Rowles
An error occurred at line: 18 in the jsp file: /error.jsp Generated servlet error: D:\Tomcat\work\localhost\_\error$jsp.java:64: Class org.apache.jsp.PrintWriter not found. exception.printStackTrace(new PrintWriter(out)); ^

RE: JSP Won't Compile Under Tomcat 4

2002-01-18 Thread Wagoner, Mark
: Friday, January 18, 2002 9:17 AM To: 'Tomcat Users List' Subject: RE: JSP Won't Compile Under Tomcat 4 An error occurred at line: 18 in the jsp file: /error.jsp Generated servlet error: D:\Tomcat\work\localhost\_\error$jsp.java:64: Class org.apache.jsp.PrintWriter not found

RE: JSP Won't Compile Under Tomcat 4

2002-01-18 Thread Reynir Hübner
Users List' Subject: RE: JSP Won't Compile Under Tomcat 4 I'm not importing it because I am not using directly. Tomcat is throwing the error when it is invoking its internal JSP compiler. To be honest, I don't even know which JAR file the org.apache.jsp package is in. -Original Message

RE: JSP Won't Compile Under Tomcat 4

2002-01-18 Thread Justin Rowles
I'm not importing it because I am not using directly. Tomcat is throwing the error when it is invoking its internal JSP compiler. Hmm... interesting. Yes, Tomcat is throwing the error when it tries to compile the .java file that it has genereated. There is, however, a source file called

RE: JSP Won't Compile Under Tomcat 4

2002-01-18 Thread Wagoner, Mark
Tomcat 3. -Original Message- From: Justin Rowles [mailto:[EMAIL PROTECTED]] Sent: Friday, January 18, 2002 9:32 AM To: 'Tomcat Users List' Subject: RE: JSP Won't Compile Under Tomcat 4 I'm not importing it because I am not using directly. Tomcat is throwing the error when it is invoking

RE: JSP Won't Compile Under Tomcat 4

2002-01-18 Thread Justin Rowles
I still can't understand why none of this was necessary under Tomcat 3. Probably the package import instruction you needed was added by the .java generator because some of the code it was adding to create the .java file from the .jsp file would need it. You can find out by looking in your

RE: JSP Won't Compile Under Tomcat 4

2002-01-18 Thread Craig R. McClanahan
On Fri, 18 Jan 2002, Justin Rowles wrote: Date: Fri, 18 Jan 2002 14:47:01 - From: Justin Rowles [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: JSP Won't Compile Under Tomcat 4 I still can't understand why none

RE: JSP Won't Compile Under Tomcat 4

2002-01-18 Thread Larry Isaacs
is left out because it is not needed. What version of Tomcat 3.3 compiled the error.jsp page? Cheers, Larry -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, January 18, 2002 1:04 PM To: Tomcat Users List Subject: RE: JSP Won't Compile Under Tomcat