-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 sh
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
-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 wit
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
-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
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 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 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 a
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
> wrote:
>
>> 2009/10/8 Mercy :
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
wrote:
2009/10/8 Mercy :
Hi Kolinko,
In order to implement requirement is that our application can't
set
devel
2009/10/8 Mercy :
>
> 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 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 Js
2009/10/7 Mercy :
> 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 re-use the
> Jsp
development=false.
Mark
I expect you response, thank you. :)
Kind regards,
Mercy
On Wed, 07 Oct 2009 16:13:41 +0800, Mark Thomas
wrote:
--- Original Message ---
From: Mercy
To: "Tomcat Users List"
Sent: 07/10/09, 08:57:24
Subject: Re: JspServlet Issue
Hi Mark,
you response, thank you. :)
>
> Kind regards,
> Mercy
>
> On Wed, 07 Oct 2009 16:13:41 +0800, Mark Thomas wrote:
>
>>> --- Original Message ---
>>> From: Mercy
>>> To: "Tomcat Users List"
>>> Sent: 07/10/09, 08:5
rLoader or URLClassLoader?
I expect you response, thank you. :)
Kind regards,
Mercy
On Wed, 07 Oct 2009 16:13:41 +0800, Mark Thomas wrote:
--- Original Message ---
From: Mercy
To: "Tomcat Users List"
Sent: 07/10/09, 08:57:24
Subject: Re: JspSe
> --- Original Message ---
> From: Mercy
> To: "Tomcat Users List"
> 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
Hi Mark,
What did you mean "change" the app? Could you give more information?
Thank you.
Kind regards,
Mercy
On Wed, 07 Oct 2009 15:50:28 +0800, Mark Thomas wrote:
From: Mercy Ma
To: users@tomcat.apache.org
Sent: 07/10/09, 06:42:17
Subject: JspServlet Issue
Hi
> From: Mercy Ma
> 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 JspSe
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 , JspRuntimeCon
20 matches
Mail list logo