cookie problem!

2000-12-21 Thread Varun
awebserver, but when i use this on a tomcat server, i get a nullpointerexception when i try to retrieve the cookies after i have executed the above code, any help?...or suggestions on where im going wrong Thanx in adva

nullpointer exception

2000-12-20 Thread Varun
, but when i use this on a tomcat server, i get a nullpointerexception when i try to retrieve the cookies after i have executed the above code, any help?...or suggestions on where im going wrong Thanx in advance Varun === To u

Cookie

2000-12-08 Thread Varun
Hi, When I make a cookie and then display it's value, I see something like: Cookie Name : jwssessionid Cookie Value : J1JFRBQBZQDEMQAQAAA even though I entered a name=varun and value=007. The cookie.length shows me "1". Now when I enter another name and value then I am shown

Re: how to delete a cookie immediately?

2000-12-06 Thread Varun
hi ive done that ( cookie.setMaxAge(0) ) but it does'nt delete it.it only deletes it when i close the browser.any more suggestions??? - Original Message - From: "Sachin S. Khanna" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 06, 2000 1:13 PM Subject: Re: how

can't i write a cookie once the form is submitted?

2000-12-06 Thread Varun
ode_cookie,quantity_cookie); response.addCookie(cookie_cart); out.println(" Cookie Made ."); } but im getting an error which is : java.lang.NullPointerException any help? Thanx Varun === To unsubscribe: mai

Re: how to delete a cookie immediately?

2000-12-06 Thread Varun
hi but we r not talking of cookies in javascript!, but cookies in jsp Varun - Original Message - From: "David Maurange" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 06, 2000 7:50 PM Subject: Re: how to delete a cookie immediately? hi all, to do t

Re: how to delete a cookie immediately?

2000-12-06 Thread Varun
to delete a cookie immediately? Varun¡ê??¨²o?¡ê? If you don't want to keep the cookie after your browser is closed, why would you like use cookie ? And why would you kill the cookie? ?¨² 12/6/00 1:14:00 PM ?¨²D¡ä¦Ì¨¤¡êo the solution u gave only works when the browser is closed then the co

Re: how to delete a cookie immediately?

2000-12-06 Thread Varun
jsp ,right? ?¨² 12/7/00 9:52:00 AM ?¨²D¡ä¦Ì¨¤¡êo hi but we r not talking of cookies in javascript!, but cookies in jsp Varun - Original Message - From: "David Maurange" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 06, 2000 7:50 PM Subject: Re: ho

how to retrieve the value from the url ?

2000-12-05 Thread Varun
hi how can i retrieve a value from the url , im using String id = request.getQueryString(); Suppose http://localhost/index.jsp?code=12345 if i write the above code,then the value of id is code=12345 which i do not want, i only want the value ie 12345, how do i achieve this? Thanx Varun

request.form??

2000-12-05 Thread Varun
hi cant i use request.Form on Tomcat, do i have to use request.getParameter, if request.getParameter can retrieve the values from the querystring as well as the form then whats the use of request.QueryString and request.form?? Thanx in advance Varun

Re: how to retrieve the value from the url ?

2000-12-05 Thread Varun
thanx alot regards Varun - Original Message - From: "jaspreet" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 05, 2000 7:07 PM Subject: Re: how to retrieve the value from the url ? use request.getParameter("code") this will return you th

how to delete a cookie immediately?

2000-12-05 Thread Varun
hi how can i delete a cookie immediately,i used cookie.setMaxAge(0); where cookie is the name of the cookie, the cookie is not deleted until i close the browser, any help? thanx in advance Varun === To unsubscribe: mailto

Re: how to delete a cookie immediately?

2000-12-05 Thread Varun
the solution u gave only works when the browser is closed then the cookie gets deleted and not when the browser is still open which is what i want, to delete the cookie while the browser is still open, that is the default nature of the cookie , at least that is what i read thanx anyway Varun

how to get the Content Length

2000-11-28 Thread Varun
hi i wanted to know the equivalent of Request.ServerVariables("content_length") of ASP in Jsp, since i program in Asp's.ive just shifted to Jsp's Regards Varun === To unsubscribe: mailto [EMAIL PROTECTED]

how to get the date and time

2000-11-28 Thread Varun
hi how do i retrieve the date in this format eg: 28112000 or 281100 and the time aswell , im using Date.getDate() which returns only the day that is 28, any answers? regards varun === To unsubscribe: mailto [EMAIL PROTECTED

Re: simple Jsp

2000-11-27 Thread Varun
Thanx alot for ur helpJayson. regards Varun - Original Message - From: "JSP Insider" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 25, 2000 4:39 AM Subject: Re: simple Jsp hi can i just create a simple jsp page without any servlets and

Re: simple Jsp

2000-11-24 Thread Varun
hi can i just create a simple jsp page without any servlets and javabeans to build a web application...whats the disadvantage?.in that case can i use tomcat or any web server that supports jsp, for that matter regards varun

(no subject)

2000-04-18 Thread Varun
s a hyperlink which takes me to the file ITmenu.jsp Nowhere have I done any coding like this! Any help will be much appreciated I'm using JSWDK-1.0.1 on Windows NT m/c Thnx Varun === To unsubscribe: mailto [EMAIL PROTECTED]

problem with jsp:forward

2000-04-18 Thread Varun
tings do i need to change. Thnx Varun - Original Message ----- From: Varun [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 18, 2000 2:13 PM Subject: (no subject) hi all! i'm having this peculiar problem if i use jsp:forward page="ITmenu.jsp" /

(no subject)

2000-04-06 Thread Verma Varun
Hi All! I'm using jswdk-1.0.1 from sun. I would like to know whether we can use applets with jsp. Any sample code would be highly appreciated. Thanx in advance! \/ === To unsubscribe: mailto [EMAIL PROTECTED] with body:

(no subject)

2000-03-27 Thread Verma Varun
hi all, i am having problem with caching in IE5 the code given in jguru faqs is not working anybody can help?? thnx in advance varun === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST&q

live connect

2000-03-09 Thread Verma Varun
Hi all! in some recent mails, there has been a mention of LIVE CONNECT in ref. to using JavaScript and Java in a .jsp Could somebody please tell me what this LIVE CONNECT is?? thnx varun === To unsubscribe: mailto

methods in JSP

2000-03-09 Thread Verma Varun
code % } % hope it will help somebody! Actually, i wasted a lot of time trying to do this :) varun === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets ca

isThreadSafe

2000-02-25 Thread Verma Varun
Hi all! Can somebody please tell me what is meant by %@ page isThreadSafe="false" % i did'nt understand the isThreadSafe property. thnx varun === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signo

(no subject)

2000-02-19 Thread Verma Varun
beans, there is no problem. Anyone got any ideas?? Please reply ASAP. Thanx varun === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be found at: http://java.sun.com/pr