Receiving TAG attribute values in JSP

T

Tauqir Ghani

I am creating a JSP page in which data is received through a TAG
library. e.g the value of the variable XYZ is given by the following
tag line.

<template:variable name="XYZ">

I have to do some processing on the variable XYZ before I display it.
Can I do an assignment like

<%String MyString=%><template:variable name="XYZ"> <%;%>

or is there an alternate way of receiving the variable values in java
or javascript from the JSP tags.

Thanks in advance
 

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
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top