Neeraj Sharma

Greenhorn
+ Follow
since Apr 24, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Neeraj Sharma

Hi all,
Can anybody tell me how to construct arrays of strings from a vector dynamically?
I have a vector which has data in this form. /aaa /bbb /ccc are the indicators and the data follows them.
/aaa
xxx
xxx
xxx
xxx
xxx
xxx
/bbb
xxx
xxx
xxx
/ccc ....
/ccc ...
I want to dynamically shift /aaa contents into a separate array (say aaa). Similarly /bbb strings into bbb array. There is only one element (/ccc) which can repeat multiple times. In such a case how do we construct multiple arrays?
Thanks in advance.
20 years ago
Hello
I just checked it practically. Now after I made the request, while the status bar is still through
i.e immediately after i see the blue color in the status bar I closed the browser/ hit stop button. I noticed that the request was through and the database is updated. So once, the link is clicked it is through.
But, I am observing the following in the log file :
The first log is when I make the request and close the browser immediately (I can see the status bar below). The second log is when I wait till the end. They both look same
2003-04-25 11:29:57 SessionListener: sessionCreated('064BAAAD2AA39F7565B2961C2FBD0AD6')
2003-04-25 11:29:57 SessionListener: attributeAdded('064BAAAD2AA39F7565B2961C2FBD0AD6', 'wb3', 'pavan.WorkBean@1b717928')
2003-04-25 11:35:10 SessionListener: sessionCreated('53505D958B717354D82358D8EC1BA8F2')
2003-04-25 11:35:10 SessionListener: attributeAdded('53505D958B717354D82358D8EC1BA8F2', 'wb3', 'pavan.WorkBean@49a03929')
21 years ago
JSP
Hello
I just checked it practically. Now after I made the request, while the status bar is still through
i.e immediately after i see the blue color in the status bar I closed the browser/ hit stop button. I noticed that the request was through and the database is updated. So once, the link is clicked it is through.
But, I am observing the following in the log file :
The first log is when I make the request and close the browser immediately (I can see the status bar below). The second log is when I wait till the end. They both look same
2003-04-25 11:29:57 SessionListener: sessionCreated('064BAAAD2AA39F7565B2961C2FBD0AD6')
2003-04-25 11:29:57 SessionListener: attributeAdded('064BAAAD2AA39F7565B2961C2FBD0AD6', 'wb3', 'pavan.WorkBean@1b717928')
2003-04-25 11:35:10 SessionListener: sessionCreated('53505D958B717354D82358D8EC1BA8F2')
2003-04-25 11:35:10 SessionListener: attributeAdded('53505D958B717354D82358D8EC1BA8F2', 'wb3', 'pavan.WorkBean@49a03929')
21 years ago
JSP
Jessica:
Thanks for the reply. But I have observed a scenario. Let's take example of yahoo mail "Bulk Mail" and "Sent Mail". I tried clicking on them both one after another immediately. The result is random.
Also, what happens when the user hits stop button or close the browser when the request is still through(When the blue status bar below is half way through).
Thanks in anticipation.
21 years ago
JSP
Hello All!
I have a jsp application that integrates with a database. I just want to know what happens if a user clicks a link and closes the browser while the request is through. Here there are 2 to 3 scenarios. What happens when a user closes the browser/click stop button immediately after clicking the link. In IE we see a status bar at the bottom. What happens when a user closes the browser/cliks stop button while it is halfway through?
I believe once the request reaches the web server, the transaction is complete.
I would greatly appreciate if you can give me some information regarding this.
Thanks!!
21 years ago
JSP