Re: JSP's compiling web.xml -webinc option on JspC
On Sun, Jul 11, 2004 at 01:15:59PM +, Laurence Arabia wrote: : At the moment I am using -webinc jspweb.xml with JspC and then I merge : this with my web.xml which has all my servlets definition in it. But this : is a bad way of doing it cause I am messing with 1000's of lines of text. : What is the proper way to do this ? : : Is there an option in web.xml that I can "include" jspweb.xml. So then I : can build my jsp's and it will rewrite jspweb.xml without having to change : web.xml. Do you use Ant for your builds? If so, search the archives -- this topic was discussed recently on the list (within the last 2-3 weeks). I posted my (somewhat inelegant) solution, so you could search for my posts to narrow the result set. You could also use XML entity refs, but those can cause portability problems: they require absolute file paths to be reliable. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JSP's compiling web.xml -webinc option on JspC
Hi At the moment I am using -webinc jspweb.xml with JspC and then I merge this with my web.xml which has all my servlets definition in it. But this is a bad way of doing it cause I am messing with 1000's of lines of text. What is the proper way to do this ? Is there an option in web.xml that I can "include" jspweb.xml. So then I can build my jsp's and it will rewrite jspweb.xml without having to change web.xml. Or is there a merge option that I do not know about. Using tomcat 5.0.12 Thanks _ It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jsp's compiling
Hi, No, Not that I'm an expert but, JSPs compile only on the first request and then every time they are changed., knd rgrds, Luke On Fri, 2003-10-03 at 20:08, [EMAIL PROTECTED] wrote: > Hi everyone, > Is it possible to compile all of the jsp pages of a given context when it > starts ? > ( As far as I know they are compiled each time the server get a request > for that particular jsp page ). > Many thanks, > Gianluca > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- "when my computer smiles, I'm happy" ===.~ ~, Luke Vanderfluit |'/'] Mobile: 0421 276 282\~/` - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Jsp's compiling
Howdy, By default, JSP pages are compiled as needed at runtime. That means once when first accessed, and once thereafter every change to the JSP. It does NOT mean recompile on every access -- that would be pretty terrible ;) If you change reloadable to be false for your context, JSPs are not automatically recompiled even if they're changed. You can precompile all your JSP pages using JspC. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] >Sent: Friday, October 03, 2003 6:38 AM >To: Tomcat Users List >Subject: Jsp's compiling > > >Hi everyone, > Is it possible to compile all of the jsp pages of a given context when it >starts ? > ( As far as I know they are compiled each time the server get a request >for that particular jsp page ). >Many thanks, > Gianluca > > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Jsp's compiling
Hi everyone, Is it possible to compile all of the jsp pages of a given context when it starts ? ( As far as I know they are compiled each time the server get a request for that particular jsp page ). Many thanks, Gianluca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]