integrate javascript with custom tag libraries

Posted on 2006-04-12
Last Modified: 2013-11-24
i want to develop paging tag library and also integrate javascript with custom tag libraries;where can i learn this;any online books or references??
Question by:chaitu chaitu
    LVL 8

    Accepted Solution

    What do you mean by integrate JavaScipt with custom tag library? There is no concept of a tag library in Javascipt.

    The only synergy between JSPs (which I assume your talking about as its in the JSP section) and JavaScript is that JSPs can output dynamically generated JavaScript. With some clever coding JavaScipt can also be used to interact with the local JVM, but there is no scope for integration with Javascript and JSPs.

    Rememmber that JSPs are a server side technoogy, and JavaSscript is a client-side technlogy.

    Hope this helps, if not let me know more about what your trying to achieve.

    LVL 20

    Author Comment

    by:chaitu chaitu
    what r the best books or links for custom tag libraries;
    LVL 20

    Author Comment

    by:chaitu chaitu
    i am talking abt this;

    <html:td >
                <html:button name="addButton" className="input" value=">>" onClick="addRow()" />
    LVL 23

    Expert Comment

    hey i think you are talking about struts there are many online tutorial regarding

    and as such struts is just a generalization of tag libraries in simple terms.

    and when it come to integrating struts and java script lots of material is available on internet just search but better than tht is to try understanding and implementing own stuff based on the requirement.

    generally struts provides all the javascrpit support same as that of HTML.

    and when it comes a good book for struts just try "struts complete reference" it easy & simple.

    here is free struts books link may be help ful.


    Thank You.
    LVL 11

    Assisted Solution

    for custom tags, have a look at the following tutorial from sun. Start with a simple one and enjoy the power of custom tags

    integrating javascript or using javascript in custom tags depends upon your implementation. You can have whatever way of handling with javascript.
    LVL 8

    Expert Comment

    As far as I was aware, and from looking at the posts from each of the experts here, the question appears to have been answered.

    Without indication otherwise, I'd say the question was satisfactoraly answered and so points should be awarded.

    LVL 11

    Expert Comment

    I agree with colr__ . OR we need an explanation from the asker, what was not satisfactory. If the asker needs more information, some experts may provide further information.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Suggested Solutions

    Title # Comments Views Activity
    map interface methods 3 45
    wordsWithoutList  challenge 24 60
    sumHeights2  challenge 7 50
    json example 39 76
    I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
    Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
    The viewer will learn how to implement Singleton Design Pattern in Java.
    This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now