Win a copy of Machine Learning with R: Expert techniques for predictive modeling this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Custom tags

 
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are custom tags in JSP and how do you build it ?
 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Vishakha Ahuja:
What are custom tags in JSP and how do you build it ?



Take a look here... http://java.sun.com/products/jsp/tutorial/TagLibrariesTOC.html
 
author
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Custom tags are HTML-looking tags that you place in your JSP that look like HTML, but they call Java Servlets, classes, etc. You declare them with *.tld files, you reference the tld files in your web.xml files and go from there. According to Sun, this is the best way to separate your presentation layer from your java. I personnally think there's no problem with putting Java write in your JSP. http://www.jsptags.com is a great resource.
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a very helpful "Introduction to JSP Tag Libraries" article located at several locations on the web including the link below:
http://www.jspinsider.com/articles/jsp/intrototags.html
 
Dustin Marx
Ranch Hand
Posts: 40
 
I love a good mentalist. And so does this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!