RE: Precompiling JSPs

2003-01-15 Thread Steve Button

gday Yogesh -

The OC4J 903 release has JSP pre-compiler functionality, and it's documented
in the "Support for JavaServer Pages Developer's Guide" -- the name is not
my fault ;-)

The book is online at
http://download-west.oracle.com/docs/cd/A97688_07/generic.903/a97679.pdf

See section 7-37 (p205 in the PDF) for the precompilation information.

Hope that helps.

-steve-

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 16, 2003 1:26 PM
> To: Struts Users Mailing List
> Subject: RE: Precompiling JSPs
>
>
>
> Hi,
>
> Anybody know how to do this kind of precompilation in oc4j.
>
> Thanks.
>
>
>
>
>
> "Mark
>
> Galbreath"   To: "'Struts Users
> Mailing List'" <[EMAIL PROTECTED]>
> 
> [EMAIL PROTECTED]>   Subject: RE:
> Precompiling JSPs
>
>
> 14/01/2003
>
> 04:10 AM
>
> Please respond
>
> to "Struts
>
> Users Mailing
>
> List"
>
>
>
>
>
>
>
>
>
> Use Ant to precompile whole directories in one line of script with your
> container's JSP pre-compiler.
>
> Mark
>
> -Original Message-
> From: William W [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 13, 2003 3:01 PM
>
> My app has more than 2,000 JSPs. I can precompile my JSP and map it into
> the
>
> web.xml file. But I think that it would become a little big.
>
> Sugestions ???
>
>
>
> --
> To unsubscribe, e-mail:   <
> mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <
> mailto:[EMAIL PROTECTED]>
>
>
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Precompiling JSPs

2003-01-15 Thread YogeshChawla

Hi,

Anybody know how to do this kind of precompilation in oc4j.

Thanks.



   

"Mark  

Galbreath"   To: "'Struts Users Mailing List'" 
<[EMAIL PROTECTED]>
   Subject: RE: Precompiling JSPs

   

14/01/2003 

04:10 AM   

Please respond 

to "Struts 

Users Mailing  

List"  

   

   





Use Ant to precompile whole directories in one line of script with your
container's JSP pre-compiler.

Mark

-Original Message-
From: William W [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 3:01 PM

My app has more than 2,000 JSPs. I can precompile my JSP and map it into
the

web.xml file. But I think that it would become a little big.

Sugestions ???



--
To unsubscribe, e-mail:   <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>






--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Precompiling JSPs

2003-01-14 Thread Mark Galbreath
It's really a matter of preference and performance.  If you have 50k JSPs or
linked JSPs (forwards, includes, etc.), you probably want to precompile; if
your JSPs are 4k or less, the first-time performance hit is probably
negligible.  Run a performance tool against your site and compare the
difference of a typical first-time visit, keeping in mind your user-base
communications technology (56k modems/DSL/cable/T1).

Mark

-Original Message-
From: William W [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 14, 2003 6:34 AM


Hi,
What do you think about never precompile the JSPs ?
William.



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Precompiling JSPs

2003-01-14 Thread William W

Hi,
What do you think about never precompile the JSPs ?
William.



From: "Billy Ng" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: Precompiling JSPs
Date: Mon, 13 Jan 2003 13:05:17 -0800

I used Ant to precompile the JSPs before.  It was very good but took much
longer to compile a build.  If you have 2,000 JSPs, mm...

And I can tell how hard to maintain 2000 entries in the web.xml.

Billy Ng

- Original Message -
From: "William W" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 13, 2003 12:01 PM
Subject: Precompiling JSPs


>
> Hi All,
>
> My app has more than 2,000 JSPs. I can precompile my JSP and map it into
the
> web.xml file. But I think that it would become a little big.
>
> Sugestions ???
>
> Thanks,
>
> William.
>
>
>
>
>
>
> _
> The new MSN 8 is here: Try it free* for 2 months
> http://join.msn.com/?page=dept/dialup
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: 
<mailto:[EMAIL PROTECTED]>


_
Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Re: Precompiling JSPs

2003-01-13 Thread Billy Ng
I used Ant to precompile the JSPs before.  It was very good but took much
longer to compile a build.  If you have 2,000 JSPs, mm...

And I can tell how hard to maintain 2000 entries in the web.xml.

Billy Ng

- Original Message -
From: "William W" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 13, 2003 12:01 PM
Subject: Precompiling JSPs


>
> Hi All,
>
> My app has more than 2,000 JSPs. I can precompile my JSP and map it into
the
> web.xml file. But I think that it would become a little big.
>
> Sugestions ???
>
> Thanks,
>
> William.
>
>
>
>
>
>
> _
> The new MSN 8 is here: Try it free* for 2 months
> http://join.msn.com/?page=dept/dialup
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Precompiling JSPs

2003-01-13 Thread Mark Galbreath
Use Ant to precompile whole directories in one line of script with your
container's JSP pre-compiler.

Mark

-Original Message-
From: William W [mailto:[EMAIL PROTECTED]] 
Sent: Monday, January 13, 2003 3:01 PM

My app has more than 2,000 JSPs. I can precompile my JSP and map it into the

web.xml file. But I think that it would become a little big.

Sugestions ???



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Precompiling JSPs

2003-01-13 Thread Siggelkow, Bill
Some containers support a container-specific flag for precompiling.  As I recall you 
can do with this weblogic without having to declare all your JSPs in the web.xml.  Of 
course, I would not do this in development mode as it will take a long time for server 
restarts!

-Original Message-
From: William W [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 3:01 PM
To: [EMAIL PROTECTED]
Subject: Precompiling JSPs



Hi All,

My app has more than 2,000 JSPs. I can precompile my JSP and map it into the 
web.xml file. But I think that it would become a little big.

Sugestions ???

Thanks,

William.






_
The new MSN 8 is here: Try it free* for 2 months 
http://join.msn.com/?page=dept/dialup


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Precompiling JSPs

2003-01-13 Thread David Graham
Why does it matter if you have a large web.xml file for a large application? 
 You could let them compile at runtime instead of precompiling if you 
really don't want a large web.xml file.

David






From: "William W" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Precompiling JSPs
Date: Mon, 13 Jan 2003 20:01:04 +


Hi All,

My app has more than 2,000 JSPs. I can precompile my JSP and map it into 
the web.xml file. But I think that it would become a little big.

Sugestions ???

Thanks,

William.






_
The new MSN 8 is here: Try it free* for 2 months 
http://join.msn.com/?page=dept/dialup


--
To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: 
<mailto:[EMAIL PROTECTED]>


_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Precompiling JSPs

2003-01-13 Thread William W

Hi All,

My app has more than 2,000 JSPs. I can precompile my JSP and map it into the 
web.xml file. But I think that it would become a little big.

Sugestions ???

Thanks,

William.






_
The new MSN 8 is here: Try it free* for 2 months 
http://join.msn.com/?page=dept/dialup


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 



RE: Precompiling JSPs

2001-12-06 Thread Ajay Chitre

Look for a file called \bin\jspc.bat in your TOMCAT_HOME

Here's a link where you can find more information about this;

http://kevinj.develop.com/javahome/javatomcat.jsp

Hope this helps.


-- Original Message --

>I generally don?t use TOMCAT but I think you should look for a class
>jspc in tomcat server lib, you may use it for precompiling it. JSPC
>means JSP Compiler.
>
>Gud luk,
>
>-Original Message-
>From: Viet Kevin [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, December 06, 2001 2:00 PM
>To: [EMAIL PROTECTED]
>Subject: Precompiling JSPs
>
>
>Hello, I know that this question is not related to Struts but I want to
>know how
>to precompile all my jsps before hitting them with a Request, so that
>they doesn't have to
>be compiled when I hit them for the first time
>
>Thanks in advance.
>
>Viet Kévin - ActiVia Networks
>
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>

Ajay Chitre

Diligent Team, Inc.
(Where Diligent People Work as a Team)

http://www.DiligentTeam.com



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Precompiling JSPs

2001-12-06 Thread Rajeev Singh

I generally don’t use TOMCAT but I think you should look for a class
jspc in tomcat server lib, you may use it for precompiling it. JSPC
means JSP Compiler.

Gud luk,

-Original Message-
From: Viet Kevin [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 06, 2001 2:00 PM
To: [EMAIL PROTECTED]
Subject: Precompiling JSPs


Hello, I know that this question is not related to Struts but I want to
know how
to precompile all my jsps before hitting them with a Request, so that
they doesn't have to
be compiled when I hit them for the first time

Thanks in advance.

Viet Kévin - ActiVia Networks



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Precompiling JSPs

2001-12-06 Thread Viet Kevin


Thanx, but ...
I want to know if possible under tomcat4.0, and if it possible to 
specify in the web.xml ...


> If weblogic server then use:
> 
> C:>java weblogic.jspc 
> 
> 
> 
> -Original Message-
> From: Viet Kevin [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, December 06, 2001 2:00 PM
> To: [EMAIL PROTECTED]
> Subject: Precompiling JSPs
> 
> 
> Hello, I know that this question is not related to Struts but I want to
> know how
> to precompile all my jsps before hitting them with a Request, so that
> they doesn't have to
> be compiled when I hit them for the first time
> 
> Thanks in advance.
> 
> Viet Kévin - ActiVia Networks
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 


=
-- KeV -- 
=



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Precompiling JSPs

2001-12-06 Thread Rajeev Singh

If weblogic server then use:

C:>java weblogic.jspc 



-Original Message-
From: Viet Kevin [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 06, 2001 2:00 PM
To: [EMAIL PROTECTED]
Subject: Precompiling JSPs


Hello, I know that this question is not related to Struts but I want to
know how
to precompile all my jsps before hitting them with a Request, so that
they doesn't have to
be compiled when I hit them for the first time

Thanks in advance.

Viet Kévin - ActiVia Networks



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Precompiling JSPs

2001-12-06 Thread Viet Kevin


Hello, I know that this question is not related to Struts but I want to know how
to precompile all my jsps before hitting them with a Request, so that they doesn't 
have to
be compiled when I hit them for the first time

Thanks in advance.

Viet Kévin - ActiVia Networks



--
To unsubscribe, e-mail:   
For additional commands, e-mail: