This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 60050
    
  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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: which is evaluated first my taglib or jstl?
 
Similar Threads
Problem while Tag lib Up gradation
Downloading Server Problem?
create a checklistbox using tld in jsp
Issues adding i18n Chinese support to existing Struts based code
Custom tag not evaluating ${} expressions