Re: RequestDispatcher
Keats Kirsch <[email protected]> Fri, 17 Mar 2006 13:19:57 -0500
| Newsgroups | gmane.comp.java.webmacro.user |
|---|---|
| Message-ID | <[email protected]> |
It's not possible to tell from your snippet, but given that you're
getting an OutOfMemoryError, I would guess that you have created some
sort of infinite loop, probably by including a template that includes
itself, either directly or indirectly.
Keats
Holger King wrote:
> Hi Group,
>
> when calling the following code snippet
>
> $Request.getRequestDispatcher("/test.jsp").forward($Request,$Response)
>
> within a WebMacro 2.0.1 template, I get the following error message:
>
> >WebMacro encountered an error while executing a template:
> StringTemplate("cmsProvider";"## Variablen #include as template '1559'
> ## Header #include as template '1562' ## Kopf mit L..."):
>
>> org.webmacro.PropertyException: Attempt to invoke method public
>> abstract void
>> javax.servlet.RequestDispatcher.forward(javax.servlet.ServletRequest,javax.servlet.ServletResponse)
>> throws javax.servlet.ServletException,java.io.IOException on object
>> org.apache.catalina.core.ApplicationDispatcher raised an exception:
>> java.lang.OutOfMemoryError
>> java.lang.OutOfMemoryError at cmsProvider:1.1
>
>
> Can you help me?
>
> Thanx in advance!
> Holger King
>
>
>
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642