wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes How to use a custom tag lib in a JS script? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to use a custom tag lib in a JS script?" Watch "How to use a custom tag lib in a JS script?" New topic
Author

How to use a custom tag lib in a JS script?

Praful Gupta
Ranch Hand

Joined: May 01, 2006
Posts: 70
Can someone show me an example of using a custom tag lib inside a JS script? We have some custom tag libraries already in use and wanted to use them in some JS scripts. Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61437
    
  67

When you say "custom tag lib" are you talking about JSP tag libraries, or something else?

If so, then there's no difference than using any other JSP mechanism. Remember that JSP is evaluated on the server to substitute any active elements in order to send a good old fashioned HTML page to the browser. The result of any custom tags will simply be substituted into the page and the result will be sent to the browser.

If this isn't clear, you might find this article helpful.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use a custom tag lib in a JS script?