perform search
hello, Can anybody give me an example, how to perform search. i'm using jsp running on Ibm websphere and using DB2 The situation is like this: I want to display the name from table registration_queue, if there's no name, then perform a search which that will retrieve from another queue table and display in the same page. TQ in advance. Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Thread and JVM
From: "Scott Stirling" <[EMAIL PROTECTED]> > This is an operating system question. Every operating system I know of has a > default limitation on how many threads a single process can run. On Windows NT > I believe (correct me if I'm wrong) the limit is 2048. On some UNIXes it's > 1024. On Solaris 8 I want to say it's theoretically unlimited. Regardless, > it's a limit set by the operating system, it's usually tuneable, and the JVM has > nothing to do with it. > Scott Stirling Well, not all Java implementations map Java threads to OS threads. AFAIK the JRockIt VM does a N-to-N mapping btw Java/OS threads, and Tower's static compiler implements their own threading instead of using the OS's. So, if you're using anything other than the vanilla, "standard" Sun JDK, the question should be routed to the vendor. > - Original Message - > From: Laura Duong <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, April 22, 2000 4:36 PM > Subject: Thread and JVM > > > > Hi ... > > > > It ' s a great place to learn here... > > > > Question: "How many thread can a VM handle ? max ? and why? > > > > Please help - > > Thanks, > > > > Laura Duong > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Thread and JVM
TowerJ is an exception. I guess they are implementing their own green threads model? I'd be interested to find out more about that. IBM and Sun are the leading JVM vendors out there, especially when you include the VM implementations of all others who have licensed the Sun source code and produced production implementations for their platforms, e.g., HP, Compaq, SGI, etc. Anyone shipping a Sun-based production JVM (including IBM) is using a native threads model by default, except Sun themselves in the case of Linux (which is supposed to change in 1.3 or 1.4). Scott Stirling - Original Message - From: Osvaldo Pinali Doederlein <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 23, 2000 9:21 AM Subject: Re: Thread and JVM > From: "Scott Stirling" <[EMAIL PROTECTED]> > > This is an operating system question. Every operating system I know of > has a > > default limitation on how many threads a single process can run. On > Windows NT > > I believe (correct me if I'm wrong) the limit is 2048. On some UNIXes > it's > > 1024. On Solaris 8 I want to say it's theoretically unlimited. > Regardless, > > it's a limit set by the operating system, it's usually tuneable, and the > JVM has > > nothing to do with it. > > Scott Stirling > > Well, not all Java implementations map Java threads to OS threads. AFAIK > the JRockIt VM does a N-to-N mapping btw Java/OS threads, and Tower's static > compiler implements their own threading instead of using the OS's. So, if > you're using anything other than the vanilla, "standard" Sun JDK, the > question should be routed to the vendor. > > > - Original Message - > > From: Laura Duong <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Saturday, April 22, 2000 4:36 PM > > Subject: Thread and JVM > > > > > > > Hi ... > > > > > > It ' s a great place to learn here... > > > > > > Question: "How many thread can a VM handle ? max ? and why? > > > > > > Please help - > > > Thanks, > > > > > > Laura Duong === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
JSP & iPlanet 4.1
Hi, I've been trying to get iPlanet 4.1 (to which I am new) to serve JSP pages for a couple of days now, without success. I have enabled servlets & JSP, and have also installed a JDK (version 1.2.2_05). I have set the JDK path in global settings to point to the JDK directory and have left the runtime libpath & runtime classpath blank, to force the use of defaults. Unfortunately, I'm still getting the following errors ... does anyone have any tips, or any idea what I'm doing wrong (or not doing) ? Any help would be very much appreciated. [23/Apr/2000:18:02:08] info ( 9592): Internal Info: loading servlet /ims/imsprod.jsp [23/Apr/2000:18:02:08] info ( 9592): JSP: JSP1x compiler threw exception java.io.FileNotFoundException: /ims/imsprod.jsp at java.lang.Throwable.fillInStackTrace(Native Method) at java.lang.Throwable.fillInStackTrace(Compiled Code) at java.lang.Throwable.(Compiled Code) at java.lang.Exception.(Compiled Code) at java.io.IOException.(Compiled Code) at java.io.FileNotFoundException.(Compiled Code) at org.apache.jasper.compiler.JspReader.pushFile(Compiled Code) at org.apache.jasper.compiler.JspReader.pushFile(JspReader.java:125) at org.apache.jasper.compiler.JspReader.(JspReader.java:212) at org.apache.jasper.compiler.JspReader.createJspReader(JspReader.java:218) at org.apache.jasper.compiler.Compiler.compile(Compiled Code) at com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:214) at com.netscape.server.http.servlet.NSServletEntity.(NSServletEntity.java:104) at com.netscape.server.http.servlet.NSServletRunner.loadServlet(NSServletRunner.java:607) at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:357) [23/Apr/2000:18:02:08] warning ( 9592): Unable to locate class: /apps/integra/www/ims (java.lang.ClassNotFoundException: /apps/integra/www/ims) [23/Apr/2000:18:02:08] warning ( 9592): Internal error: Failed to load servlet (servlet=/ims/imsprod.jsp) === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
64K limit
Hi guys, I'm using Tomcat, and one of my JSPs got pretty big, and I'm getting this error message. "Code of a method longer than 65535 bytes" Is there any way to get around to it? Is there a way to increase this limit? Thanks. howard === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Servlets/JSP on Mac-Server?
When I was trying the same thing last September, JRun supported the Macintosh (marginally), but their JSP 1.0 compiler did not run. (This was prior to Allaire buying JRun. I haven't seen any evidence of Allaire being concerned about the Mac at all.) The only answer I could find was to use JSP 0.92 which did work. We eventually switched to Linux for our JSP development and deployment. (We were never intending to deploy on Mac, but we did want the graphic designers to work with JSPs on their desktops.) BTW The comments apply to classic Mac OS. I have no experience with MacOS X Server -- is that what you were talking about instead? -David >I am looking into the same issue. iTools, by Tenon, includes mod_jserv and >gnujsp to handle jsp pages but there it does not appear to be fully >functional or is not configured properly. Here are some links: > >http://www.stepwise.com/Articles/Workbench/JServ.html >http://www.metadogs.com/mosxs_jsphelp.jsp > >I have tried a clean install of jserv but have not yet been able to get it >working. > >I'm also interested in Tomcat on the OSXS but haven't gotten very far. > >Keep me posted if you find anything. > >-- >- >Philip Good >Good Chi >http://www.go2taichi.com >303-521-8211 >- > > > From: Jens Laufer <[EMAIL PROTECTED]> > > Reply-To: A mailing list about Java Server Pages specification >and reference > > <[EMAIL PROTECTED]> > > Date: Sat, 22 Apr 2000 18:41:32 +0200 > > To: [EMAIL PROTECTED] > > Subject: Servlets/JSP on Mac-Server? > > > > Does anybody know aservlet/jsp-engine for the mac-server? > > Which servlet-engine do you recommend? > > Thanx, > > Jens > > === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Page Directive problem. send again
dear all: i wrote a jsp program , inside using a java bean to access database.i want to redirect to another html page when a Exception in my bean,so i use below code ,but seems have no helpful. <%@ page import="java.sql.*" errorPage="/index.html" %> can somebody help me? thanks in advance! ahfei [EMAIL PROTECTED] === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Page Directive problem. send again
ahfei wrote: > > dear all: > > i wrote a jsp program , inside using a java bean to access database.i want to > redirect to another html page when a Exception in my bean,so i use below code ,but > seems have no helpful. > <%@ page import="java.sql.*" errorPage="/index.html" %> > can somebody help me? You don't say what happens, but a potential problem in your eaxmple is that you specify an HTML page as the error page; it must be a JSP page in JSP 1.0/1.1, see the JSP specification for details. Hans -- Hans Bergsten [EMAIL PROTECTED] Gefion Software http://www.gefionsoftware.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Diff. between HttpSession and
Hi, I'm new to JSP, and have a question about how I should go about doing a session management. I'm used to creating a HttpSession object and do putValue and getValue on it, and I've seen a JSP example that uses a java bean to store and retrieve values. It seems to me that if I use to a bean, this is pretty much what an HttpSession object is. Am I right about this or I'm mistaken? Thanks. howard === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
jsp-interest@java.sun.com
Has anyone tried using ? Any example would be appreciated. Thanks folks! howard === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re:
We used: > -Original Message- > From: Howard Lee [SMTP:[EMAIL PROTECTED]] > Sent: Monday, April 24, 2000 10:17 AM > To: [EMAIL PROTECTED] > Subject: > > Has anyone tried using ? Any example would be appreciated. > Thanks folks! > > howard > > == > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: where is the Java Mailing list ?
if you have internet access, log on to the java developer connection at this URL, you can post your questions on java. http://forum.java.sun.com/ bye vishwa Vijay Mali wrote: > > These r the java mailing list, > > For Subscribing send blank mail to > [EMAIL PROTECTED] > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > Bye > Vijay > > - Original Message - > From: Vineet Sethi <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, April 23, 2000 1:00 AM > Subject: where is the Java Mailing list ? > > > hi > > I am looking for a java mailing list to post questions regarding handling > > files , specifically IO and copy of files / folders.. > > > > can someone please point me in the right direction > > > > thanks > > Vineet > > > > > === > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > > Some relevant FAQs on JSP/Servlets can be found at: > > > > http://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.html > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re:
Is it possible for me to take a look at the code? (banner.jsp and the one that's calling it). Thank you very much! howard -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Arnab Acharya Sent: Sunday, April 23, 2000 9:44 PM To: [EMAIL PROTECTED] Subject: Re: [JSP-INTEREST] We used: > -Original Message- > From: Howard Lee [SMTP:[EMAIL PROTECTED]] > Sent: Monday, April 24, 2000 10:17 AM > To: [EMAIL PROTECTED] > Subject: > > Has anyone tried using ? Any example would be appreciated. > Thanks folks! > > howard > > == > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Diff. between HttpSession and
Hi Howard, Every JSP page has an implicit instance of HttpSession, called 'session'. You can use it for session management. Regards, Anurag Howard Lee <[EMAIL PROTECTED]> on 04/24/2000 11:01:14 AM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: Anurag Panda/India/IBM) Subject: Diff. between HttpSession and Hi, I'm new to JSP, and have a question about how I should go about doing a session management. I'm used to creating a HttpSession object and do putValue and getValue on it, and I've seen a JSP example that uses a java bean to store and retrieve values. It seems to me that if I use to a bean, this is pretty much what an HttpSession object is. Am I right about this or I'm mistaken? Thanks. howard === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re:
If u insist, I can send, but I guess it'll only confuse u, as it's linked with other files as well. Simply taking, we have one file APD00_01.jsp, say. Inside that we have many sections -- banner, top, left, etc. In these sections, we are including the relevant jsp files. Feel free to clarify your doubts, if any. Arnab > -Original Message- > From: Howard Lee [SMTP:[EMAIL PROTECTED]] > Sent: Monday, April 24, 2000 10:55 AM > To: [EMAIL PROTECTED] > Subject: Re: > > Is it possible for me to take a look at the code? (banner.jsp and the one > that's calling it). Thank you very much! > > howard > > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Arnab Acharya > Sent: Sunday, April 23, 2000 9:44 PM > To: [EMAIL PROTECTED] > Subject: Re: [JSP-INTEREST] > > > We used: > > > > > > -Original Message- > > From: Howard Lee [SMTP:[EMAIL PROTECTED]] > > Sent: Monday, April 24, 2000 10:17 AM > > To: [EMAIL PROTECTED] > > Subject: > > > > Has anyone tried using ? Any example would be appreciated. > > Thanks folks! > > > > howard > > > > > == > > = > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > > JSP-INTEREST". > > Some relevant FAQs on JSP/Servlets can be found at: > > > > http://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.html > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > == > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > == > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Diff. between HttpSession and
Hi Anurag, Yes I know, but what is the difference between that and using ? Seems like I can create a bean that can do exactly the same thing. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Panda Anurag Sent: Sunday, April 23, 2000 10:09 PM To: [EMAIL PROTECTED] Subject: Re: [JSP-INTEREST] Diff. between HttpSession and Hi Howard, Every JSP page has an implicit instance of HttpSession, called 'session'. You can use it for session management. Regards, Anurag Howard Lee <[EMAIL PROTECTED]> on 04/24/2000 11:01:14 AM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: Anurag Panda/India/IBM) Subject: Diff. between HttpSession and Hi, I'm new to JSP, and have a question about how I should go about doing a session management. I'm used to creating a HttpSession object and do putValue and getValue on it, and I've seen a JSP example that uses a java bean to store and retrieve values. It seems to me that if I use to a bean, this is pretty much what an HttpSession object is. Am I right about this or I'm mistaken? Thanks. howard === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: 64K limit
Hi guys, I got it working, so hopefully others who has a same problem can benefit from this. David was kind enough to explain and also suggest that I should try using and here is his explanation. I couldn't get it to run until I put flush="true" (thanks Arnab Acharya!) According to the JSP Book, this is required because of current limitations in the underlying servlet API. So hopefully others can benefit from my frustrating easter afternoon. :) -Original Message- From: David Mankin [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 23, 2000 6:39 PM To: Howard Lee Subject: Re: 64K limit Hi, Howard. I haven't hit this limit yet, but I've been in fear of it since I began developing JSPs. As far as I know, the limit is a hard limit set by the Java language. We're using JRun, instead of Tomcat, so I don't know if this advice will apply to you, but... The one solution we've considered is switching from <%@ include %> tags to tags. These tags perform the including at runtime instead of compile time, so there's no bloat of the JSP. (If you have one enormous JSP file, consider breaking it up into parts and jsp:include'ing them.) There are several problems with this, though, if you're not used to using the jsp:include tags. The main one is that, the included page is its own servlet instead of sharing the same namespace as the parent page. So local variables that you'd declared in in your top servlet are not available to the included servlets. This means that you must switch to using beans and properties to communicate things between the jsp pages. >Hi guys, > >I'm using Tomcat, and one of my JSPs got pretty big, and I'm getting this >error message. "Code of a method longer than 65535 bytes" Is there any way >to get around to it? Is there a way to increase this limit? Thanks. > >howard === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets