problem with struts bean tag when created on the fly

2003-06-25 Thread Ashish Kulkarni
Hi,
I am trying to the following, I have a java class
which builds a String for displaying in webpage,
I have some code in this class which builds String as
if it is struts bean tag, like my string when build
looks like this
''
and the java code to build this is
String title = new String("\'" + "+"\'");
and then i print this String at run time
but the problem is the bean tag does notand get
blanks, the value for report is not retrieved from
properties file.
why is this happening like this

Ashish

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problem with struts bean tag when created on the fly

2003-06-25 Thread Ajay Patil
Dear Ashish,

For  tag to be replaced by the label in properties
file, the tag needs to be typed inside the JSP file. Only the
tags typed in JSP page are parsed by JSP processor. 

If the Java code is returning any tags, they will be treated as normal
character data and just outputted as it is by the JSP processor.

- Ajay


Ajay Patil
Vertex Software Pvt. Ltd.
[EMAIL PROTECTED]
http://www.vertex.co.in


- Original Message - 
>From  Ashish Kulkarni <[EMAIL PROTECTED]> 
Date  Wed, 25 Jun 2003 13:26:15 -0700 (PDT) 
To  [EMAIL PROTECTED] 
Subject  problem with struts bean tag when created on the fly  


Hi,
I am trying to the following, I have a java class
which builds a String for displaying in webpage,
I have some code in this class which builds String as
if it is struts bean tag, like my string when build
looks like this
''
and the java code to build this is
String title = new String("\'" + "+"\'");
and then i print this String at run time
but the problem is the bean tag does notand get
blanks, the value for report is not retrieved from
properties file.
why is this happening like this

Ashish






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]