| Author |
Cannot display ActionMessages
|
Juhan Voolaid
Ranch Hand
Joined: Nov 18, 2003
Posts: 179
|
|
This is my Action class: This is the jsp file: When I run it, only the "test" is displayed. That means that it stops before the tag "<logic:messagesPresent>" or it does not get access to ActionMessage. I don't know what is wrong
|
 |
Ravi Seshu
Ranch Hand
Joined: Mar 19, 2005
Posts: 38
|
|
i think in jsp : u hav to modify .... <html:messages id="saveMessage" message="true" property="saveData.message"> <bean:write name="saveMessage"/> </html:messages>
|
 |
Juhan Voolaid
Ranch Hand
Joined: Nov 18, 2003
Posts: 179
|
|
|
OK, did that, but it did not help. Still the same result.
|
 |
sweta naidu
Greenhorn
Joined: Nov 02, 2004
Posts: 25
|
|
try this.. <html:messages id="msg" message="true" > <bean:write name="msg"/> </html:messages>
|
 |
Juhan Voolaid
Ranch Hand
Joined: Nov 18, 2003
Posts: 179
|
|
Originally posted by sweta naidu: try this.. <html:messages id="msg" message="true" > <bean:write name="msg"/> </html:messages>
Then I got this in to my log file:
|
 |
Juhan Voolaid
Ranch Hand
Joined: Nov 18, 2003
Posts: 179
|
|
Originally posted by sweta naidu: try this.. <html:messages id="msg" message="true" > <bean:write name="msg"/> </html:messages>
Then I got this in to my log file:
|
 |
Juhan Voolaid
Ranch Hand
Joined: Nov 18, 2003
Posts: 179
|
|
OK - got it finally working. Lot of help was from this link: http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html
|
 |
 |
|
|
subject: Cannot display ActionMessages
|
|
|