dcsimg
Referencing JSP defined variable in tag parameter?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Sunday, September 18, 2005 02:12 AM

I have a web application where there is a lot of Java code in the JSPs and I want to start migrating it to the struts framework. Since I am new to struts, I want to do things slowly.


Is there any way I can use the value of a variable defined in the jsp as a parameter to the tag? For example:

			
<% String myVar = "folder"; %>

<%=folder%>/img.png" /%>


This above code does not work, so what should I be doing?

Re: Referencing JSP defined variable in tag parameter?

Posted By:   Sanjeet_Joshi  
Posted On:   Sunday, September 18, 2005 06:49 AM

Try
About | Sitemap | Contact