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 method

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-24 Thread Konstantin Kolinko
2011/6/24 David Wall d.w...@computer.org: out.write(script type=\text/javascript\\n); pageContext.include(/static/esf/esf.js,true); out.write(/script\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

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 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 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 =

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(style type=\text/css\\n/* platform esf.css

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-23 Thread David Wall
out.write(script type=\text/javascript\\n); pageContext.include(/static/esf/esf.js,true); out.write(/script\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

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-23 Thread David Wall
out.write(script type=\text/javascript\\n); pageContext.include(/static/esf/esf.js,true); out.write(/script\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

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(script type=\text/javascript\\n); pageContext.include(/static/esf/esf.js,true); out.write(/script\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