Deepali Anand

+ Follow
since May 12, 2009
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Deepali Anand

If you are have working experience on JSP/ Servlets, you can start from HFSJ. Do refer other book like 'SCWCD by David Bridgewater'. Do one topic and Q/A from one book and then same topic from another book. It is available online on

If some topics are missing in one book, this will help you.

If you are new to JSP/ Servlets, I would suggest to read Core Servlets by Marty Hall. It is too available online.

Hope this helps and Good luck!
As mentioned the link below is good.

Try - Just search for SCWCD . It has some good mock papers and different books online.
The JSP specification says the following about the beanName attribute

“The attribute beanName specifies the name of a Bean, as specified in the JavaBeans specification. It is used as an argument to the instantiate method in the java.beans.Beans class. It must be of the form a.b.c, which may be either a class, or the name of a resource of the form a/b/c.ser that will be resolved in the current ClassLoader.”

The key to that fantastically opaque explanation is the extension ser where it says a/b/c.ser. The beanName attribute can be used to point to a file that contains a serialized bean (the extension .ser is used to indicate a serialized object). However when using beanName with a serialized file the .ser extension is not included. The advantage of beanName over class is that the the value can be specified at requestion-time unlike class which must be specified at translation time. A useBean tag can use either class or beanName but not both. A beanName attribute must always be accompanied by a type attribute.
Same place where jsp and html pages go.

You can create a separate folder containing images too and it can go under Root directory

Reidar Gjerstad wrote:Hi

Congrats on passing the SCJP!

I am preparing for the SCWCD exam. In my opinion the HFSJ book has a weakness in that they try to make everything so funny that it takes attention away from the important material. Some of the chapters are also organized in such a way that understanding the material is difficult. Eg Chapter 9 deals with scriptles JSPs. They explain about actions to be performed on JavaBeans, but there is no proper explanation about what JavaBeans are and how to use them.

These frustrations made me take up "Core Servlets and JavaServer Pages" by Marty Hall et al. It is an excellent book and complements the HFSJ by making very clear and concise explanations. Eg the use of SingleThreadModel was explained in a crystal clear way in Hall's book as compared to HFSJ. HFSJ just made me confused.

"Core Servlets and JavaServer Pages" volume I is available for free download. See link here on Javaranch.

"Core Servlets and JavaServer Pages" is probably not tailor made for the exam as HFSJ. That might explain the more clear and concise treatment of subjects.

Finally the HFSJ in paperback just disintegrates with time. The pages just start falling out.

Reidar Gjerstad

I agree with Reidar.

According to me, you should have thorough knowledge of all topics. To clear the concepts, go though 'Core SErvlets...'
From exam point of view, that book will not serve the purpose.

After that for examination, atleast refer 2 books - Head First... and SCWCD by David Bridgewater. Cover topics and exams from both the books, at least twice.

Mock exams on web are very useful too - You can try on - Books + papers are available online there.

Best of luck.

Giffy Geraldo wrote:Thanks Naik for the quick response. But still I am helpless. here are the jsps that I am trying to test this on

The first JSPHere I am setting the request parameter and then submitting to the testList.jsp where I am trying to access the List entries.


You have used ${params} ...
It should be ${param}

Hope, this solves your problem.

12 years ago
For beginners to understand the concepts Marty Hall books are good - 'Core Servlets and JSP' and 'More Servlets and JSP'

Good part is that it is available for free online in pdf format
12 years ago
Hello, I gave the exam last month and cleared with 89%.

If you have working experience, this exam is very easy.

About studying Tags and EL -

Make a chart of rules for each Tag, Classic Tag, Simple Tag, JSTL and EL and study daily and write it down daily. Believe me within 3-4 days - you will have them on tip of tongue. HFSJ and David Bridgewater books already have very good tables/ chart. You can add your points to it and write it down daily!

Read the SCWCD links from this site - Rancher's Notes - almost daily - I found Jothi Shankar Kumar SCWCD hints very handy and informative. Link is as follows -

Other topics whichever you find difficult - Write it down daily.

I will give you one example - in my exam - on security there was a question to choose between CLIENT_CERT and CLIENT-CERT. If you have working experience - fine- otherwise writing these rules, helps in such type of confusion.

Try to write your own own code on Tags.

Babu Mehrunnesa wrote:
Hi Guys,
I am preparing for SCWCD (310-082). I have finished Head First Series (By K & B).
Being curious I have started looking at other book (SCWCD - David Bridgewater, dreamtech publications).
But I was bit confused, not able to answer many of the questions in this book. As it demands to memorize,
Header Types, length and so on and look like both the books are with quite different goals.

Could you pl suggest me what is that exact material to refer. Please respond ASAP,
as my exam date is close.

Babu HM

David Bridgewater's book is also good. Even if questions seem to be difficult, understand that you are clearing your concepts and that will be useful for your practical experience.

I read both the books (HFS + DAVID Bridgewater) 2 times before giving the exam. Do topic by topic from both the books simultaneously.
Nothing seems to be wrong in the code.

My guess - Hope you are not entering the name of your JSP file in the browser. Remember, you need to open HTML page in the browser. Enter the fields which go to servlet and then result is displayed in JSP.

Hope this helps
12 years ago

muthu bharathi wrote:Hi,

How to give the url pattern in filters in web.xml

My web.xml is like the following


but it doesn't work... may i know the above url-pattern is correct or wrong...
how can we declare a filter to operate on more than one url pattern

if i give the url pattern like like <url-pattern>*.jsp</url-pattern> it works fine....

please help meeeee..

According to me, your filter mapping is correct. Can you explain in detail what is happening?

If you need a filter to operate on more than one url pattern, you must declare it for each of the patterns.
It is executed first for exact match(for eg.../folder1/, then for Directory match(/folder1/) and last for extension (*.do)

12 years ago