RE: IllegalStateException: Cannot forward. Response already committed.

2009-05-21 Thread Hermann X Lau
= Logger.getLogger(index.jsp); log.debug(begin); %logic:forward name=welcome / On Wed, May 20, 2009 at 4:39 PM, Hermann X Lau hermann.x@jpmchase.com wrote: Thanks in advance for any help on this...  I understand we get this exception when the JSP attempts to write to the print

IllegalStateException: Cannot forward. Response already committed.

2009-05-20 Thread Hermann X Lau
Thanks in advance for any help on this... I understand we get this exception when the JSP attempts to write to the print stream after the response has been committed but I don't see how this is occurring in my situation since my JSP just contains a simple forward. Index.jsp %@ taglib

Can logic:forward pass a parameter?

2009-05-18 Thread Hermann X Lau
Hi all, Thanks in advance for your help. I have an app which will start up with a forward to the search page. However, when I access the page, I just get a blank page. index.jsp: %@ taglib uri=http://struts.apache.org/tags-logic; prefix=logic % %@ page language=java contentType=text/html;

calling DispatchAction from global-forwards

2009-05-15 Thread Hermann X Lau
My struts portlet is not forwarding to the correct page. Is this method of forwarding not right? Action class: public class HoldFileInfoSearchAction extends DispatchAction { public ActionForward init(ActionMapping mapping, ActionForm form, HttpServletRequest request) throws

Converting from Struts for IBM API to Struts for JSR168

2009-05-07 Thread Hermann X Lau
IBM API has been deprecated for Portal 6.1... does anyone have any resources or tips on this conversion process? One of the changes is that org.apache.jetspeed.portlet is deprecated and javax.portlet is its replacement. However, the PortletRequest class is different... under the old deprecated

'Parameter name == null' exception

2009-04-28 Thread Hermann X Lau
I am receiving this exception in SystemOut.log from my struts portlet. Can anyone explain this to me? [4/28/09 11:15:54:459 EDT] 005d WpRequestProc E com.ibm.portal.struts.portlet.WpRequestProcessor processException Root cause: java.lang.IllegalArgumentException: Parameter name == null

Need help using html:link

2009-03-16 Thread hermann . x . lau
I am having trouble getting two links to work. The links render properly but when I click on the links, it doesn't forward to the appropriate page. I am not getting any exceptions on the server either. What am I missing? The jsp: p align = center bean:message

Re: Need help using html:link

2009-03-16 Thread hermann . x . lau
Benjamin, When I click on link, it reloads the same (welcome.jsp) page. It doesn't go to an empty page or go to an 404 error page. I added logging to my action classes and it looks like the classes are even being called. This leads me to believe that the configuration is not correct... but

Re: javax.servlet.jsp.JspException: Cannot find bean under name

2009-03-03 Thread hermann . x . lau
I took a look at the jsp that is the result of the submit and I am not seeing any issues with it. Maybe someone here can find something that I am not seeing? noResults.jsp: %...@taglib uri=http://java.sun.com/portlet; prefix=portlet % %@ taglib uri=http://struts.apache.org/tags-html;

Re: javax.servlet.jsp.JspException: Cannot find bean under name

2009-03-03 Thread hermann . x . lau
I took a look at an older version of the code (which works perfectly) and noticed something. After clicking the submit button, it executes the /searchInventory action which then forwards to noResults.jsp... but it is not doing that in the newer version of the code. In the newer version of

Re: javax.servlet.jsp.JspException: Cannot find bean under name

2009-03-02 Thread hermann . x . lau
Yes, adding bean:write name=locationList/ to my code does render the locationList. I don't get the exception until the 'submit' button is clicked. Nils-Helge Garli Hegvik nil...@gmail.com 02/27/2009 01:27 PM Please respond to Struts Users Mailing List user@struts.apache.org To Struts

Re: javax.servlet.jsp.JspException: Cannot find bean under name

2009-02-27 Thread hermann . x . lau
Yes, I have a class where locationList is put in a RenderRequest object... ... log.info(Get Connection ); conn = ADFDAOUtil.getConnection(getDataSource(request)); dao = new CPCInventoryDAO(conn); ArrayList locList = dao.getLocations(mode); request.setAttribute(locationList, locList); ...

javax.servlet.jsp.JspException: Cannot find bean under name

2009-02-26 Thread hermann . x . lau
Hi, I am receiving this exception on my portlet what am I missing? ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: SPSInventory Portlet . Exception thrown : javax.servlet.ServletException: javax.portlet.PortletException: