DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8948>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8948 cannot call getOutputStream() after getWriter() Summary: cannot call getOutputStream() after getWriter() Product: Cocoon 2 Version: 2.0 Platform: Other OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: sitemap components AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I am trying to access the hello.jsp from the welcome directory: Here is the content of the hello.jsp: <%@ page language='java' session='false' %> <page> <title>Hello</title> <content> <para>This is my first Cocoon2 page!</para> </content> </page> The sitemap.xmap has the following mapping: <map:match pattern="hello"> <map:generate src="welcome/hello.jsp" type="jsp"/> <map:transform src="stylesheets/page/simple-page2html.xsl"/> <map:serialize type="html"/> </map:match> When I type the URL as http://localhost:7001/Cocoon2/hello, I get the following message on the bropwser: D:\dev\apps\bea\wlserver6.1\.\config\nebo\applications\Cocoon2\WEB- INF\_tmp_war_neboserver_neboserver_Cocoon2\D:\dev\apps\bea\wlserver6.1 \config\nebo\applications\Cocoon2\welcome\\hello$jsp.java (The filename, directory name, or volume label syntax is incorrect) On the server console, I see the following exception being thrown: <May 9, 2002 2:54:22 PM MDT> <Error> <HTTP> <[WebAppServletContext (2315289,Cocoon2,/Cocoon2)] Servlet failed with Exce java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream () after getWriter() at weblogic.servlet.internal.ServletResponseImpl.getOutputStream (ServletResponseImpl.java:137) at org.apache.cocoon.servlet.CocoonServlet.service (CocoonServlet.java:1077) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl.invokeServlet (ServletStubImpl.java:265) at weblogic.servlet.internal.ServletStubImpl.invokeServlet (ServletStubImpl.java:200) at weblogic.servlet.internal.WebAppServletContext.invokeServlet (WebAppServletContext.java:2495) at weblogic.servlet.internal.ServletRequestImpl.execute (ServletRequestImpl.java:2204) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120) > Any help will be appreciated --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]