-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mercy,
On 10/10/2009 11:01 AM, Mercy wrote:
I has implemented this requirement,but still do not know the reason why
the whole operation can't be separated.
The whole thing should be able to be implemented with no code written on
your part. You
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mercy,
On 10/9/2009 10:06 PM, Mercy wrote:
My JSP compiler is based on JspServletWrapper(Jasper compiler).
Again, why not simply remove the requirement that development=false?
There is nothing stopping you from recompiling JSP files explicitly
Hi,
Again, why not simply remove the requirement that development=false?
There is nothing stopping you from recompiling JSP files explicitly with
this configuration, right?
The production application will not accept it.
Why the second request? The compile/load step should be all handled in
Hi Mark, In my view, the JSP 11.4.2 spec says that if client adds the jsp_precompile parameter, the request will not execute the jsp page's service method,what's more, JspServlet just compiles and loads new generated jsp servlet class, it's right, JspServlet works fine when JspServlet compiles
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mercy,
On 10/9/2009 2:49 AM, Mercy wrote:
In my view, the JSP 11.4.2 spec says that if client adds the
*jsp_precompile
*parameter, the request will not execute the jsp page's service method
Correct. It merely (re-)compiles the JSP page.
Hi chris,
* Did you mean compiles and /executes/ the JSP?
No,here means compiles and loads the JSP.
*Huh? Are you saying that if you compile the JSP with one request then a
second request to execute the JSP fails with a 404?
Yes
* Please define wrong: does it fail (and generate some
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mercy,
On 10/9/2009 1:53 PM, Mercy wrote:
* Did you mean compiles and /executes/ the JSP?
No,here means compiles and loads the JSP.
When you say load, do you mean loads the new Class object into memory?
*Huh? Are you saying that if you
Hi,
When you say load, do you mean loads the new Class object into memory?
Yes.
Why do you think the 404 has anything to do with failed compilation
and/or loading? Is it possible you just have a broken URL or something?
You *have* been messing around writing your own JSP compiler...
My JSP
2009/10/7 Mercy techme...@gmail.com:
Hi Mark,
I just want to compile the pages what i need, not all. Actually,the
most pages ware compiled by ANT,thus, our application does not set the
development parameter is true.
What's more , I did not re-invent the wheel rather than I
Hi Kolinko,
In order to implement requirement is that our application can't set
development=true and needs to compile little of pages without restart need.
If I use the JspServlet , it compiles JSP Pages and loads them class and
works fine, but If use my compiler to compile and load, the
2009/10/8 Mercy techme...@gmail.com:
Hi Kolinko,
In order to implement requirement is that our application can't set
development=true and needs to compile little of pages without restart need.
Even if development=false, it compiles new pages.
Hi,
Yes, it just does on the first time request,I need to compile the page
when I need.
Kind regards,
Mercy
On Thu, 08 Oct 2009 20:00:50 +0800, Konstantin Kolinko
knst.koli...@gmail.com wrote:
2009/10/8 Mercy techme...@gmail.com:
Hi Kolinko,
In order to implement requirement
Mercy wrote:
Hi,
Yes, it just does on the first time request,I need to compile the
page when I need.
What is wrong with the process described in JSP.11.4.2?
Mark
Kind regards,
Mercy
On Thu, 08 Oct 2009 20:00:50 +0800, Konstantin Kolinko
knst.koli...@gmail.com wrote:
From: Mercy Ma techme...@gmail.com
To: users@tomcat.apache.org
Sent: 07/10/09, 06:42:17
Subject: JspServlet Issue
Hi there,
I did write some code to create dynamic compiler for JSP pages, because our
application sets development options parameter to be false for JspServlet.
Surely much
: JspServlet Issue
Hi there,
I did write some code to create dynamic compiler for JSP pages, because
our
application sets development options parameter to be false for
JspServlet.
Surely much simpler to change the app so it doesn't do that.
Mark
--- Original Message ---
From: Mercy techme...@gmail.com
To: Tomcat Users List users@tomcat.apache.org
Sent: 07/10/09, 08:57:24
Subject: Re: JspServlet Issue
Hi Mark,
What did you mean change the app? Could you give more information?
Don't set the development parameter
, 08:57:24
Subject: Re: JspServlet Issue
Hi Mark,
What did you mean change the app? Could you give more information?
Don't set the development parameter of the JspServlet to false.
Mark
-
To unsubscribe, e-mail: users
+0800, Mark Thomas ma...@apache.org wrote:
--- Original Message ---
From: Mercy techme...@gmail.com
To: Tomcat Users List users@tomcat.apache.org
Sent: 07/10/09, 08:57:24
Subject: Re: JspServlet Issue
Hi Mark,
What did you mean change the app? Could you give more information
: Re: JspServlet Issue
Hi Mark,
What did you mean change the app? Could you give more
information?
Don't set the development parameter of the JspServlet to false.
Mark
-
To unsubscribe, e-mail: users-unsubscr
Hi there,
I did write some code to create dynamic compiler for JSP pages, because our
application sets development options parameter to be false for JspServlet.
In order to fulfill the requirement, I viewed the correlative code of Japser
engine.
At first, I implemented the Options ,
20 matches
Mail list logo