do you mean by message, that you have to print some dynamic text on the page?
if yes you could add the messages to an ArrayList in you controller and pass it to the JSP and in the JSP use a c:forEach tag to iterate over the list and print the "messages"
Omar Al Kababji - Electrical & Computer Engineer
[SCJP - 90% - Story] [SCWCD - 94% - Story] [SCBCD - 80% - Story] | My Blog
However if your application in internationalized (multiple languages) you can put the "keys" of your messages in the ArrayList, and use the <bean:message> to print the internationalized message.
Omar Al Kababji - Electrical & Computer Engineer
[SCJP - 90% - Story] [SCWCD - 94% - Story] [SCBCD - 80% - Story] | My Blog
yes im implementing internationalization, and also im using struts version 1.1 did struts version supports using of <bean: message> multiple times in a jsp.
for example :
lets think
there are 5 labels in my jsp which needs to be internationalization so that i want use <bean: message> five times in my jsp
did struts 1.1 supports using of <bean: message> 5 times in my jsp are there i any other alternate present
That doesn't make any sense--there's nothing in WL 8.1 that "doesn't support" mutliple <bean:message> tags; we had multiple S1 apps, all with many tags, running on 8.1.
No holds barred. And no bars holed. Except this tiny ad:
Gift giving made easy with the permaculture playing cards