Yeah, I have those included in /service/listservices.jsp
 
<%@page contentType="text/html"%>
<%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %>
<%@ taglib uri='/WEB-INF/struts-html.tld' prefix='html' %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
 
<html:html>
<body>
 
<TABLE>
    <TR>
        <TH><bean:message key="service.name"/></TH>
        <TH><bean:message key="service.authenticated"/></TH>
        <TH><bean:message key="service.encrypted"/></TH>
    </TR>
 
    <logic:iterate id="service" name="services">
        <TR>
            <TD><bean:write name="service" property="name"/></TD>
            <TD><bean:write name="service" property="authenticated"/></TD>
            <TD><bean:write name="service" property="encrypted"/></TD>
        </TR>
    </logic:iterate>
</TABLE>
 
</body>
</html:html>
----- Original Message -----
Sent: Wednesday, June 13, 2001 8:55 AM
Subject: RE: action help

I was having similar problem.
make sure you have import tags in your jsp
<%@ page import="com.dgsystems.dgonline.bmo.OrgSummary" %>
<%@ page import="java.util.*" %>
 
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
-----Original Message-----
From: Mike Thompson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 13, 2001 6:25 AM
To: [EMAIL PROTECTED]
Subject: action help

Ok, I'm feeling totally lost.
 
Here is a snippet from my struts-config.xml
 
  <action-mappings>
    <action path="/servicemanager"
            type="com.instanton.secureex.web.action.service.ListServiceAction">
            <forward name="success" path="/service/listservices.jsp"/>
    </action>
    ...
    </action-mappings>
 
now in a jsp page I have
        <html:link page="/servicemanager.do">
            <bean:message key="main.servicemanager.title"/>
        </html:link>
I do have /*.do aliased for the ActionServlet.
 
Why is this not working?  I am using TomCat 4.0b1 in Suns j2ee reference container.  Thanks in advance.
    --m
 
Michael R. Thompson
http://www.instanton.com
512.439.3815

Reply via email to