File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Classsic Vs Simple?

 
Boobalan Jegathesan
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can anyone differentiate classic custom tags and simple custom tags?
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They use different interfaces, so it's bit long to explain.
Simple tags are easier to make
The best would be to try to make the same tag from scratch with both version.

Simple tag handlers also include "Tag Files" which are 100% jsp tags.

Sorry for not answering your question.
You can still refer the following part of the JSP specification:
JSP.7.1.3 Classic Tag Handlers
JSP.7.1.5 Simple Tag Handlers
 
Boobalan Jegathesan
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know the funtionality and I executed the same.Some experts might have specific reasons why do we have 2 kinds of custom tags in jsp.thats hwy i asked.....
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some experts might have specific reasons why do we have 2 kinds of custom tags in jsp

That's because Classic Tags were a pain in the neck to make. Simple tags' interfaces are much more easier to deal with. And as I said in the previous post, you can even make simple tags as jsp, not as java classes.

Sorry about the confusion.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic