users@glassfish.java.net

Re: OutOfMemory (Java heap space) while doing lots of JSP includes

From: Daniel Ortega Segura <daniel.ortega_at_gmail.com>
Date: Thu, 30 Aug 2007 12:46:48 +0200

I'm not sure about it, but I think with the RequestDispatcher.include() the
includes are done on the fly (at runtime => high refresh level, low
perfomance), and with the jsp directive they're included on deploy time.
If you change your code to use directives, all that work should be done at
deploy time and your problem should correct.

Give it a try to see if it works

2007/8/30, glassfish_at_javadesktop.org <glassfish_at_javadesktop.org>:
>
> I should also add that I use
>
> request.getRequestDispatcher("foo.jsp").include(request, response);
>
> not the jsp:include directive, if that matters at all. I suspect it
> doesn't but you never know...
> [Message sent by forum member 'br_31' (br_31)]
>
> http://forums.java.net/jive/thread.jspa?messageID=233244
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>


-- 
Daniel Ortega Segura
Analista/Instructor de Software Java EE
Grupo Salenda S.L. - www.salenda.es
Avd. Rey Juan Carlos I, 92. 28916 - Leganés (Madrid).
T: 91 101 0607 ext. 301 / F: 91 101 0608
M: +34.627.56.76.85
E: daniel.ortega_at_gmail.com