Maximum page size before JasperException

2003-12-17 Thread Peter Guyatt
Hi There,

Can anyone possibly tell me what the maximum page size allowed when
compiling/presenting JSP page.

The question arises when I try and display a 4meg file.

If there is a limit is there any way to increase the maximum allowed size?

Thanks

Pete


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



Re: Maximum page size before JasperException

2003-12-17 Thread Kwok Peng Tuck
What are you displaying in a JSP page that takes up 4 megs ?

Peter Guyatt wrote:

Hi There,

Can anyone possibly tell me what the maximum page size allowed when
compiling/presenting JSP page.
The question arises when I try and display a 4meg file.

If there is a limit is there any way to increase the maximum allowed size?

Thanks

Pete

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


 

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


RE: Maximum page size before JasperException

2003-12-17 Thread Peter Guyatt
Hi there,

Its an XML file

Pete

-Original Message-
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
Sent: 17 December 2003 11:12
To: Tomcat Users List
Subject: Re: Maximum page size before JasperException


What are you displaying in a JSP page that takes up 4 megs ?


Peter Guyatt wrote:

Hi There,

   Can anyone possibly tell me what the maximum page size allowed when
compiling/presenting JSP page.

The question arises when I try and display a 4meg file.

If there is a limit is there any way to increase the maximum allowed size?

Thanks

Pete


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



  


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


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



Re: Maximum page size before JasperException

2003-12-17 Thread Kwok Peng Tuck
Hmm maybe you can just write out the file to the response body in a 
servlet ?  Or do you need to do something in the jsp ?

Peter Guyatt wrote:

Hi there,

	Its an XML file

Pete

-Original Message-
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
Sent: 17 December 2003 11:12
To: Tomcat Users List
Subject: Re: Maximum page size before JasperException
What are you displaying in a JSP page that takes up 4 megs ?

Peter Guyatt wrote:

 

Hi There,

Can anyone possibly tell me what the maximum page size allowed when
compiling/presenting JSP page.
The question arises when I try and display a 4meg file.

If there is a limit is there any way to increase the maximum allowed size?

Thanks

Pete

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




   

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


 

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


RE: Maximum page size before JasperException

2003-12-17 Thread Peter Guyatt
Hi There,

The JSP page had it as a JavaScript variable (long story!!).

I am more curious to find out what the maximum size is due to an academic
curiosity

Thanks

Pete


-Original Message-
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
Sent: 17 December 2003 11:21
To: Tomcat Users List
Subject: Re: Maximum page size before JasperException


Hmm maybe you can just write out the file to the response body in a
servlet ?  Or do you need to do something in the jsp ?


Peter Guyatt wrote:

Hi there,

   Its an XML file

Pete

-Original Message-
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
Sent: 17 December 2003 11:12
To: Tomcat Users List
Subject: Re: Maximum page size before JasperException


What are you displaying in a JSP page that takes up 4 megs ?


Peter Guyatt wrote:



Hi There,

  Can anyone possibly tell me what the maximum page size allowed when
compiling/presenting JSP page.

The question arises when I try and display a 4meg file.

If there is a limit is there any way to increase the maximum allowed size?

Thanks

Pete


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








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


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






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


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



Re: Maximum page size before JasperException

2003-12-17 Thread Rodrigo Ruiz
Hi Peter, I am not sure of which are the current limitations of the JVM 
in method code and constants pool sizes, but with such a huge JSP you 
could be reaching them. Remember that your JSP will be converted into a 
servlet, and that most of the JSP code will be generated inside a single 
method (called somewhat similar to _jspService, so the larger your JSP 
is, the larger the generated servlet will be. You can probably find the 
exact numbers in the Java Virtual Machine Specification.

A way of  alleviating this is through configuration of the Jasper 
servlet, that is, the servlet that compiles JSPs. You will find its 
configuration in the tomcat/conf/web.xml file. One of the attributes you 
can configure there will tell the compiler to put all the static content 
of your JSP in a static plain text file, so it will not be part of the 
servlet class, reducing its size.

Hope it helps you,
Rodrigo Ruiz
Peter Guyatt wrote:

Hi There,

The JSP page had it as a JavaScript variable (long story!!).

I am more curious to find out what the maximum size is due to an academic
curiosity
Thanks

Pete

-Original Message-
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
Sent: 17 December 2003 11:21
To: Tomcat Users List
Subject: Re: Maximum page size before JasperException
Hmm maybe you can just write out the file to the response body in a
servlet ?  Or do you need to do something in the jsp ?
Peter Guyatt wrote:

 

Hi there,

	Its an XML file

Pete

-Original Message-
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
Sent: 17 December 2003 11:12
To: Tomcat Users List
Subject: Re: Maximum page size before JasperException
What are you displaying in a JSP page that takes up 4 megs ?

Peter Guyatt wrote:



   

Hi There,

Can anyone possibly tell me what the maximum page size allowed when
compiling/presenting JSP page.
The question arises when I try and display a 4meg file.

If there is a limit is there any way to increase the maximum allowed size?

Thanks

Pete

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






 

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




   

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



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