Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

swati soni

+ Follow
since Aug 16, 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 swati soni

As found with Eclipse IDE :

- HelloAndroid] The connection to adb is down, and a severe error has occured.
- HelloAndroid] You must restart adb and Eclipse.
- HelloAndroid] Please ensure that adb is correctly located at 'C:\Documents and Settings\android-sdk-windows\tools\adb.exe' and can be executed.
11 years ago
I encountered code :
<form action ="#"> just wish to know , what exactly it means . Does it invokes any server-side functionality . If yes then how and what ?

I completely SCWCD exam with 82% marks . Just used Head First and a lot of web programming .
Thanks to this community for support .
11 years ago
Thanks Parth and Frits ... I got your point . Thanks for correcting me .
I m a little bit confused about the order of filter invocation in this exercise .
According to the DD and the order in which the filters are declared the order of

/Recipes/ should be 1,2,5 and that of /Recipes/Modify/ should be 1,4,5.
As thats what I found in /Recipes/Add/, which is : 1,3,5.
I m confused now .
I have doubts about httpsession

1. We know that request and response objects are lost as soon as a response is dispatched to client.

We get a http session from :

HttpSession session = request.getSession();

out.println("<a href=\""+response.encodeURL("DogListener")+"\">click me </a>"); ... (1)

Case 1: I turned off the cookies for my brower.
When I click on the url It displays a Blank page.

case 2: When I enabled cookies for my brower . It displayed result of DogListener.I worked as expected.

According to Head first servlets and jsp (1) must work as mentioned in book.
What is wrong with my application.

What I couldnot understand is :

If response Object is lost after response is dispatched ,How can a HttpSession corresponding to that Request and response can live.

Alright fine it lives even after the response is send back. Where it is stored.How does the container keeps track of it.

I really need to understand this concept.

Please provide explination.
12 years ago
I tried it. Its working fine . I had to struggle through it ,to make the work exactly the way told in the book. Please check your environmant variables set correctly . It might create some problem.

Please do exactly as written . It works fine.
hi all ,

I cleared SCJP certification (1.6 )(310-065) with 88% on 7th august ,09. Thanks to javaranch for much support.

12 years ago