RE: JSP Compilation Questions and More.
If this is code hiding issue consider using a taglib. -Original Message- From: Lachezar Dobrev [mailto:[EMAIL PROTECTED]] Sent: 15 October 2001 09:35 To: Orion-Interest Subject: Re: JSP Compilation Questions and More. Hello. > is this a speed issue? NO! > if so, use jikes. it's so fast that you don't need to precompile JSPs. I use it. I need to compile the JSPs without running Orion. Lachezar
Re: JSP Compilation Questions and More.
Hello. > is this a speed issue? NO! > if so, use jikes. it's so fast that you don't need to precompile JSPs. I use it. I need to compile the JSPs without running Orion. Lachezar
Re: JSP Compilation Questions and More.
is this a speed issue? if so, use jikes. it's so fast that you don't need to precompile JSPs. - Original Message - From: "Lachezar Dobrev" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Saturday, October 13, 2001 1:50 AM Subject: JSP Compilation Questions and More. >Hallo all! > >Recently I've been playing around with JSP compilation in Orion. I saw a > couple of days ago a question about the out-of-the-server (stand-alone) > compilation of JSPs. Quite some job :( >I tried to find the compilator. Playing around I got some things. I don't > really remember what was the JSP that helped me, but I guess it is either > com.evermind._rj (and it's method _bb() ) or com.evermind._ah. Also the > com.evermind.JspPage has a _bb() method, but it doesn't help a lot. > >Question 1: Is there a way to pre-compile the JSPs? I also saw that > adding a parameter "jsp_precompile=true" to the request parameters will only > try to compile the jsp. That however is not what I was thinking about. > >Question(BUG) 2: I noticed the following: It depends how the JSPs are > compiled. If the Web-App is "development=true" it is compiled in one way > with matching the JSP lines, and if "development=false" the lines are often > mapped wrongly. Exa.: > > ALABALA.JSP: > > 1. > 2. > 3. Test for test > 4. > 5. > 6. > 7. > 8. <%= new String((String)null)%> > 9. > 10. > > Obviously there is a NullPointerException on line 8 (7 if counted from 0). > > development = true: > > 500 Internal Server Error > java.lang.NullPointerException > at java.lang.String.(String.java:193) > at /Alabala.jsp._jspService(/Alabala.jsp.java:24) (JSP page line 7) > at com.orionserver[Orion/1.5.2 (build > 10460)].http.OrionHttpJspPage.service(Unknown Source) > at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source) > .. > > > development = false: > > 500 Internal Server Error > java.lang.NullPointerException > at java.lang.String.(String.java:193) > at /Alabala.jsp._jspService(/Alabala.jsp.java:27) (JSP page line 2) > at com.orionserver[Orion/1.5.2 (build > 10460)].http.OrionHttpJspPage.service(Unknown Source) > at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source) > .. > > >Obviously both cases differ. Why? > >Lachezar. > > > >
Re: JSP Compilation Questions and More.
Try Resin (www.caucho.com) or Rexip (www.rexip.com), they have great auto compliation and reloading. EJB container has been released though. - Niles - Original Message - From: "Lachezar Dobrev" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Friday, October 12, 2001 11:50 PM Subject: JSP Compilation Questions and More. >Hallo all! > >Recently I've been playing around with JSP compilation in Orion. I saw a > couple of days ago a question about the out-of-the-server (stand-alone) > compilation of JSPs. Quite some job :( >I tried to find the compilator. Playing around I got some things. I don't > really remember what was the JSP that helped me, but I guess it is either > com.evermind._rj (and it's method _bb() ) or com.evermind._ah. Also the > com.evermind.JspPage has a _bb() method, but it doesn't help a lot. > >Question 1: Is there a way to pre-compile the JSPs? I also saw that > adding a parameter "jsp_precompile=true" to the request parameters will only > try to compile the jsp. That however is not what I was thinking about. > >Question(BUG) 2: I noticed the following: It depends how the JSPs are > compiled. If the Web-App is "development=true" it is compiled in one way > with matching the JSP lines, and if "development=false" the lines are often > mapped wrongly. Exa.: > > ALABALA.JSP: > > 1. > 2. > 3. Test for test > 4. > 5. > 6. > 7. > 8. <%= new String((String)null)%> > 9. > 10. > > Obviously there is a NullPointerException on line 8 (7 if counted from 0). > > development = true: > > 500 Internal Server Error > java.lang.NullPointerException > at java.lang.String.(String.java:193) > at /Alabala.jsp._jspService(/Alabala.jsp.java:24) (JSP page line 7) > at com.orionserver[Orion/1.5.2 (build > 10460)].http.OrionHttpJspPage.service(Unknown Source) > at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source) > .. > > > development = false: > > 500 Internal Server Error > java.lang.NullPointerException > at java.lang.String.(String.java:193) > at /Alabala.jsp._jspService(/Alabala.jsp.java:27) (JSP page line 2) > at com.orionserver[Orion/1.5.2 (build > 10460)].http.OrionHttpJspPage.service(Unknown Source) > at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source) > .. > > >Obviously both cases differ. Why? > >Lachezar. > >