hi
I am having this strange behavior that I don't understand.
I keep having 'experiments' in my request scope when I don't think I put
that in.
I only paste the important codes here because they are too big.
-------------------------------
In my action class :
-------------------------------
if(request.getAttribute("experiments") == null)
{
System.out.println("experiments is null");
}
return mapping.findForward("success");
-------------------------------------------------------
Above prints out 'experiments is null' so it is not in the scope
--------------------------------------------------------
----------------------------------------
struts-config
---------------------------------------
<action path="/CreateExperiment" forward="/CreateExperiment.jsp"/>
<action name="projectForm" path="/NewProject" input="CreateProject.jsp"
scope="request"
type="sg.edu.astar.flamingo.web.proteomics.action.NewProjectAction"
parameter="action" attribute="project">
<forward name="success" path="/CreateExperiment.do"
redirect="true"/>
</action>
----------------------------------------
In CreateExperiment.jsp
----------------------------------------
<logic:present name="experiments" scope="request">
<bean:message key="error.project.title"/>
</logic:present>
<logic:present name="experiments" scope="session">
<bean:message key="error.project.id"/>
</logic:present>
--------------------------------------------
The JSP prints out error.project.title! when there should not be in the
request scope..
-------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]