srinivas reddy garu namasthe
namasthe srinivas reddy anthaa baagena. pani chaala undi - Original Message - From: Srinivasa Reddy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 27, 2001 12:24 PM Subject: Re: signoff ni yabba.. pani modda leda.. K. Srinivas Reddy Associate E-Solutions Consultant(E-Business) B-65, J B Sawant Marg, Road No.21, Wagle Industrial Esttate, THANE-400604 Ph: 91-22-5834643/44/45 Extn: 2221 MaiIID: [EMAIL PROTECTED] : [EMAIL PROTECTED] -Original Message- From: Jithesh Kollarkandy [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, March 27, 2001 11:38 AM To: [EMAIL PROTECTED] Subject: Re: signoff Hi Malini: How are u dear? Shall we be friends? Regards, Jithesh Kollarkandy, Software Engineer, IT Solutions (India) Pvt Limited, South End Road, Bangalore, India. Phone : 6655122/44 Extn : 2134 "[Malini Iyer]" malini.iyer@FTINTo: [EMAIL PROTECTED] DIA.COM cc: Sent by: A Subject: signoff mailing list about Java Server Pages specification and reference JSP-INTEREST@jav a.sun.com 03/27/01 11:02 AM Please respond to A mailing list about Java Server Pages specification and reference == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001 === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
assigning javascript value to a java variable in JSP
Hi! JSP-INTEREST, I would like to know is there anyway to get selectedindex value from selection object by using Javascript and assign it to a java variable in JSP example : script function getIndex(){ ? = window.document.selectionobject.options[0].selectedIndex; } /script p/s : ? can represent Java variable? -- Best regards, Maizatulakmam mailto:[EMAIL PROTECTED] 603-89965000 ext 6427 === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Back button
Hi Mihir, I have an idea. As far as I understood, JSP Page 1 forwards to Servlet which forwards to JSP Page 2 (the status page), right? Make another JSP, JSP Page 3. Let the Servlet forward to JSP Page 3 instead of the status page. On this Page 3, Output to the browser a (meta) refresh to either the status page or your homepage, depending on, say, Referrer?? This way, when the user presses back button from the status page, he goes to JSP Page 3, which sends him a refresh tag which redirects to the homepage (or any other page) If you want to, you can put all this "Page 3" code within the Status page itself, somehow. Oh, if you're sending info from the servlet to the Status page via the forward tag (or whatever), u might have to use beans (or whatever) If I'm completely wrong, hey, i'm a newbie. Good luck, Erwin At 01:42 PM 3/26/01 -0600, you wrote: Hi, I have a jsp status page, which is displayed by the call from a servlet(this in turn was called by another jsp). I do not want the back button on the browser to take me to the jsp which had called by the servlet, but to some other page(homepage etc.). Is there any method to do it directly by including something in the status page. Any help is really appreciated. Thanks Regards Mihir === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: do you know the difference?
Hi. As far, as I know these are the same functions. In older versions of Servlet API there was only getServletConfig().getServletContext().getRequestDispatcher("somefile. jsp").forward(request,response); the second possibility was added later. I suppose that the first one wasn't removed to keep compatibility with code written in earlier versions of Servlet API specification. regards Michal - Original Message - From: "Shawn Zhu" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 26, 2001 9:51 PM Subject: [JSP-INTEREST] do you know the difference? Hi in a servlet that takes request and response parameters. You can use request.getRequestDispatcher("somefile.jsp").forward(request,response) ; or getServletConfig().getServletContext().getRequestDispatcher("somefile. jsp"). forward(request,response); Are they the same thing? If they are then I'd assume the later is used if you don't have request object handy in that function. == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Back button
one thing that can be done is that by writing a small javascript code , you can capture the browser's back button and write a javascript to take the user to anew jsp page once the back button is clicked.this can be done by submitting a new form or by using jsp:sendRedirect. give your feedback if u r able to do it this way. ash - Original Message - From: Erwin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 27, 2001 2:26 PM Subject: Re: Back button Hi Mihir, I have an idea. As far as I understood, JSP Page 1 forwards to Servlet which forwards to JSP Page 2 (the status page), right? Make another JSP, JSP Page 3. Let the Servlet forward to JSP Page 3 instead of the status page. On this Page 3, Output to the browser a (meta) refresh to either the status page or your homepage, depending on, say, Referrer?? This way, when the user presses back button from the status page, he goes to JSP Page 3, which sends him a refresh tag which redirects to the homepage (or any other page) If you want to, you can put all this "Page 3" code within the Status page itself, somehow. Oh, if you're sending info from the servlet to the Status page via the forward tag (or whatever), u might have to use beans (or whatever) If I'm completely wrong, hey, i'm a newbie. Good luck, Erwin At 01:42 PM 3/26/01 -0600, you wrote: Hi, I have a jsp status page, which is displayed by the call from a servlet(this in turn was called by another jsp). I do not want the back button on the browser to take me to the jsp which had called by the servlet, but to some other page(homepage etc.). Is there any method to do it directly by including something in the status page. Any help is really appreciated. Thanks Regards Mihir === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Jsp equivalent ....
Hi! In Asp we can write something like lTitle = Server.HTMLEncode(Request("Title")) lHTMLpara = lHTMLpara "TRTDINPUT SIZE=""70"" TYPE=""text"" NAME=""Title"" VALUE=""" lTitle """ MAXLENGTH=""200""/TD/TR" Chr(13) Can any one say what is the jsp equivalent for Server.HTMLEncode...? Thanks in advance.. Muthu === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Jsp equivalent ....
you could try HttpServletResponse.encodeURL(string)... -Original Message- From: ext R.Muthukumar [mailto:[EMAIL PROTECTED]] Sent: 27. March 2001 13:27 To: [EMAIL PROTECTED] Subject: Jsp equivalent Hi! In Asp we can write something like lTitle = Server.HTMLEncode(Request("Title")) lHTMLpara = lHTMLpara "TRTDINPUT SIZE=""70"" TYPE=""text"" NAME=""Title"" VALUE=""" lTitle """ MAXLENGTH=""200""/TD/TR" Chr(13) Can any one say what is the jsp equivalent for Server.HTMLEncode...? Thanks in advance.. Muthu == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: signoff
Try to avoid personal messages dear.. Deepak -Original Message- From: Nishant Baranwal [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Tuesday, March 27, 2001 12:19 PM Subject: Re: signoff I guess this is not a personal mailing list Nishant Baranwal -Original Message- From: Jithesh Kollarkandy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 27, 2001 11:38 AM To: [EMAIL PROTECTED] Subject: Re: signoff Hi Malini: How are u dear? Shall we be friends? Regards, Jithesh Kollarkandy, Software Engineer, IT Solutions (India) Pvt Limited, South End Road, Bangalore, India. Phone : 6655122/44 Extn : 2134 "[Malini Iyer]" malini.iyer@FTINTo: [EMAIL PROTECTED] DIA.COM cc: Sent by: A Subject: signoff mailing list about Java Server Pages specification and reference JSP-INTEREST@jav a.sun.com 03/27/01 11:02 AM Please respond to A mailing list about Java Server Pages specification and reference === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Back button
Hi, Unfortunately, there is nothing which can stop the user from pressing back button and again submitting the page, but you can have some means by which you can monitor on the page that it is not getting visited using back/forward button, i.e. refrainig the browser from caching the page. One way could be using the META HTTP-EQUIV-REFRESH tag so that the page will refresh itself, and, in the page scope, U can set some variables which will take U ( i.e. controller - servlet will do this ) to the home page directly Other way may be using a session level variable which identifies whether the page can be navigated in such a way !!! *** For more information on disabling caching, check out Phil Paxton's great article: Cache No More. http://www.learnasp.com/learn/cachenomore.asp *** This is for ASP but similar technique can be devised for JSP as well. Erwin [EMAIL PROTECTED] on 03/27/2001 03:26:26 PM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Amol Athavale/LTITLPUN) Subject: Re: Back button Hi Mihir, I have an idea. As far as I understood, JSP Page 1 forwards to Servlet which forwards to JSP Page 2 (the status page), right? Make another JSP, JSP Page 3. Let the Servlet forward to JSP Page 3 instead of the status page. On this Page 3, Output to the browser a (meta) refresh to either the status page or your homepage, depending on, say, Referrer?? This way, when the user presses back button from the status page, he goes to JSP Page 3, which sends him a refresh tag which redirects to the homepage (or any other page) If you want to, you can put all this "Page 3" code within the Status page itself, somehow. Oh, if you're sending info from the servlet to the Status page via the forward tag (or whatever), u might have to use beans (or whatever) If I'm completely wrong, hey, i'm a newbie. Good luck, Erwin At 01:42 PM 3/26/01 -0600, you wrote: Hi, I have a jsp status page, which is displayed by the call from a servlet(this in turn was called by another jsp). I do not want the back button on the browser to take me to the jsp which had called by the servlet, but to some other page(homepage etc.). Is there any method to do it directly by including something in the status page. Any help is really appreciated. Thanks Regards Mihir === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
signoff
Try to avoid personal messages dear.. -Original Message- From: Deepak Chawla [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, March 27, 2001 4:22 PM To: [EMAIL PROTECTED] Subject: Re: signoff Try to avoid personal messages dear.. Deepak -Original Message- From: Nishant Baranwal [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Tuesday, March 27, 2001 12:19 PM Subject: Re: signoff I guess this is not a personal mailing list Nishant Baranwal -Original Message- From: Jithesh Kollarkandy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 27, 2001 11:38 AM To: [EMAIL PROTECTED] Subject: Re: signoff Hi Malini: How are u dear? Shall we be friends? Regards, Jithesh Kollarkandy, Software Engineer, IT Solutions (India) Pvt Limited, South End Road, Bangalore, India. Phone : 6655122/44 Extn : 2134 "[Malini Iyer]" malini.iyer@FTINTo: [EMAIL PROTECTED] DIA.COM cc: Sent by: A Subject: signoff mailing list about Java Server Pages specification and reference JSP-INTEREST@jav a.sun.com 03/27/01 11:02 AM Please respond to A mailing list about Java Server Pages specification and reference === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets = == To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001 === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Jsp equivalent ....
boss... It is not working any other alternative..? Muthu - Original Message - From: "Abhishek Sharan" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 27, 2001 4:17 PM Subject: Re: Jsp equivalent you could try HttpServletResponse.encodeURL(string)... -Original Message- From: ext R.Muthukumar [mailto:[EMAIL PROTECTED]] Sent: 27. March 2001 13:27 To: [EMAIL PROTECTED] Subject: Jsp equivalent Hi! In Asp we can write something like lTitle = Server.HTMLEncode(Request("Title")) lHTMLpara = lHTMLpara "TRTDINPUT SIZE=""70"" TYPE=""text"" NAME=""Title"" VALUE=""" lTitle """ MAXLENGTH=""200""/TD/TR" Chr(13) Can any one say what is the jsp equivalent for Server.HTMLEncode...? Thanks in advance.. Muthu == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Project organization
Hey: I've been investigating for a while, we want to work in a team and use a tool that let us put all the work together (in only one place). Plus, we want to define some (or reuse) methodology for 'fast' developing or at least not to write everything. And to end it, we need to declare some libraries where we can makes templates and 'wizards' for html output. Do you recomend Tag libraries? For security issues, is it good to get involved in EJB? Is Struts some serious to think about it, I mean it because it is nightly release (unstable). Thanks for all. = - Ingeniero Atilio Ranzuglia Buteler [EMAIL PROTECTED] - __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/?.refer=text === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Project organization
hi, i can answer only to two of them (personal opinion) Do you recomend Tag libraries? yes! they are very flexible. Be aware that different web server may implements Custom tags in a different way (at least, it was like that as of October 2000) Is Struts some serious to think about it, I mean it because it is nightly release (unstable). yes! you can implement your own Struts by following hte model described by Struts, i.e. JSP -Server Controller -Action Classes, plus JavaBean for properties and eventually JSP Custom tags... regards marco Thanks for all. = - Ingeniero Atilio Ranzuglia Buteler [EMAIL PROTECTED] - __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/?.refer=text == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: srinivas reddy garu namasthe
Gentlemen please be courteous to other developers on the list , reply personal messages only to the intended people and not to the entire mailing list Santosh Amit Parmar [EMAIL PROTECTED] on 03/26/2001 03:14:57 AM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Santosh Daryani/IT/Aon Consulting) Subject: srinivas reddy garu namasthe namasthe srinivas reddy anthaa baagena. pani chaala undi - Original Message - From: Srinivasa Reddy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 27, 2001 12:24 PM Subject: Re: signoff ni yabba.. pani modda leda.. K. Srinivas Reddy Associate E-Solutions Consultant(E-Business) B-65, J B Sawant Marg, Road No.21, Wagle Industrial Esttate, THANE-400604 Ph: 91-22-5834643/44/45 Extn: 2221 MaiIID: [EMAIL PROTECTED] : [EMAIL PROTECTED] -Original Message- From: Jithesh Kollarkandy [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, March 27, 2001 11:38 AM To: [EMAIL PROTECTED] Subject: Re: signoff Hi Malini: How are u dear? Shall we be friends? Regards, Jithesh Kollarkandy, Software Engineer, IT Solutions (India) Pvt Limited, South End Road, Bangalore, India. Phone : 6655122/44 Extn : 2134 "[Malini Iyer]" malini.iyer@FTINTo: [EMAIL PROTECTED] DIA.COM cc: Sent by: A Subject: signoff mailing list about Java Server Pages specification and reference JSP-INTEREST@jav a.sun.com 03/27/01 11:02 AM Please respond to A mailing list about Java Server Pages specification and reference == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001 === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: refreshing problem
maybe you wanna check for the session variable and session ID and then validate the database informarion on the page. Siddharth Bansal Consultant (CT/ADI/FSI) Cap Gemini Ernst Young Kapil kapil@OPTECHSOLUTo: [EMAIL PROTECTED] TIONS.COM cc: Sent by: A Subject: refreshing problem mailing list about Java Server Pages specification and reference JSP-INTEREST@jav a.sun.com 03/27/2001 08:17 AM Please respond to A mailing list about Java Server Pages specification and reference Hello, The problem is that the forms that I have made in jsp are connected with database using jdbc and the server that I am using is weblogic. At the first time when page loads it shows my previous records means the records of the user that last logged in and not of the current user. But on refreshing page it shows the records of current user. Can anybody have a solution for this Thanks in advance kapil === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets __ The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Cap Gemini Ernst Young is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Open new Window
I have a help button or a link text. If I click on it, I want it to open a new page (for example: helpdocument.jsp). What is the code to open a new window? Thanks === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: refreshing problem
Are you loading the jsp of both user the one after the other? I mean is it possible that the browser reads from the cache the data of the last logged user and only after are a refresh it loads the new data? Try to disable the browser to read the CACHE. Let me know if you find something! On Tue, 27 Mar 2001, Kapil wrote: Hello, The problem is that the forms that I have made in jsp are connected with database using jdbc and the server that I am using is weblogic. At the first time when page loads it shows my previous records means the records of the user that last logged in and not of the current user. But on refreshing page it shows the records of current user. Can anybody have a solution for this Thanks in advance kapil === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Off topic ( compiling java )
C:\A\B\test.java C:\A\C\Some classes needed by test.java How to compile test.java from C:\A\B\ with the other classes in C:\A\C\ Thanks _ Get your FREE download of MSN Explorer at http://explorer.msn.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Response has already been committed
Hi Dave, this is the problem. I do have a session timeout set to 1min for testing purposes. In every jsp page of my app I check if(session.getValue("user") == null) and if this is true(like when the session expires) I do a sendRedirect to my login page. That's where I get the exception: How can I solve this? Thanks in advance. Ciao, Vittorio Included servlet error: 500 Location: /newfeatures/stats.jsp Internal Servlet Error: javax.servlet.ServletException: Response has already been committed at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java, Compiled Code) at _0002fheader_0002ejspheader_jsp_9._jspService(_0002fheader_0002ejspheader_js p_9.java, Compiled Code) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja va, Compiled Code) at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java, Compiled Code) at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.RequestDispatcherImpl.include(RequestDispatcherImpl.j ava, Compiled Code) at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java, Compiled Code) at _0002fstats_0002ejspstats_jsp_6._jspService(_0002fstats_0002ejspstats_jsp_6. java, Compiled Code) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja va, Compiled Code) at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java, Compiled Code) at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled Code) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java, Compiled Code) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) Root cause: java.lang.IllegalStateException: Response has already been committed at org.apache.tomcat.core.HttpServletResponseFacade.sendError(HttpServletRespon seFacade.java, Compiled Code) at org.apache.tomcat.core.HttpServletResponseFacade.sendRedirect(HttpServletRes ponseFacade.java, Compiled Code) at _0002fheader_0002ejspheader_jsp_9._jspService(_0002fheader_0002ejspheader_js p_9.java, Compiled Code) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja va, Compiled Code) at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java, Compiled Code) at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.RequestDispatcherImpl.include(RequestDispatcherImpl.j ava, Compiled Code) at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java, Compiled Code) at _0002fstats_0002ejspstats_jsp_6._jspService(_0002fstats_0002ejspstats_jsp_6. java, Compiled Code) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja va, Compiled Code) at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java, Compiled Code) at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled Code) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java, Compiled Code) at
Re: Off topic ( compiling java )
Include the directory where the classes are stored in your classpath. Assuming that u have classpath set to something like this "C:\JDK1.2\bin;C:\JSDK2.0\lib" append the directory where additional classes are stored so it would be .. "C:\JDK1.2\bin;C:\JSDK2.0\lib;C:\A\C" Hope this helps u . Regards, Divakar -Original Message- From: sufi malak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 27, 2001 10:29 AM To: [EMAIL PROTECTED] Subject: Off topic ( compiling java ) C:\A\B\test.java C:\A\C\Some classes needed by test.java How to compile test.java from C:\A\B\ with the other classes in C:\A\C\ Thanks _ Get your FREE download of MSN Explorer at http://explorer.msn.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Off topic ( compiling java )
include both the paths i.e c:\a\b and c:\a\c in the classpath In the c:\a\b\test.java, write first line as package "same directory folder name of c:\a\c" then try compiling. -Original Message- From: sufi malak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 27, 2001 10:29 AM To: [EMAIL PROTECTED] Subject: Off topic ( compiling java ) C:\A\B\test.java C:\A\C\Some classes needed by test.java How to compile test.java from C:\A\B\ with the other classes in C:\A\C\ Thanks _ Get your FREE download of MSN Explorer at http://explorer.msn.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Off topic ( compiling java )
Add in CLASSPATH C:\A\C -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of sufi malak Sent: Tuesday, March 27, 2001 11:29 AM To: [EMAIL PROTECTED] Subject: Off topic ( compiling java ) C:\A\B\test.java C:\A\C\Some classes needed by test.java How to compile test.java from C:\A\B\ with the other classes in C:\A\C\ Thanks _ Get your FREE download of MSN Explorer at http://explorer.msn.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: refreshing problem
Hi Kapil, What kind of browser do you use? IE? If you are using IE, you must delete the cache in disk and config it to read data from web server every time you visit the page not from the cache. You can config IE in tool - Internet option - setup. Try it again. Regards, Vincent --- Kapil [EMAIL PROTECTED] ªº¶l¥ó¤º®e: Hello, The problem is that the forms that I have made in jsp are connected with database using jdbc and the server that I am using is weblogic. At the first time when page loads it shows my previous records means the records of the user that last logged in and not of the current user. But on refreshing page it shows the records of current user. Can anybody have a solution for this Thanks in advance kapil === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets _ Do You Yahoo!? µn°O§K¶Oªº @yahoo.com.tw ¹q¤l¶l¥ó @ http://mail.yahoo.com.tw Get your free @yahoo.com.tw address at http://mail.yahoo.com.tw === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Open new Window
You can write this tag in your page: input type="button" value="help" onclick="window.open('helpdocument.jsp')" --- Thuy Murphy [EMAIL PROTECTED] ªº¶l¥ó¤º®e: I have a help button or a link text. If I click on it, I want it to open a new page (for example: helpdocument.jsp). What is the code to open a new window? Thanks === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets _ Do You Yahoo!? µn°O§K¶Oªº @yahoo.com.tw ¹q¤l¶l¥ó @ http://mail.yahoo.com.tw Get your free @yahoo.com.tw address at http://mail.yahoo.com.tw === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Tomcat + JavaMail
with the activation.jar and mail.jar in the classpath, do i need to have a smtp thing setup in my server as well? basically what else do i need? thanks for any help/suggestions. ced [EMAIL PROTECTED] wrote: Yes the activation.jar and mail.jar should be in the classpath as well. Have a nice day. With regards, Sachin S. Khanna. www.emailanorder.com - Original Message - From: Nicholas Larsson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 26, 2001 12:15 AM Subject: Tomcat + JavaMail Hi Hoe do I configure and use JavaMail with tomcat? Do I need to put activation.jar and mail.jar in the webserver? file://nico === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: assigning javascript value to a java variable in JSP
Use cookiesit's cleaner create the cookie in Javascript, read it using the Cookie methods. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Vincent Lin Sent: Tuesday, March 27, 2001 9:05 PM To: [EMAIL PROTECTED] Subject: Re: assigning javascript value to a java variable in JSP Hi Maizatulakmam, You must submit this form, and use the command: % String selectedValue = request.getParameter("selectionobject"); % in the JSP you submit which you submit this page to. The value you specified in the option tag which you selected will be assigned to the variable selectedValue. Regards, Vincent --- Maizatulakmam Ali [EMAIL PROTECTED] ªº¶l¥ó¤º®e: Hi! JSP-INTEREST, I would like to know is there anyway to get selectedindex value from selection object by using Javascript and assign it to a java variable in JSP example : script function getIndex(){ ? = window.document.selectionobject.options[0].selectedIndex; } /script p/s : ? can represent Java variable? -- Best regards, Maizatulakmam mailto:[EMAIL PROTECTED] 603-89965000 ext 6427 == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets _ Do You Yahoo!? µn°O§K¶Oªº @yahoo.com.tw ¹q¤l¶l¥ó @ http://mail.yahoo.com.tw Get your free @yahoo.com.tw address at http://mail.yahoo.com.tw == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Back button
hello, this thing can be tried for disabling back button. the url where the back button has to disabled should be called using this functionality. script language="javascript"!-- function somefunction(){ window.open('theurl'); } --/script a href="javascript:somefunction()"abc/a i have tried it in ie and it work.. regards, piyush. - Original Message -- Amol Athavale [EMAIL PROTECTED] wrote: To:[EMAIL PROTECTED] From:Amol Athavale [EMAIL PROTECTED] Date:Tue, 27 Mar 2001 15:59:31 +0530 Subject: Re: Back button Hi, Unfortunately, there is nothing which can stop the user from pressing back button and again submitting the page, but you can have some means by which you can monitor on the page that it is not getting visited using back/forward button, i.e. refrainig the browser from caching the page. One way could be using the META HTTP-EQUIV-REFRESH tag so that the page will refresh itself, and, in the page scope, U can set some variables which will take U ( i.e. controller - servlet will do this ) to the home page directly Other way may be using a session level variable which identifies whether the page can be navigated in such a way !!! *** For more information on disabling caching, check out Phil Paxton's great article: Cache No More. http://www.learnasp.com/learn/cachenomore.asp *** This is for ASP but similar technique can be devised for JSP as well. Erwin [EMAIL PROTECTED] on 03/27/2001 03:26:26 PM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Amol Athavale/LTITLPUN) Subject: Re: Back button Hi Mihir, I have an idea. As far as I understood, JSP Page 1 forwards to Servlet which forwards to JSP Page 2 (the status page), right? Make another JSP, JSP Page 3. Let the Servlet forward to JSP Page 3 instead of the status page. On this Page 3, Output to the browser a (meta) refresh to either the status page or your homepage, depending on, say, Referrer?? This way, when the user presses back button from the status page, he goes to JSP Page 3, which sends him a refresh tag which redirects to the homepage (or any other page) If you want to, you can put all this "Page 3" code within the Status page itself, somehow. Oh, if you're sending info from the servlet to the Status page via the forward tag (or whatever), u might have to use beans (or whatever) If I'm completely wrong, hey, i'm a newbie. Good luck, Erwin At 01:42 PM 3/26/01 -0600, you wrote: Hi, I have a jsp status page, which is displayed by the call from a servlet(this in turn was called by another jsp). I do not want the back button on the browser to take me to the jsp which had called by the servlet, but to some other page(homepage etc.). Is there any method to do it directly by including something in the status page. Any help is really appreciated. Thanks Regards Mihir === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets _ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Back button
Piyush, this acknowledgement page will be generated by servlet/jsp after committing the data to database, hence, I think, the pop-up page may not be useful. Amol piyush jain [EMAIL PROTECTED] on 03/28/2001 11:17:45 AM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Amol Athavale/LTITLPUN) Subject: Re: Back button hello, this thing can be tried for disabling back button. the url where the back button has to disabled should be called using this functionality. script language="javascript"!-- function somefunction(){ window.open('theurl'); } --/script a href="javascript:somefunction()"abc/a i have tried it in ie and it work.. regards, piyush. - Original Message -- Amol Athavale [EMAIL PROTECTED] wrote: To:[EMAIL PROTECTED] From:Amol Athavale [EMAIL PROTECTED] Date:Tue, 27 Mar 2001 15:59:31 +0530 Subject: Re: Back button Hi, Unfortunately, there is nothing which can stop the user from pressing back button and again submitting the page, but you can have some means by which you can monitor on the page that it is not getting visited using back/forward button, i.e. refrainig the browser from caching the page. One way could be using the META HTTP-EQUIV-REFRESH tag so that the page will refresh itself, and, in the page scope, U can set some variables which will take U ( i.e. controller - servlet will do this ) to the home page directly Other way may be using a session level variable which identifies whether the page can be navigated in such a way !!! *** For more information on disabling caching, check out Phil Paxton's great article: Cache No More. http://www.learnasp.com/learn/cachenomore.asp *** This is for ASP but similar technique can be devised for JSP as well. Erwin [EMAIL PROTECTED] on 03/27/2001 03:26:26 PM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Amol Athavale/LTITLPUN) Subject: Re: Back button Hi Mihir, I have an idea. As far as I understood, JSP Page 1 forwards to Servlet which forwards to JSP Page 2 (the status page), right? Make another JSP, JSP Page 3. Let the Servlet forward to JSP Page 3 instead of the status page. On this Page 3, Output to the browser a (meta) refresh to either the status page or your homepage, depending on, say, Referrer?? This way, when the user presses back button from the status page, he goes to JSP Page 3, which sends him a refresh tag which redirects to the homepage (or any other page) If you want to, you can put all this "Page 3" code within the Status page itself, somehow. Oh, if you're sending info from the servlet to the Status page via the forward tag (or whatever), u might have to use beans (or whatever) If I'm completely wrong, hey, i'm a newbie. Good luck, Erwin At 01:42 PM 3/26/01 -0600, you wrote: Hi, I have a jsp status page, which is displayed by the call from a servlet(this in turn was called by another jsp). I do not want the back button on the browser to take me to the jsp which had called by the servlet, but to some other page(homepage etc.). Is there any method to do it directly by including something in the status page. Any help is really appreciated. Thanks Regards Mihir === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets _ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com
Re: Off topic ( compiling java )
Use Package for the file to be imported... sufi malak [EMAIL PROTECTED] on 03/27/2001 10:59:20 PM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Amol Athavale/LTITLPUN) Subject: Off topic ( compiling java ) C:\A\B\test.java C:\A\C\Some classes needed by test.java How to compile test.java from C:\A\B\ with the other classes in C:\A\C\ Thanks _ Get your FREE download of MSN Explorer at http://explorer.msn.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
STRUTS
ok, so I was loking at Struts on Jakarta's page. I'm a bit lost here.. does strusts actaully do something that isn't done already in JSP or HTML? I looked through it and it seemed everything was already in either java or HTML already. For example, the image command... it asks for alt, src, url, etc... which I could create with: form action="page.jsp" input type="image" src="whatever.jpg" /form now, I can see the use for one line of code instead of many, but does t do anything new? Thanks in advance for any input. -Daniel === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Off topic ( compiling java )
you need to add your path "C:\A\C\" in the CLASSPATH. -Message d'origine- De : sufi malak [mailto:[EMAIL PROTECTED]] Envoy : mardi 27 mars 2001 18:29 : [EMAIL PROTECTED] Objet : Off topic ( compiling java ) C:\A\B\test.java C:\A\C\Some classes needed by test.java How to compile test.java from C:\A\B\ with the other classes in C:\A\C\ Thanks _ Get your FREE download of MSN Explorer at http://explorer.msn.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets