Access Tags from Java Code?

C

Christoph Rabel

Hi!

I have a JSP Page that contains some tags for output. Now, I have the
problem, that I have to replace some text in the output of a tag.

I thougt to store it in a String, replace the necessary text and write
it afterwards.

Is it somehow possible to do the following: (Pseudocode)

<%String t = new String; %>
t += <mytaglib:get property="text"/>

How do I access the tag from Javacode?

thx for any hints,

Christoph
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top