swati soni

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

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.
13 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 ?
Hi

I completely SCWCD exam with 82% marks . Just used Head First and a lot of web programming .
Thanks to this community for support .
14 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/HopsList.do should be 1,2,5 and that of /Recipes/Modify/ModRecipes.do should be 1,4,5.
As thats what I found in /Recipes/Add/AddRecipes.do, 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.
15 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.



15 years ago