Ashish Kothari

Ranch Hand
+ Follow
since May 16, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Ashish Kothari

(1)clone method should be used.
(2) vector ,arraylist is a better option.
Ashish
21 years ago
can anybody tell me how to use jdb.
I went thru the docs ,but could not be able to understand completely.
How to set breakpoints( I was unable to set).
please start from scratch.
Ashish
I want to swap two strings thru a method like swap(String str,String str1).
but passing thru reference does not work,do you know How can I swap values of String thru method.
Is this possible as strings are immutable ?
Ashish
21 years ago
it is just matter of preferance and style and sometimes to avoid confusion,as peter told.
Ashish
21 years ago
Thanks,peter,though,I know the exact details of both but I was unable to explain it somebody who asked .
One more question I would like (that is diffrent from this one),I want to swap two strings thru a method like swap(String str,String str1).
but passing thru reference does not work,do you know How can I swap values of String thru method.
Is this possible as strings are immutable.
21 years ago
Thanks,I have come thru another solution ,as I am not passing any data ,so why don't I use request.getRequestURI to know the name of the page and proceed according to it.
is this ok?
21 years ago
JSP
yeah,thanks,it is true,but why not null ?
Ashish
21 years ago
JSP
I am not sending any data thru anything either form control or any other method.
Ashish
21 years ago
JSP
I have two jsp pages, one page is submiting some data ,the problem is that how to save data in database as well as well show processed data on another jsp(I don't want to open conncetion on another jsp page).
should I use servlet between two jsp pages that saves data and forward request to second jsp.
Another approach is to use self referential form.
which approach would be better.
Or any new approach ? If so ,please suggest.
Ashish
21 years ago
JSP
<jsp:useBean id="name" class="java.lang.String" />
<%= name %>
what would be output of the above code.
21 years ago
JSP
I have three jsp pages suppose x,y,z.Both x and z are processed by y jsp page.
Now I want to know ,How can I know that whether request has come from x page or z page.
please help.
regards
Ashish
21 years ago
JSP
What is diffrence between Singleton and a Nested class?
I think nested class is same like singleton except that is inside a class.
please help.
21 years ago
what is Http Tunneling in servlet Context
21 years ago
Thank you Surendran,Actually I didn't read your last message.
It would be lot helping.regards.
Ashish
can I use jdb for server side debugging ? or any other tool available for debugging of jsp?
21 years ago
JSP