Where are you setting this session="true"? In the action mapping its scope="session". This shouldn't matter anyway. You don't even have to define it for the tag parameters because, as Mark said, it is in the scope of your web application. In your web.xml you define your .properties file that has all your messages. You shouldn't have to do anything other than reference the key usually. Your probably getting an error because your syntax for denoting session is incorrect,... or it could be because your being an ass to someone who is trying to help you and the container senses it; Statement in question: "Well, you ARE wrong about the application scope thing..."
I helped you specifically so I could say that. BTW: Saying I want help because I get an error is not a good way to find a solution. What was the error? Michael Lee ----- Original Message ----- From: "Tarek M. Nabil" <[EMAIL PROTECTED]> To: "Mark Galbreath" <[EMAIL PROTECTED]>; "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, February 06, 2003 9:40 AM Subject: RE: bean:message without session Well, you ARE wrong about the application scope thing, cause it's being put in session scope. And the problem is, when I write session="false" in the page directive, I get an error when using the tag. -----Original Message----- From: Mark Galbreath [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 7:25 PM To: 'Struts Users Mailing List' Subject: RE: bean:message without session Why not? <bean:message> extracts the text associated with the declared key via MessageResources, which accesses the properties file as an object in application scope and returns the String in the Response object. The scope of your JSP should have nothing to do with getting the property. Of course, I could be wrong....(with apologies to Dennis Miller) Mark -----Original Message----- From: Tarek M. Nabil [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 12:09 PM To: Struts (E-mail) Subject: bean:message without session Hi, I'm using Struts 1.0.2. Is there a way I can use the <bean:message> tags without enabling the session? Thanks, Tarek M. Nabil Software Engineer ITWorx [EMAIL PROTECTED] Free Zone, Area 7 (B), Block (J), Nasr City, Cairo, Egypt TEL.: 20-2-2766226 http://www.itworx.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

