• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 307
  • Last Modified:

integrate javascript with custom tag libraries

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??
0
chaitu chaitu
Asked:
chaitu chaitu
  • 2
  • 2
  • 2
  • +1
2 Solutions
 
colr__Commented:
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.

colr__
0
 
chaitu chaituAuthor Commented:
what r the best books or links for custom tag libraries;
0
 
chaitu chaituAuthor Commented:
i am talking abt this;

<html:td >
            <html:button name="addButton" className="input" value=">>" onClick="addRow()" />
      </html:td>
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Siva Prasanna KumarPrincipal Solutions ArchitectCommented:
hey i think you are talking about struts there are many online tutorial regarding struts.like

http://www.roseindia.net/struts/

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.

http://www.theserverside.com/books/sourcebeat/JakartaStrutsLive/downloads/JakartaStrutsLive.zip

here is free struts books link may be help ful.

Bye.

Thank You.
0
 
fargoCommented:
for custom tags, have a look at the following tutorial from sun. Start with a simple one and enjoy the power of custom tags
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPTags.html

integrating javascript or using javascript in custom tags depends upon your implementation. You can have whatever way of handling with javascript.
0
 
colr__Commented:
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.

colr__
0
 
fargoCommented:
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.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now