Hello Greg, Sunday, October 14, 2001, 1:11:51 AM, you wrote:
GM> is this a speed issue? GM> if so, use jikes. it's so fast that you don't need to precompile JSPs. GM> ----- Original Message ----- GM> From: "Lachezar Dobrev" <[EMAIL PROTECTED]> GM> To: "Orion-Interest" <[EMAIL PROTECTED]> GM> Sent: Saturday, October 13, 2001 1:50 AM GM> Subject: JSP Compilation Questions and More. >> Hallo all! >> >> Recently I've been playing around with JSP compilation in Orion. I saw GM> 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 GM> 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 GM> 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 GM> often >> mapped wrongly. Exa.: >> >> ALABALA.JSP: >> >> 1. <html> >> 2. <head> >> 3. <title>Test for test</title> >> 4. </head> >> 5. <body> >> 6. <form method="GET"> >> 7. <input name="TEST_BEAN" type="text" size="20" value="Test"><br> >> 8. <input type="submit"><%= new String((String)null)%> >> 9. </form> >> 10.</body> >> >> 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.<init>(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.<init>(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. >> >> >> >> Hello all, try to use Oracle JSP, thera are a offline jsp-compiler. -- Best regards, slynce mailto:[EMAIL PROTECTED]