Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-25 Thread Rainer Jung
On 24.06.2011 18:42, David Wall wrote: > > > On 6/24/2011 5:48 AM, Rainer Jung wrote: >> On 24.06.2011 14:08, Tim Funk wrote:Looks like this is the root cause >> from DefaultServlet ... >>> While the ISE is caught ... since the mimetype for js was changed - it >>> doesn't match the fallback metho

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-24 Thread David Wall
On 6/24/2011 5:48 AM, Rainer Jung wrote: On 24.06.2011 14:08, Tim Funk wrote:Looks like this is the root cause from DefaultServlet ... While the ISE is caught ... since the mimetype for js was changed - it doesn't match the fallback method try { ostream = r

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-24 Thread Rainer Jung
On 24.06.2011 14:08, Tim Funk wrote: > Looks like this is the root cause from DefaultServlet ... > > While the ISE is caught ... since the mimetype for js was changed - it > doesn't match the fallback method > > try { > ostream = response.getOutputStream(); >

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-24 Thread Tim Funk
Looks like this is the root cause from DefaultServlet ... While the ISE is caught ... since the mimetype for js was changed - it doesn't match the fallback method try { ostream = response.getOutputStream(); } catch (IllegalStateException e) {

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-24 Thread Konstantin Kolinko
2011/6/24 David Wall : > >> >>> out.write("\n"); >>> pageContext.include("/static/esf/esf.js",true); >>> out.write("\n"); >>> >>> But the exception IllegalStateException is thrown on the include of the >>> esf.js file.  The reason is null, so there's no more details.  I find it odd >>> in that the

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-23 Thread Rainer Jung
On 24.06.2011 03:47, David Wall wrote: > >> >>> out.write("\n"); >>> pageContext.include("/static/esf/esf.js",true); >>> out.write("\n"); >>> >>> But the exception IllegalStateException is thrown on the include of >>> the esf.js file. The reason is null, so there's no more details. I >>> find it

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-23 Thread David Wall
out.write("\n"); pageContext.include("/static/esf/esf.js",true); out.write("\n"); But the exception IllegalStateException is thrown on the include of the esf.js file. The reason is null, so there's no more details. I find it odd in that the two prior includes works okay, but that third o

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-23 Thread David Wall
out.write("\n"); pageContext.include("/static/esf/esf.js",true); out.write("\n"); But the exception IllegalStateException is thrown on the include of the esf.js file. The reason is null, so there's no more details. I find it odd in that the two prior includes works okay, but that third one

TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-23 Thread David Wall
This was working under TC 6, but I have a tag that extends BodyTagSupport, and in my doStartTag() method I get my JspWRiter 'out' using pageContext.getOut(). I have a bunch of out.write("") statements that all work fine. Then I have these: out.write("\n/* platform esf.css */\n"); pageContext.