tanveer chowdry

Greenhorn
+ Follow
since Jul 17, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by tanveer chowdry

Aye.. Indeed cowboy talk
17 years ago
Hey Lavanya,
The code i sent previously won't work. Please try with the following code. It should work.


17 years ago
Ok i got it.. I think following code should work. This will redirect to failure in case file does not exist.

/
17 years ago
I don't see any problem with the code. Do you also have validate method in the form ? that may be getting called since you have set validate="true" in the action mapping.

Can you mail the code. I will be able to figure out.
17 years ago
I didnt understand why are putting a file exist check. If you're using fileupload, you'll get a browse button. i.e. it lets you select the file you want.

We this, why there is need to check, because you'll have to select a existing file.
17 years ago
Don't be tensed. Just go through HFSJ and make your notes or use the existing ones present in the scwcd links. Also do as many mocks as you can. it is very important.

All the best
im not able to access the link for sending requests to wall of fame.

see the following link,

http://faq.javaranch.com/java/ScwcdWallOfFame

when i click on contact bartender it goes to java ranch main page.

Also there is spelling mistake. can you spot it ?
17 years ago
Congratulations
17 years ago
Hey Ranchers,
I cleared SCWCD 1.5 with 98% today. I got 68 questions correct out of 69, lost one question on EL

I want to thank authors of HFSJ for such a wonderful book and all the ranchers for posting good questions on java ranch which cleared most of the concepts.

I started the preparation 7 months back. i had decided to write that time itself and bought a voucher. but due to work pressure couldn't complete the exam. Ultimately i decided to write the exam since my voucher was getting expired this month .

Exam Experience:

Exam was pretty easy compared to enthuware and head first mocks. I thought most of the questions would be very difficult but to my astonishment it was pretty ok. It does have knowledge based questions. I got around 4 drag and drop questions which were pretty easy.

My Preparation details:

Book:
Head First Servlets and JSP

Mocks:
1. Enthuware mocks
2. Javabeat mocks
3. Marcus Green mocks
4. HFSJ first edition and second edition mocks

Notes:
1. Frederic Esnault notes good for revision, in sync with HFSJ.
2. Mikalai Zaikin notes.
2. JSTL specs.
3. Peaboy Design patterns notes.
4. Ashok's API reference notes. Gives a whole picture of API. Its very nice, do check it in SCWCD links.


My next target is to give SCBCD.
17 years ago
Hey,
Since you are doing the second revision why don't you just complete it. It will definitely help you find a good job or at least increases the prospect of getting a job.
Your question is not complete. Are you invoking the Tag with Empty Body ?

If that is the case then if you return EVAL_BODY_BUFFERED, the methods setBodyContent() and doInitBody() will not be called when the tag invoking the handler is empty. i.e if the body is empty it will directly go to the doEndTag().

If the tag invoking the handler is not empty and you are returning EVAL_BODY_BUFFERED, then we can be sure that in the TLD we don't have So the doAftetBody() has to be called.

Correct me if im wrong !
It is not possible to dynamically choose the file to include using static
However you can do this with jsp:include
The problem is in the JSP.

should be

No / should be present.

BTW have you also defined servlet in Web.xml ?