After reviewing all the code, the only thing I can attribute the
compilation errors to extending a Java class in JSP.
<%!
public class customSiteLocatorMgr extends com.dpd.wssjsp.SiteLocatorMgr
{
public void foo(int ifoo )
{
ifoo = 0;
}
}
%>
<%!
public customSiteLocatorMgr siteLocatorMgr = new customSiteLocatorMgr();
%>
The above strip down version of the code does not give me the same error,
but it also does not work. We get a 500 NULL error.
"Extends" -- Directs the translation process to extend the generated servlet
className. This technique is not to be used lightly as it prevents the JSP
engine from doing some things on your behalf. Then goes on to recommend tag
libraries as a better solution.
Would some one please enlighten me on the limitations/downside of using
extends in JSP.
Thanks,
Ravi
-----Original Message-----
From: Baker, Ed [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 7:51 AM
To: JRun-Talk
Subject: RE: JSP compilation error in Jrun 4.0
Ravi,
Our error was a simple syntax error (an extra semi-colon). I forget the
error message text but it was a basic syntax error. It's not related to
your error message.
-Ed
-----Original Message-----
From: Ravi Vedire [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 09, 2002 7:20 PM
To: JRun-Talk
Subject: RE: JSP compilation error in Jrun 4.0
Ed,
Looks like size is not the issue in my case. After stripping down some, the
generated java file (in failed compile case) is much smaller than the java
files generated by the working JSP files.
Did you get similar error message for your syntax error? (like the one
listed at the bottom of this e-mail).
Thanks,
Ravi
-----Original Message-----
From: Baker, Ed [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 09, 2002 1:27 PM
To: JRun-Talk
Subject: RE: JSP compilation error in Jrun 4.0
We had a compilation error on a JSP file when we switched from 3.1 to 4.0.
The file had a syntax error which did not fail under 3.1. So 4.0 was
correct in reporting the error. I don't know if this will help you but I
thought it worth mentioning.
-Ed Baker
-----Original Message-----
From: Ravi Vedire [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 09, 2002 3:04 PM
To: JRun-Talk
Subject: JSP compilation error in Jrun 4.0
Hi All,
We are getting the following JSp compilation error when JRun 4.0 tries to
compiles some of our JSP files. However the same JSP files work with JRun
3.1.
On the web I found some references to the size of the JSP and Java class
file size limitations of the JVM, as the cause for this error. One of the
solutions proposed was to re-architect the JSP.
Before we go and re-architect all the JSP code, I wanted to find out if any
one else encountered this issue with JRun 4.0 and what did they top resolve
it.
Thanks a lot in advance
Ravi
500 (class: jrun__C150__applicant2ejsp13, method: _jspService signature:
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo
nse;)V) Illegal target of jump or branch
(class: jrun__C150__applicant2ejsp13, method: _jspService signature:
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo
nse;)V) Illegal target of jump or branch
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists