Action中的內容
ActionForward forwrad = mapping . findForward(" show" );
StringBuffered path = new StringBuffered(forward.getPath());
if ( path.indexOf("?") >= 0 )
{
path.append(" paramId=paramValue");
}
else
{
path.append("?paramId=paramValue");
}
return new ActionForward( path.toString() );
struts-config.xml中的內容
<forward name="show" path="/show.jsp" />