No problem, at least you are not asking where to download hibernate ;D

Em 05-04-2010 15:35, Craig Ricciuto escreveu:
Thank you very much....that was so easy...can't believe I didn't find that
while searching. I guess I need to upgrade my searching abilities a bit,
heh.  I used the escape attribute (set it to false) and worked like a
charm.

Thanks again.

On Mon, Apr 5, 2010 at 10:14 AM, Alex Rodriguez Lopez<
alo...@flordeutopia.pt>  wrote:

Try escape or escapeJavaScript atributes of<s:property>  tag, never used
them but maybe are helpful for your situation

http://struts.apache.org/2.x/docs/property.html

Em 05-04-2010 15:06, Craig Ricciuto escreveu:

  Hi there. I've run into situation that I'm not quite sure how to resolve.
  In one of my action classes I create a string from data from my database.
This string though is actually supposed to be some Javascript that I use
in
the resulting JSP but the quotation marks when being output by Struts2
change to the HTML entity *&quot;* where I would like them to stay as the
quotation marks I set in my action class.

A simple example would be something like the following:

In my action class:
String javascriptString = "LabelName: \""+ databaseLabeName +
"\".........";


But when I grab the string from within the JSP I get:
LabeName:&quot;TheLabelName&quot;

This is not what I want as I need the actual quotation marks, so I am
wondering what I can do to keep the quotation marks in that string?

Thanks,
Craig



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to