wood burning stoves 2.0*
The moose likes JSP and the fly likes which is evaluated first my taglib or jstl? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "which is evaluated first my taglib or jstl?" Watch "which is evaluated first my taglib or jstl?" New topic
Author

which is evaluated first my taglib or jstl?

Ian Cabigon
Greenhorn

Joined: Feb 22, 2010
Posts: 25
Hello I'm a little confused if which one is evaluated first. jstl or my custom taglib.

Here is some snippets.



I wonder how to access the actual value of val?

Please help me.

Thanks, ian
Abimaran Kugathasan
Ranch Hand

Joined: Nov 04, 2009
Posts: 2066

I think, t\above code should work as you expect. Try this also,


|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

It's not clear what you are asking, as there is no JSTL in your example at all. Did you mean the EL? If so, and you are using a modern JSP container, the EL expression will be evaluated prior to setting it as the value of the custom tag's attribute.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
jQuery in Action, 2nd edition
 
subject: which is evaluated first my taglib or jstl?
 
Similar Threads
Custom tag not evaluating ${} expressions
Problem while Tag lib Up gradation
Issues adding i18n Chinese support to existing Struts based code
Downloading Server Problem?
create a checklistbox using tld in jsp