Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!

Ravissant Markenday

Ranch Hand
+ Follow
since Nov 12, 2006
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 Ravissant Markenday

Alright, i got it!
13 years ago
Hi Everyone!
Can i use java script in a servlet?I have a servlet with tagged html,now what i want to do is send some dynamic data though a link(not submit) to another servlet.

Thanks and regards,
Ravissant Markenday
[ March 09, 2007: Message edited by: Bear Bibeault ]
13 years ago
Hi Everyone!

I have a users regiter_servlet(a form) that upgrades the database.From there i pass control to the welcome_servlet(not a form) that extracts the users name and displays it, welcoming the new user.From this servlet i pass control to a third servlet with the help of a link in the second servlet. I want the 3rd servlet to display the user's name again.
Could anyone please tell me how I can do that.
Just for a general idea, this is how it should go:
servlet1(submit)>>>>>servlet2(link)>>>>>>servlet3(displays information submitted by servlet1 to servlet2)

Thanks a lot in advance,
Ravissant Markenday
13 years ago
hi everyone, im making an eshopping site and could use help with some queries.
Can i maintain a "shopping cart" using java script?I have done it using servlets before and want to do it using a client-side script(javascript) this time, so could anyone please tell me if this is possible , if yes how, and if no then why?
[ February 22, 2007: Message edited by: Bear Bibeault ]
Thanks a lot Baiju, Jeanne, Eric!
Thanks a lot Raghu, Ben ,Bear!
hi again, well i figured it out by myself,but then again i have some doubts.I found 2 approaches of which i could get only one working.
First, the approach i could'nt get, im including only the code snippents i did'nt understant:



could anyone please descriptively tell me what "jdbc:oracle:thin:@training:1521:Oracle" is?

Moving on to the second approach:



could anyone please tell me what the DSN exactly does?
Also I'd really appreciate it if someone could tell me the exact difference between the two approaches.

Thanks a lot,
Ravissant
Hi Everyone! could anyone please tell me how i can do database connectivity using the oracle database.
Following is the code i wrote but the table "rosm" just does'nt get updated



thanks a lot in advance,
Ravissant
Hi everyone!,
Im designing a html login page using javascript .This is how it goes:

If there's anything wrong with the fields(as in fields not filled etc), the verification takes place at the client end using java script.

But, if everything is ok, i want to pass the control to a servlet where the jdbc part takes place.
Now my question is : how do i pass the control from the html page to the servlet?


thanks a lot.
regards,
ravissant
[ February 19, 2007: Message edited by: Bear Bibeault ]
Hi Everyone!

Can i do database connectivity using javascript?if yes how?...and if no then why?

Thanks a lot in advance
regards,
Ravissant
Thanks for the detailed reply Chris!
Hi Everyone!
could anyone please tell me what is meant by an address space in terms of threads( from the definition that threads share the same address space).

Thanks in advance,
Ravissant Markenday
Thanks Cameron!!
13 years ago
Thanks Ben !!
13 years ago
Hi everyone !

Could anyone please tell me when exactly the destroy() method in the servlet lifecycle is called and by whom?

thanks in advance,
Ravissant Markenday
13 years ago