Hello everybody! :-)

I am trying the follow:

index.jsp:

<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>

<template:insert template="templates/templateIndex.jsp">
      <template:put name="parteUltimaHora" content="/ultimaHoraAction.do"/>
</template:insert>


templateIndex.jsp:

...
<template:get name="parteUltimaHora"/>
...


ultimaHoraAction.do:

...
req.setAttribute("var", var);
...
return mapping.findForward("a_JSP_page");


My goal is to include a_JSP_page (in wich there are struts-tags like
<bean:write name="var"/>) in index.jsp... but dont work.

Dont work too the following, in index.jsp:

<jsp:include page="/ultimaHoraAction.do"/>

nor

<jsp:include page="/ultimaHoraAction.do" flush="true"/>

nor

<template:insert template="/ultimaHoraAction.do"/>

¡Nothing dont work! ¿How can I include the JSP result (with struts-tags like
<bean:write.../>) of an Action in other JSP page?

Thanks.


CARLOS GRIMA
· www.carlosgrima.com
· [EMAIL PROTECTED]
· MSN: carlos_grima (hotmail)


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to