/**
Index.jsp
*/

<a href="List.do?indexId=类型一">
   类型一
</a>
<a href="List.do?indexId=类型二">
   类型二
</a>
<a href="List.do?indexId=类型三">
   类型三
</a>
<a href="List.do?indexId=类型四">
   类型四
</a>/**
struts-config.xml
*/<action path="/List"
        type="包名.ListAction"
<forward name="success"
path="/相对路径名/List.jsp" />
</action>/**
ListAction
*/
 String indexId = request.getParameter("indexId");
  /**
   查询库
  */
  request.setAttribute("object",object);//将查询出的vo存入request以备前台显示
  mapping.findForward("success");/**
List.jsp
*/
<logic:present name="object" scope="request">      <!-- 显示字段值 -->
      <bean:write name="object" property="属性名" />
      <bean:write name="object" property="属性名" />
      <bean:write name="object" property="属性名" />
                           ...
                           ...</logic:present>