JSP Tags: How to use dynamic attribute?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Adi_Macon
Posted On:   Tuesday, October 23, 2001 12:27 PM

Ok ... I have a jsp page using taglibs. I want to set a value to an attribute .. but it depends os the page before ... here's the code: oque=" <%=request.getQueryString()%>" /> see ... it sets the attribute to <%=request.getQueryString()%> and i wanted it to evaluate the request.getQueryString() and return a string. Can I do it? Is there anyway to do it using tags (maybe with tagextrainfo vars)? if not ... what should I use then? Beans? Thanks!    More>>

Ok ... I have a jsp page using taglibs.

I want to set a value to an attribute .. but it depends os the

page before ... here's the code:



oque=" <%=request.getQueryString()%>" />


see ... it sets the attribute to <%=request.getQueryString()%>

and i wanted it to evaluate the request.getQueryString() and

return a string.



Can I do it? Is there anyway to do it using tags (maybe with

tagextrainfo vars)?

if not ... what should I use then? Beans?

Thanks!

   <<Less

Re: JSP Tags: How to use dynamic attribute?

Posted By:   Nitesh_Naveen  
Posted On:   Tuesday, October 23, 2001 12:53 PM

for dynamic attributes u can use tagextrainfo. that is advisible... this approach also can be used though...
About | Sitemap | Contact