processAction doesn't produce output, render does. After your processAction is 
called, render will be called at least once, allowing your portlet to produce 
output. This is the core difference between the servlet and portlet request 
models. 

Bear in mind that render may be called multiple times (as other portlets 
perform actions, for example) so it should not itself make any changes in 
application state. You can use ActionResponse.setRenderParameter to pass 
(String) parameters from the processAction method to the render method, if 
needed.

What exactly are you trying to do? Does the JSP actually make changes in 
application state, or is it just your display mechanism?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3901357#3901357

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3901357


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to