struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürgen Scheffler <>
Subject template and <html:messages/>
Date Tue, 18 Nov 2003 00:14:00 GMT
Hi experts,

my english isn´t good, so I use simple english:

I got a "template.jsp" :

<%@ include file="taglibs.jsp" %>
<html:html locale="true">
<html:base target='_self'/>
<link href="../css/main.css" rel="stylesheet" type="text/css"> </head>
<body> <html:errors/> <html:messages  id="message"> </html:messages>
<template:get name='content'/> </p> <br><br><br> template.jsp
</body> <!--FOOTER--> </html:html>

then I got a "fahrplan.jsp":

<%@ include file="taglibs.jsp" %>
<template:insert template='/pages/template.jsp'> 
	<template:put name='content'

The "content.jsp" can start Actions and make a new Messages object, the
control is returned to "fahrplan.jsp"
What do I have do write into the "content.jsp" or ActionClass, so that
the fahrplan.jsp shows me the messages?

I tried:

<logic:messagesPresent message="true">
	<html:messages id="message" message="true">
    		<bean:write name="message"/>

The message get writen, but not to the position <html:messages
id="message"></html:messages> in the fahrplan.jsp



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message