You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by starki78 <st...@libero.it> on 2005/08/01 08:07:29 UTC
Opinion about Struts layout
Do you think this framework is stable and good?
I have tested it and my first impression is not bad.
Is there someone who uses it for its purposes?
Ciao Christian
____________________________________________________________
Libero Flat, sempre a 4 Mega a 19,95 euro al mese!
Abbonati subito su http://www.libero.it
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Opinion about Struts layout
Posted by Borislav Sabev <b....@eventsoft.de>.
starki78 wrote:
>Do you think this framework is stable and good?
>I have tested it and my first impression is not bad.
>Is there someone who uses it for its purposes?
>
>Ciao Christian
>
>
>
>
Hi Christian,
I use struts-layout from 4-5 months, and it saves a lot of develompent time.
One of the best features (IMHO) is the forms "mode" - a form can be
shown in different modes like READ_ONLY, WRITE etc. the same is applied
for the controls in the forms
The end effect of this is that you write only one jsp for presenting and
editing.
The collections tags are also very nice
It's not perfect, but it's much more usefull than plain struts tags. At
least my jsp incude very small amount of java code and plain HTML tags.
Regards
Borislav
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Issue with action forward - urgent
Posted by Laurie Harper <la...@holoweb.net>.
I'm not clear from yoor description what it is you're doing, but I can tell
you what the exception means. You're requesting or triggering a browser
redirect after part of the response has already been generated, which wont
work. If you need to redirect the request somewhere else, you need to do so
before generating any response data.
Perhaps if you post the code that's causing the problem it'll be easier to
see what you're doing wrong.
L.
Jmeter User wrote:
> Hi,
> I am including the response of an action in to the same page that
> has triggered the action and getting an exception saying:
>
>
> ERROR - Servlet.service() for servlet action threw exception
> java.lang.IllegalStateException: Cannot forward after response has
> been committed
> at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:314)
> at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
> at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
> at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:673)
> at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575)
> at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:500)
> at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
> at com.gwinnetteonlinedirectory.jsp.gold.public_.spotlight_jsp._jspService(spotlight_jsp.java:50)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:673)
> at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575)
> at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:500)
> at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
> at com.xyz.jsp.gold.public_.index_jsp._jspx_meth_html_html_0(index_jsp.java:97)
> at com.xyz.jsp.gold.public_.index_jsp._jspService(index_jsp.java:59)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:306)
> at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:745)
> at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
> at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:868)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> at java.lang.Thread.run(Thread.java:534)
>
> Please help me as to how I can resolve this issue.
>
> Thanks,
> JU.
--
Laurie, Open Source advocate, Java geek and novice blogger:
http://www.holoweb.net/laurie
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Issue with action forward - urgent
Posted by Jmeter User <jm...@gmail.com>.
Hi,
I am including the response of an action in to the same page that
has triggered the action and getting an exception saying:
ERROR - Servlet.service() for servlet action threw exception
java.lang.IllegalStateException: Cannot forward after response has
been committed
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:314)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:673)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:500)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
at com.gwinnetteonlinedirectory.jsp.gold.public_.spotlight_jsp._jspService(spotlight_jsp.java:50)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:673)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:500)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
at com.xyz.jsp.gold.public_.index_jsp._jspx_meth_html_html_0(index_jsp.java:97)
at com.xyz.jsp.gold.public_.index_jsp._jspService(index_jsp.java:59)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:306)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:745)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:868)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:534)
Please help me as to how I can resolve this issue.
Thanks,
JU.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org