• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Donno where to start preparation from

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I have cleard SCJP 1.4 with 85%. And want to give scwcd1.5. But i donno
how to start preparation .Servlet and basics of JSP are ok for me.
But when it comes to tag libraries i ll go mad. Every time my efforts of giving SCWCD stops in tag library.

Atleast recommend me some material where i can easily understand tag libs.

Thanks in advance... and congratulations to all who have passed the SCWCD ..
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Even initially I had the same problem,i would suggest just keep reading the chapters from HFSJ..I am sure you should be good to go!
 
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I learned tag libs and tag files by coding as many examples as I could think of. This was a real big help in my passing the exam.
 
author
Posts: 199
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree with both Deepti and Michael.

The HFSJ chapters on custom tags is about as good as I have seen (or created; I was a course developer for Sun in a previous life).

But nothing compares with learning from experience. I would recommend coding a simple loop custom tag from scratch. For example, have you ever needed to loop over the values of an enumerated type? (to populate the <option>s of a <select> tag for example?)

Imagine your webapp includes an enum of hobbies:


And you want a JSP form to ask the user select their hobbies. You could do this using scriptlet code like this:


Buut as we know "scriptlets are bad, ngKay" (a'la Mr. Garison from South Park).

So a better solution is to use a custom tag:


Your mission --if you choose to accept it-- is to develop the forEnum tag. The easiest solution will be to develop a "Simple Tag" handler. Start there, but when you get that done create a second implementation using a "Classic Tag" handler. When you get that created you will know 80% of what you will need for the SCWCD exam. Note: a "Tag File" is not an appropriate technology for this exercise.

Good luck on your mission and if you need assistance feel free to email me at b_basham@yahoo.com

Regards,
Bryan
 
nisha baliga
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all ...
Thanks a lot for all the suggestions..i am lil bit confident now(lil )
I am starting the preparation from today.. and this time i am not going to stop it in tag lib..

And if i pass the exam, definietly the credit will go to java ranch and all its members
 
when your children are suffering from your punishment, tell your them it will help them write good poetry when they are older. Like this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic