The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes tags very difficult Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "tags very difficult" Watch "tags very difficult" New topic

tags very difficult

Bhumika Thakkar
Ranch Hand

Joined: Apr 18, 2005
Posts: 79
I'm having a hard time understanding tags. Anyone has easy notes for that?


SCBCD (Preparing) <br />SCWCD, 82%<br />SCJP, 90%
Amol Fuke
Ranch Hand

Joined: Apr 08, 2005
Posts: 129
I hope by tags means Tag libraries.

There is good book on tag libraries by Wrox publication.

"There are no mistakes, only lessons"
Kejal Shah
Ranch Hand

Joined: Jun 27, 2003
Posts: 87
Hi Bhumika,
Refer HFSJ n you'll be fine. I had to refer it twice to get a hang. Tryin out some code will help you better understand


Kejal<br />
Ranch Hand

Joined: Apr 01, 2005
Posts: 431

HFSJ is the best thing if u want to understand it easily. If u want to know them completely from top to bottom go for some Wrox series. I think some hands-on will help u understanding Tags.

Kumar J
Ranch Hand

Joined: Feb 13, 2005
Posts: 35
Quite true.
Hfsj would be good.
Go through chapters 7th and 8th on jsp and EL 3-4 times.preferrably make your own notes.Once you get the hang of it.the shift to tags becomes easy.
Bcoz what you can't do in those things u can in tags.

A simples tag can be a jsp file renamed as .tag or .tagx quite easy...right...

With Regards,<br />Kumar J
Bhumika Thakkar
Ranch Hand

Joined: Apr 18, 2005
Posts: 79
oh those are tag files or simple tags? I thought simpletags need doTag method. i'm reading it over and over again.. somehow just goes above my head.

Thanks, you people are very helpful. I'm glad I found this site.

Steven Hoodless
Ranch Hand

Joined: Mar 23, 2004
Posts: 64

I was stuck at the same point. I was all set for the exam and had my attributes, patterns, JSP, EL etc sorted but this tag business would not fit in my poor little brain.

I think that if you are following the HF book you can get confused by the numerous types of tags, tld's etc. I believe its helpful to take the time to separate them in your mind and then chapters 9 & 10 start to make a lot more sense.

Basically in Chapter 10 we are introduced to 3 types of tags.

1. Tag Files.

Like includes but better, based on JSP, use attribute and tag directives.

2. Simple Tags.

Java class, TLD to describe attributes. Extends SimpleTagSupport.

3. Classic Tags.

Java class, TLD to describe attributes. Extends TagSupport.

This is roughly how I have separate them in my mind. Once you see them like this you can see that the example at the end of Chapter 9 is an example of deploying a type 2 - Simple Tag.

Hopefully things will now start to fall into place.


I agree. Here's the link:
subject: tags very difficult
It's not a secret anymore!