title: JSTL import tag throws java.lang.IllegalStateException with relative URL
body: <p>In a Java web application I am using the Stripes framework on Jboss 4.2.3. In my JSP when I use</p>
  
  <pre><code>&lt;c:import url="http://localhost:8080/contextPath/txts/someID" charEncoding="UTF-8"/&gt;
  </code></pre>
  
  <p>It works great and the the contents are included in the output HTML. However, this does not work </p>
  
  <pre><code>&lt;c:import url="/txts/someID" charEncoding="UTF-8"/&gt;
  </code></pre>
  
  <p>and it throws this error (the whole stack is too big to paste here, so I include the first few lines):</p>
  
  <pre><code>java.lang.IllegalStateException: Unexpected internal error during &amp;lt;import&amp;gt: Target servlet called getOutputStream(), then getWriter()
  at org.apache.taglibs.standard.tag.common.core.ImportSupport$ImportResponseWrapper.getOutputStream(ImportSupport.java:492)
  at net.sourceforge.stripes.action.StreamingResolution.stream(StreamingResolution.java:443)
  at net.sourceforge.stripes.action.StreamingResolution.execute(StreamingResolution.java:240)
  at net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:508)
  at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
  at org.stripesstuff.plugin.security.SecurityInterceptor.interceptResolutionExecution(SecurityInterceptor.java:225)
  at org.stripesstuff.plugin.security.SecurityInterceptor.intercept(SecurityInterceptor.java:129)
  at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
  at net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:99)
  at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
  at net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
  at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
  at net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
  at net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:502)
  at net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:286)
  at net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:170)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  </code></pre>
  
  <p>Any advice would be appreciated.</p>
  
  <p>Regards</p>