Re: please Help --session check
yes u can definitely keep the authentication part of code in a separate JSP file and then include that file either static include or dynamic.. Static include: %@ include file="relativeURL" % The include directive inserts a file of text or code in a JSP file at translation time, when the JSP file is compiled. The include process is static. A static include means that the text of the included file is added to the JSP file. or dynamic include: jsp:include page="{ relativeURL | %= expression %} flush="true" / The jsp:include tag allows you to include either a static or dynamic file. A static file is parsed and its content included in the calling JSP page. A dynamic file acts on the request and sends back a result that is included in the JSP page. I think this should help u... Meghana. On Tue, 16 Jan 2001, Deepak C S wrote: hi people, As a part of authentication check, I am checking for a session attribute to validate user login across pages. eg: if (session.getAttr("user")==null){ sendRedirect(loginpage); } But now, I am keeping these lines in all my jsp files(cut and paste)..If I have to change somethg with that I need to change in all jsp pages.. Is there any better way than this?? like keeping session -checking code in seperate file and including in all pages?? pls help. Thanx in adv, Deeps === 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 ** We have no right to ask when sorrow comes, "Why did this happen to me?" Unless we ask the same question for every moment of happiness that comes our way. === 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 XML Integration
Hi, How can i pass an XML data from one web server to another web server and get the reponse back from it ? If done can we encrypt the data ? Regards, Madhu Menon. === 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: here we go again.
full marks.. === 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 XML Integration
Check out SOAP. It's very easy to implement (XML syntax). -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Menon Madhu Sent: Tuesday, January 16, 2001 10:39 AM To: [EMAIL PROTECTED] Subject: JSP XML Integration Hi, How can i pass an XML data from one web server to another web server and get the reponse back from it ? If done can we encrypt the data ? Regards, Madhu Menon. === 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
How i can Access The File From Client Side!
I'm developing a File Manager like www.xdrive.com. Where user supposed to place there folders or files. Now i want to know the method that how i can access the files from Client's computer on the path provided by the File Input Tag of HTML. I'm Very New to Java and its my second assignment. I'm using JSP along with Java Beans. And One More Thing that is creating a problem to me is this, That i can't get the real path for the application being running on the server side. Tnx In Advance. __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.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
VERY URGENT !!! HELP !!! Is editable combo possible in html/jsp,i f yes how?
Is editable combo possible in html/jsp,if yes how? === 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 XML Integration
hi, you just load an URL and pass the data as string let's see an example: you have a servlet running on http://localhost:7001 (WLS) then your application(servlet) running on http://localhost:8080 (whatever) let's assume that you want to give xml data to the servlet running on WLS so, you use URL url = new URL("http://localhost:7001/yourservlet?xml=" + xmldata"); now, the servlet will do something with that data let's assume that it outputs it. so, with BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream())); and then you can read it with while(in.readLine()!=null) .. somehting like that you got back the serlvet reply (XML) hope this help br marco -Original Message- From: ext Menon Madhu [mailto:[EMAIL PROTECTED]] Sent: 16. January 2001 10:39 To: [EMAIL PROTECTED] Subject: JSP XML Integration Hi, How can i pass an XML data from one web server to another web server and get the reponse back from it ? If done can we encrypt the data ? Regards, Madhu Menon. == = 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: JSP XML Integration
Java Message Service will help you - Original Message - From: Menon Madhu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 2:09 PM Subject: JSP XML Integration Hi, How can i pass an XML data from one web server to another web server and get the reponse back from it ? If done can we encrypt the data ? Regards, Madhu Menon. === 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: Tomcat Admin
did u ever accessed the admin part? what was the user/password did u used.? thanks alex - Original Message - From: "Vikas Arora" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 21, 2000 12:22 AM Subject: Tomcat Admin Just now I have installed Tomcat.. on WindowsME how to get into admin part of it... what is U/Password to do the same for first time...??? TIA _ 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 bj (Kh~(X{ z m oj ( === 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
[OT] RE:what is SOAP
It's a platform independent way of packing (in a SOAP envelope) and "messaging" data in a "shoot and forget" manner via http (usually)... Just check out http://www.soap.org, http://msdn.microsoft.com/msdnmag/issues/0300/soap/soap.asp, for an MSDN intro to SOAP, http://msdn.microsoft.com/library/techart/websvcs_usingsoap.htm for some security subjects on SOAP. A SOAP Toolkit is also available in the msdn. Manos -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Manish Vohra Sent: Tuesday, January 16, 2001 11:31 AM To: [EMAIL PROTECTED] Subject: what is SOAP hey cd u pls tell me what is SOAP manish Check out SOAP. It's very easy to implement (XML syntax). -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Menon Madhu Sent: Tuesday, January 16, 2001 10:39 AM To: [EMAIL PROTECTED] Subject: JSP XML Integration Hi, How can i pass an XML data from one web server to another web server and get the reponse back from it ? If done can we encrypt the data ? Regards, Madhu Menon. === 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
Does Tomcat 3.2.1 reload Java Beans?
Yep I know that Tomcat can now reload Servlets explicity set up in the deployment descripter file "web.xml". But what about arbitary servlets that are defined in the webapp. Compared to other JSP containers like JRun the Tomcat seems a bit behind. Why does it not have the AdaptiveClassLoader from JServ which was pretty good. 1) I am a bit fed up or restarting the web container. Does Tomcat 3.2.1 reload Value or Utility Java Beans that are explicitly loaded by "jsp:useBean" in JSP 2) Is the reloader clever enough to load related classes to the JavaBean. Thoughts appreciated -- Peter Pilgrim G.O.A.T "the Greatest Of All Time" -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. === 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
help pls
hi, 1)how to restrict users from accessing html files directly(without authentication) in tomcat-apache?? 2) how to prevent directory listing for directories under Tomcat context? pls help thanx, deeps === 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
Javascript
G'day all Please let me know whether there is a list for Javascript please ? Thanks a lot Abdou ACHTATOU Linedata Services Luxembourg Centre Europe 5, place de la Gare - L-1616 Luxembourg Tel.(352) 29 56 65-281 - Fax.(352) 29 56 65-250 E-mail : mailto:[EMAIL PROTECTED] === 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: Javascript
si tu peut parleler en francais je peut t'aider - Original Message - From: "Abdou Achtatou" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 11:05 AM Subject: Javascript G'day all Please let me know whether there is a list for Javascript please ? Thanks a lot Abdou ACHTATOU Linedata Services Luxembourg Centre Europe 5, place de la Gare - L-1616 Luxembourg Tel.(352) 29 56 65-281 - Fax.(352) 29 56 65-250 E-mail : mailto:[EMAIL PROTECTED] === 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
No Subject
"signoff JSP-INTEREST". === 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: help pls
Hi, 1)how to restrict users from accessing html files directly(without authentication) in tomcat-apache?? Write to httdp.conf of apache or tomcat.conf if it is included in httpd.conf location path AllowOverride None Order allow,deny Deny from all /location 2) how to prevent directory listing for directories under Tomcat context? Options -Indexes Regards John. Deepak C S [EMAIL PROTECTED]@java.sun.com on 01/16/2001 04:49:41 PM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] Sent by: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: help pls hi, 1)how to restrict users from accessing html files directly(without authentication) in tomcat-apache?? 2) how to prevent directory listing for directories under Tomcat context? pls help thanx, deeps === 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: help pls
Instead of using a MAIL subject line "help" why not put "how to restrict access html file content in tomcat?" 1) Don't use a HTML page (*.html). 2) Use a JSP to add a %@ include="force_login.jsp" % to include page segmentation in every JSP on your site that you want to protect. In your force_login.jsp use a scriptlet to check that a UserProfile bean is valid for your web app session. If it is not valid then redirect the request to your site "login.jsp". 3) i) Write a dummy "index.html" with a default "h1ACCESS PROTECTED/h1" and stick it in every directory you wanna protect. ii) Restrict the access by setting security in the deployment descrip file for your web app "web.xml". 4) Buy a book on JSP or RTFM or RTFFAQ -- Peter Pilgrim G.O.A.T "the Greatest Of All Time" Message History From: Deepak C S [EMAIL PROTECTED]@java.sun.com on 16/01/2001 16:49 ZE5B Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] DELEGATED - Sent by: A mailing list about Java Server Pages specification and [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: help pls hi, 1)how to restrict users from accessing html files directly(without authentication) in tomcat-apache?? 2) how to prevent directory listing for directories under Tomcat context? -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. === 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: Javascript
what??? - Original Message - From: "youness htite" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 11:48 AM Subject: Re: Javascript si tu peut parleler en francais je peut t'aider - Original Message - From: "Abdou Achtatou" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 11:05 AM Subject: Javascript G'day all Please let me know whether there is a list for Javascript please ? Thanks a lot Abdou ACHTATOU Linedata Services Luxembourg Centre Europe 5, place de la Gare - L-1616 Luxembourg Tel.(352) 29 56 65-281 - Fax.(352) 29 56 65-250 E-mail : mailto:[EMAIL PROTECTED] === 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: Javascript
if you can speak french, he can help you. sandarbh wrote: what??? - Original Message - From: "youness htite" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 11:48 AM Subject: Re: Javascript si tu peut parleler en francais je peut t'aider - Original Message - From: "Abdou Achtatou" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 11:05 AM Subject: Javascript G'day all Please let me know whether there is a list for Javascript please ? Thanks a lot Abdou ACHTATOU Linedata Services Luxembourg Centre Europe 5, place de la Gare - L-1616 Luxembourg Tel.(352) 29 56 65-281 - Fax.(352) 29 56 65-250 E-mail : mailto:[EMAIL PROTECTED] === 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: Javascript
it meant "If u know french i can help u" Regards :-) Madhu.T.Menon Satyam Computer Services Ltd - SBU FSD., 12, C.P.Ramaswamy Road, Alwarpet, Chennai - 600018. Phone : 4983221 Extn. 2727. "If you are in Control, you are not driving at your Full Speed" -Original Message- From: sandarbh [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 5:29 PM To: [EMAIL PROTECTED] Subject: Re: Javascript what??? - Original Message - From: "youness htite" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 11:48 AM Subject: Re: Javascript si tu peut parleler en francais je peut t'aider - Original Message - From: "Abdou Achtatou" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 11:05 AM Subject: Javascript G'day all Please let me know whether there is a list for Javascript please ? Thanks a lot Abdou ACHTATOU Linedata Services Luxembourg Centre Europe 5, place de la Gare - L-1616 Luxembourg Tel.(352) 29 56 65-281 - Fax.(352) 29 56 65-250 E-mail : mailto:[EMAIL PROTECTED] == = 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: Javascript List
At 12:05 PM 1/16/01 +0100, you wrote: G'day all Please let me know whether there is a list for Javascript please ? There is a javascript list at http://www.mountaindragon.com/javascript/ also, #javascript on EFnet IRC is a great place for help in a hurry. Say hello to Neatsun for me... she's invaluable! Marty ## Marty McKeever[Information Architect] ## [EMAIL PROTECTED] [I-Silver, Inc] === 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: how to show timezone specific time
hi I know the use of java script but i don't want to use it as it takes the machine time which is not good as it may not be true that somebody has assigned correct date or time in his machine. Now about the SimpleDateFormat class, so i used that but it didn't worked. I made the date object by giving it the japanese time zone and its locale and my machine is set to GMT timezone. But it didn't worked. Following is the code snippet... TimeZone tz = TimeZone.getTimeZone("UTC"); Calendar c = Calendar.getInstance(tz, new Locale("ja", "JP")); System.out.println(c.getTime()); Now can anybody help why it doesn't work. - Original Message - From: "Sicaud Patrice" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 15, 2001 9:57 PM Subject: Re: how to show timezone specific time I would say that Javascript is the only way to go since you do not know where your client is. Whatever you do, you ultimately depend on the client machine being configured for the correct time zone. Patrice Sicaud OCS Systems Development Phone 415-222-4347 Fax 415-795-7921 Page800-481-1813 SMTP[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Henrik Sternberg [mailto:[EMAIL PROTECTED]] Sent: Monday, January 15, 2001 1:33 PM To: [EMAIL PROTECTED] Subject:Re: how to show timezone specific time Do it with Javascript, that's the most simple way. check www.javascript.com on how to use the timefunctions. regards /henrik - Original Message - From: "Bhushan Bhangale" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 15, 2001 9:42 PM Subject: how to show timezone specific time Hi I am asking this question again because nobody has answered it before when I aksed it. I have a multi locale site including(US,UK,JP,FR,DE,MX,SW). It is running on Solaris machine which is set to GMT timezone. I want to show timezone specific time to the users. Suppose a person is seeing the site in japanese locale then he should see time according to the Japan TimeZone. An urgent reply would be a great help. thanks in advance Thanks Regards Bhushan Bhangale Consultant http://www.netacross.com Chequemail.com - a free web based e-mail service that also pays!!! http://www.chequemail.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 === 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 Thanks Regards Bhushan Bhangale Consultant http://www.netacross.com Chequemail.com - a free web based e-mail service that also pays!!! http://www.chequemail.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
Re: how to show timezone specific time
I came across this link in 'javawordl'. The article is about 2 years old, but I think you might find it helpful for you: http://www.javaworld.com/javaworld/jw-02-1999/jw-02-internationalize.html -Original Message- From: Bhushan Bhangale [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 6:06 AM To: [EMAIL PROTECTED] Subject: Re: how to show timezone specific time hi I know the use of java script but i don't want to use it as it takes the machine time which is not good as it may not be true that somebody has assigned correct date or time in his machine. Now about the SimpleDateFormat class, so i used that but it didn't worked. I made the date object by giving it the japanese time zone and its locale and my machine is set to GMT timezone. But it didn't worked. Following is the code snippet... TimeZone tz = TimeZone.getTimeZone("UTC"); Calendar c = Calendar.getInstance(tz, new Locale("ja", "JP")); System.out.println(c.getTime()); Now can anybody help why it doesn't work. - Original Message - From: "Sicaud Patrice" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 15, 2001 9:57 PM Subject: Re: how to show timezone specific time I would say that Javascript is the only way to go since you do not know where your client is. Whatever you do, you ultimately depend on the client machine being configured for the correct time zone. Patrice Sicaud OCS Systems Development Phone 415-222-4347 Fax 415-795-7921 Page800-481-1813 SMTP[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Henrik Sternberg [mailto:[EMAIL PROTECTED]] Sent: Monday, January 15, 2001 1:33 PM To: [EMAIL PROTECTED] Subject:Re: how to show timezone specific time Do it with Javascript, that's the most simple way. check www.javascript.com on how to use the timefunctions. regards /henrik - Original Message - From: "Bhushan Bhangale" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 15, 2001 9:42 PM Subject: how to show timezone specific time Hi I am asking this question again because nobody has answered it before when I aksed it. I have a multi locale site including(US,UK,JP,FR,DE,MX,SW). It is running on Solaris machine which is set to GMT timezone. I want to show timezone specific time to the users. Suppose a person is seeing the site in japanese locale then he should see time according to the Japan TimeZone. An urgent reply would be a great help. thanks in advance Thanks Regards Bhushan Bhangale Consultant http://www.netacross.com Chequemail.com - a free web based e-mail service that also pays!!! http://www.chequemail.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 === 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 Thanks Regards Bhushan
javabean setPropert
can I call JavaBean SetProperty from JavaScript if yes how else tell me some alternate to do this. thanks in advance for any help. === 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: please Help --session check
What you're thinking is quite right and it can be better if you will use a custom tag for that purpose. --- Deepak C S [EMAIL PROTECTED] wrote: hi people, As a part of authentication check, I am checking for a session attribute to validate user login across pages. eg: if (session.getAttr("user")==null){ sendRedirect(loginpage); } But now, I am keeping these lines in all my jsp files(cut and paste)..If I have to change somethg with that I need to change in all jsp pages.. Is there any better way than this?? like keeping session -checking code in seperate file and including in all pages?? pls help. Thanx in adv, Deeps === 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!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.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: how to document your code
if you mean comments within the code then just use the standard html ones: !-- comments... -- -Original Message- From: matt [mailto:[EMAIL PROTECTED]] Sent: Monday, January 15, 2001 6:08 AM To: [EMAIL PROTECTED] Subject: how to document your code any good suggestions on documenting JSP pages. im using Javadoc for all my classes and methods. does Javadoc work with JSP? tahnk you === 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: javabean setPropert
Create a button , On click of this button put button value in a variable The button has to submit a form , if you want to do it without submitting the form go to Method2 % if request.getParameter("button_name") != null { String btnValue = request.getParamter("button_name") if btnValue.equals("setProperty") jsp:setProperty name="" value="" or jsp:setProperty * //star sets all } % Method2 Input type = text name = field 1 onBlur="setproperty()" script function setproperty() { % jsp:setProperty . . . . . % I am not 100% sure about method 2 , but I think it should work } /script Idrees Ali Aashi [EMAIL PROTECTED] on 01/16/2001 11:35:25 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: javabean setPropert can I call JavaBean SetProperty from JavaScript if yes how else tell me some alternate to do this. thanks in advance for any help. === 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: what is SOAP
HINT. HINT go to msdn.microsoft.com and type in SOAP in the top left search area http://msdn.microsoft.com/componentresources/html/articles/ta/ta_034.asp -Original Message- From: Manish Vohra [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 3:31 AM To: [EMAIL PROTECTED] Subject: what is SOAP hey cd u pls tell me what is SOAP manish Check out SOAP. It's very easy to implement (XML syntax). -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Menon Madhu Sent: Tuesday, January 16, 2001 10:39 AM To: [EMAIL PROTECTED] Subject: JSP XML Integration Hi, How can i pass an XML data from one web server to another web server and get the reponse back from it ? If done can we encrypt the data ? Regards, Madhu Menon. === 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
How to cache HTTP Response in JSP page
In my JSP page, I want to cache a servlet response (the html data) so I can intermingle it with static html. How can I do this since it seems my servlet html response is displayed first and then the static page html is displayed below it. Tim Hengst Tampa === 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
Handling the browser going back
I understand that disabling the "Back" feature of a browser (whether the user uses the back button, right click - back, etc) is not really a valid option in most web-applications. However, we are having problems with the user choosing to go back to previous pages, and I was wondering how others are handling this. Any ideas, advice, or sources to check would greatly be appreciated, thanks. Joseph Karau Kingland Systems [EMAIL PROTECTED] 507-536-3629 === 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: how to document your code
Hi: But if we comment JSP Files using HTML comments they can be viewed in the browser. How else we can use javadoc in JSP? Venu --- Willard Thompson [EMAIL PROTECTED] wrote: if you mean comments within the code then just use the standard html ones: !-- comments... -- -Original Message- From: matt [mailto:[EMAIL PROTECTED]] Sent: Monday, January 15, 2001 6:08 AM To: [EMAIL PROTECTED] Subject: how to document your code any good suggestions on documenting JSP pages. im using Javadoc for all my classes and methods. does Javadoc work with JSP? tahnk you === 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 __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.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: Handling the browser going back
Redirect to a page onunload event! it prevent that the user go back to the previous page!! "Karau, Joe" Joe.Karau@KINGLATo: [EMAIL PROTECTED] ND.COM cc: Sent by: A Subject: Handling the browser going back mailing list about Java Server Pages specification and reference JSP-INTEREST@jav a.sun.com 01/16/2001 01:20 PM Please respond to A mailing list about Java Server Pages specification and reference I understand that disabling the "Back" feature of a browser (whether the user uses the back button, right click - back, etc) is not really a valid option in most web-applications. However, we are having problems with the user choosing to go back to previous pages, and I was wondering how others are handling this. Any ideas, advice, or sources to check would greatly be appreciated, thanks. Joseph Karau Kingland Systems [EMAIL PROTECTED] 507-536-3629 === 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: how to document your code
you can comment using /*Comments */ or// Comments JSP Comments %- - Comments - -% Venu Gopal venutechnology@YTo: [EMAIL PROTECTED] AHOO.COMcc: Sent by: A Subject: Re: how to document your code mailing list about Java Server Pages specification and reference JSP-INTEREST@jav a.sun.com 01/16/2001 01:30 PM Please respond to A mailing list about Java Server Pages specification and reference Hi: But if we comment JSP Files using HTML comments they can be viewed in the browser. How else we can use javadoc in JSP? Venu --- Willard Thompson [EMAIL PROTECTED] wrote: if you mean comments within the code then just use the standard html ones: !-- comments... -- -Original Message- From: matt [mailto:[EMAIL PROTECTED]] Sent: Monday, January 15, 2001 6:08 AM To: [EMAIL PROTECTED] Subject: how to document your code any good suggestions on documenting JSP pages. im using Javadoc for all my classes and methods. does Javadoc work with JSP? tahnk you === 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 __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.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: how to document your code
try %-- your comment --% -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Venu Gopal Sent: Tuesday, January 16, 2001 12:30 PM To: [EMAIL PROTECTED] Subject: Re: how to document your code Hi: But if we comment JSP Files using HTML comments they can be viewed in the browser. How else we can use javadoc in JSP? Venu --- Willard Thompson [EMAIL PROTECTED] wrote: if you mean comments within the code then just use the standard html ones: !-- comments... -- -Original Message- From: matt [mailto:[EMAIL PROTECTED]] Sent: Monday, January 15, 2001 6:08 AM To: [EMAIL PROTECTED] Subject: how to document your code any good suggestions on documenting JSP pages. im using Javadoc for all my classes and methods. does Javadoc work with JSP? tahnk you == = 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 __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.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: how to document your code
At 01:30 PM 1/16/01, Venu Gopal wrote: Hi: But if we comment JSP Files using HTML comments they can be viewed in the browser. How else we can use javadoc in JSP? this should work %-- some hidden comment --% Venu --- Willard Thompson [EMAIL PROTECTED] wrote: if you mean comments within the code then just use the standard html ones: !-- comments... -- -Original Message- From: matt [mailto:[EMAIL PROTECTED]] Sent: Monday, January 15, 2001 6:08 AM To: [EMAIL PROTECTED] Subject: how to document your code any good suggestions on documenting JSP pages. im using Javadoc for all my classes and methods. does Javadoc work with JSP? tahnk you === 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
Calling the same jsp
Hi All, I call a jsp called "abc.jsp". In that jsp I set some parameters and then need to call the same jsp again. Do I need to call a servlet and then call the jsp "abc.jsp" again or do I have a way to call the same jsp directly ? Thanks JS === 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: Calling the same jsp
Just use the same jsp file name for the POST or GET action in the form. Hans Bergsten's (O'Reilly) book has an example of such usage. Rk x77309 - Original Message - From: "Singh, Jasbinder" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 11:13 AM Subject: Calling the same jsp Hi All, I call a jsp called "abc.jsp". In that jsp I set some parameters and then need to call the same jsp again. Do I need to call a servlet and then call the jsp "abc.jsp" again or do I have a way to call the same jsp directly ? Thanks JS === 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
getParameter help
Hi, I have a servlet which dispatches out various jsp's. Some of the jsp's resulting html contain links back to the servlet to fire off another page like this: A HREF="mainservlet?cmd=loadpage=home"HOME/A When I do a request.getParameter("cmd") the string I get is "cmd" which is right. When I do request.getParameter("page") the string I get is "mainservlet?cmd=load" which is not right. Does anyone know if I'm doing something wrong with how I'm writing the link back to the servlet? Thanks! Matt Becker === 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
getParameter() help
Hi, I have a servlet which dispatches out various jsp's. Some of the jsp's resulting html contain links back to the servlet to fire off another page like this: A HREF="mainservlet?cmd=loadpage=home"HOME/A When I do a request.getParameter("cmd") the string I get is "cmd" which is right. When I do request.getParameter("page") the string I get is "mainservlet?cmd=load" which is not right. Does anyone know if I'm doing something wrong with how I'm writing the link back to the servlet? Thanks! Matt Becker Mythicwave Productions, Inc. 21053 Devonshire, #201 Chatsworth, Ca. 91311 818-700-1998 [EMAIL PROTECTED] === 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
How to get the Servlet path from a JSP
Is there anyway to get the path (URL) to servlets from a jsp page? I want to determine the path before I invoke a servlet. Thanks, chris === 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: How to get the Servlet path from a JSP
and forom a servlet the path to the domain (/)? - Original Message - From: "Hosegood, Chris W (EDU)" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 9:37 PM Subject: How to get the Servlet path from a JSP Is there anyway to get the path (URL) to servlets from a jsp page? I want to determine the path before I invoke a servlet. Thanks, chris === 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: how to show timezone specific time
Hi all, How can I specify the constructor that the jsp:useBean tag uses for the bean ?. I want to use a specific constructor for my beans, but not the default. Thanks in Advance Jorge Sabogal === 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: how to show timezone specific time
You have to use the default constructor. See the "class" attribute on this page... http://java.sun.com/products/jsp/tags/11/syntaxref1115.html#8865 -- Joe -Original Message- From: Jorge Luis Sabogal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 4:12 PM To: [EMAIL PROTECTED] Subject: Re: how to show timezone specific time Hi all, How can I specify the constructor that the jsp:useBean tag uses for the bean ?. I want to use a specific constructor for my beans, but not the default. Thanks in Advance Jorge Sabogal === 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: Handling the browser going back
You are correct that disabling the [back] button is not an option. Even if you could do it reliably (and you cant), breaking the second most popular feature of a browser is a serious usability no-no. We ran into this problem designing a setup wizard application where the user steps through pages via a [next] button, and backwards through a [previous] button. The problem arose because we were storing the nextPage variable in the session - which was not a proper value if the user had used his browsers [back] button. The simple solution was to include the variable as part of each page, being submitted back to the controller when the user clicked [next]. So if they go [back] 3 pages and resubmitted, the value of nextPage was properly computed as the next page (after this page) in the sequence -- and NOT the page they originally came back from (the last one stored in the session?). i dunno if this helps any, every app is different.. gluck, Marty === 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: Calling the same jsp
But I am not using the submit method. I have 2 drop down boxes. The first drop down box has values taken from a table. Based on the value selected in the first drop down box I have to populate the second drop down box. JS -Original Message- From: S Ramakrishnan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 11:25 AM To: [EMAIL PROTECTED] Subject: Re: Calling the same jsp Just use the same jsp file name for the POST or GET action in the form. Hans Bergsten's (O'Reilly) book has an example of such usage. Rk x77309 - Original Message - From: "Singh, Jasbinder" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 11:13 AM Subject: Calling the same jsp Hi All, I call a jsp called "abc.jsp". In that jsp I set some parameters and then need to call the same jsp again. Do I need to call a servlet and then call the jsp "abc.jsp" again or do I have a way to call the same jsp directly ? Thanks JS === 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: Calling the same jsp
You don't have to reload the JSP page. Use JavaScript to populate the second combo box. Let me know if you need an example. G But I am not using the submit method. I have 2 drop down boxes. The first drop down box has values taken from a table. Based on the value selected in the first drop down box I have to populate the second drop down box. JS -Original Message- From: S Ramakrishnan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 11:25 AM To: [EMAIL PROTECTED] Subject: Re: Calling the same jsp Just use the same jsp file name for the POST or GET action in the form. Hans Bergsten's (O'Reilly) book has an example of such usage. Rk x77309 - Original Message - From: "Singh, Jasbinder" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 11:13 AM Subject: Calling the same jsp Hi All, I call a jsp called "abc.jsp". In that jsp I set some parameters and then need to call the same jsp again. Do I need to call a servlet and then call the jsp "abc.jsp" again or do I have a way to call the same jsp directly ? Thanks JS === 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 --- Gopi Mandava(703) 267-1735 x307 CoManage Inc. "I don't think God put me on this planet to judge others. I think he put me on this planet to gather specimens and take them back to my home planet." === 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: Calling the same jsp
I would appreciate if you could send me an example. Thanks JS -Original Message- From: Gopi Mandava [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 2:02 PM To: [EMAIL PROTECTED] Subject: Re: Calling the same jsp You don't have to reload the JSP page. Use JavaScript to populate the second combo box. Let me know if you need an example. G But I am not using the submit method. I have 2 drop down boxes. The first drop down box has values taken from a table. Based on the value selected in the first drop down box I have to populate the second drop down box. JS -Original Message- From: S Ramakrishnan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 11:25 AM To: [EMAIL PROTECTED] Subject: Re: Calling the same jsp Just use the same jsp file name for the POST or GET action in the form. Hans Bergsten's (O'Reilly) book has an example of such usage. Rk x77309 - Original Message - From: "Singh, Jasbinder" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 11:13 AM Subject: Calling the same jsp Hi All, I call a jsp called "abc.jsp". In that jsp I set some parameters and then need to call the same jsp again. Do I need to call a servlet and then call the jsp "abc.jsp" again or do I have a way to call the same jsp directly ? Thanks JS === 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 --- Gopi Mandava(703) 267-1735 x307 CoManage Inc. "I don't think God put me on this planet to judge others. I think he put me on this planet to gather specimens and take them back to my home planet." === 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 : how to show timezone specific time
Hi All I did this after a good amount of RD or you can say hit and trial, here is the code snippet Calendar c = Calendar.getInstance(TimeZone.getTimeZone("CST"), new Locale("en", "US"); c.setTime(new java.util.Date()); Calendar c1 = Calendar.getInstance(); c1.set(c.get(c.YEAR), c.get(c.MONTH), c.get(c.DAY_OF_MONTH), c.get(c.HOUR_OF_DAY), c.get(c.MINUTE), c.get(c.SECOND)); System.out.println(c1.getTime()); It works fine. The java date classes are really a nightmare to work with. Thanks Regards Bhushan Bhangale Consultant http://www.netacross.com Chequemail.com - a free web based e-mail service that also pays!!! http://www.chequemail.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
How to delete a record
Hi all, I have a jsp page called summary which displays a general info about all the records I got from database. Then if the user clicks on any specific record, a detail page will display the detail info about that record. On the detail page I have a delete button. If the user clicks the delete button, the record should be delete from the database and the summary page will show up with the latest results. Would anybody give me any ideas on how to make the delete button work? Thanks very much! _ 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
resource (JSP, java source code) for message board example
Hello, I am looking for some examples that enable me to do something like yahoo message board. The main thing I am looking for is how to implement the Previous 50 button or Next 50 button. Let's say all my messages are stored in an database, and there are a lot of them. I would like to get only 50 messages each time, what would be the implementation for this.Can someone suggest a design or please point me to a place so that I can get a sample code?. Thanks much for this. TN === 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: Re : how to show timezone specific time
What do you mean a nightmare to work with? It seems simple enough from the code snippet. I think it'd be better to get the system timezone rather than hardcoding "CST". -Original Message- From: Bhushan Bhangale [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 2:25 PM To: [EMAIL PROTECTED] Subject: Re : how to show timezone specific time Hi All I did this after a good amount of RD or you can say hit and trial, here is the code snippet Calendar c = Calendar.getInstance(TimeZone.getTimeZone("CST"), new Locale("en", "US"); c.setTime(new java.util.Date()); Calendar c1 = Calendar.getInstance(); c1.set(c.get(c.YEAR), c.get(c.MONTH), c.get(c.DAY_OF_MONTH), c.get(c.HOUR_OF_DAY), c.get(c.MINUTE), c.get(c.SECOND)); System.out.println(c1.getTime()); It works fine. The java date classes are really a nightmare to work with. Thanks Regards Bhushan Bhangale Consultant http://www.netacross.com Chequemail.com - a free web based e-mail service that also pays!!! http://www.chequemail.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 : how to show timezone specific time
You are talking about the hard coding, i have written it just to show an example of how to do it. And i don't want the system time zone. It is to show a date on the jhtml page according to the locale as i am working on a site which is in 8 locales. - Original Message - From: "Shawn Zhu" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 11:19 PM Subject: Re: Re : how to show timezone specific time What do you mean a nightmare to work with? It seems simple enough from the code snippet. I think it'd be better to get the system timezone rather than hardcoding "CST". -Original Message- From: Bhushan Bhangale [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 2:25 PM To: [EMAIL PROTECTED] Subject: Re : how to show timezone specific time Hi All I did this after a good amount of RD or you can say hit and trial, here is the code snippet Calendar c = Calendar.getInstance(TimeZone.getTimeZone("CST"), new Locale("en", "US"); c.setTime(new java.util.Date()); Calendar c1 = Calendar.getInstance(); c1.set(c.get(c.YEAR), c.get(c.MONTH), c.get(c.DAY_OF_MONTH), c.get(c.HOUR_OF_DAY), c.get(c.MINUTE), c.get(c.SECOND)); System.out.println(c1.getTime()); It works fine. The java date classes are really a nightmare to work with. Thanks Regards Bhushan Bhangale Consultant http://www.netacross.com Chequemail.com - a free web based e-mail service that also pays!!! http://www.chequemail.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 Thanks Regards Bhushan Bhangale Consultant http://www.netacross.com Chequemail.com - a free web based e-mail service that also pays!!! http://www.chequemail.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: resource (JSP, java source code) for message board example
Check out Jive. http://www.coolservlets.com/jive/ Jive is a great open-source forum/message board utility. It should have what you are looking for. Jayson Falkner V.P./CTO, Amberjack Software LLC [EMAIL PROTECTED] www.jspinsider.com - Original Message - From: "Thang Nguyen" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 3:04 PM Subject: resource (JSP, java source code) for message board example Hello, I am looking for some examples that enable me to do something like yahoo message board. The main thing I am looking for is how to implement the Previous 50 button or Next 50 button. Let's say all my messages are stored in an database, and there are a lot of them. I would like to get only 50 messages each time, what would be the implementation for this.Can someone suggest a design or please point me to a place so that I can get a sample code?. Thanks much for this. TN === 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: resource (JSP, java source code) for message board example
In Oracle, Select * from tablename where rownum= var1 and rownum=var2; In MySQL select * from tablename limit var1,var2; where you pass the var1 and var2 values dynamically; - Original Message - From: "Thang Nguyen" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 11:04 PM Subject: resource (JSP, java source code) for message board example Hello, I am looking for some examples that enable me to do something like yahoo message board. The main thing I am looking for is how to implement the Previous 50 button or Next 50 button. Let's say all my messages are stored in an database, and there are a lot of them. I would like to get only 50 messages each time, what would be the implementation for this.Can someone suggest a design or please point me to a place so that I can get a sample code?. Thanks much for this. TN === 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 Thanks Regards Bhushan Bhangale Consultant http://www.netacross.com Chequemail.com - a free web based e-mail service that also pays!!! http://www.chequemail.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: How to delete a record
Hi On the detail page press the delete button and it will execute a JSP which will delete the record by firing the query and then refreshes the parent summary page. you can use the following javascript code to refresh the parent window The following javascript code should be in the child window. SCRIPT LANGUAGE="JavaScript" function openLink(path) { window.opener.parent.location = path; } /SCRIPT - Original Message - From: "S. Chen" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 11:01 PM Subject: How to delete a record Hi all, I have a jsp page called summary which displays a general info about all the records I got from database. Then if the user clicks on any specific record, a detail page will display the detail info about that record. On the detail page I have a delete button. If the user clicks the delete button, the record should be delete from the database and the summary page will show up with the latest results. Would anybody give me any ideas on how to make the delete button work? Thanks very much! _ 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 Thanks Regards Bhushan Bhangale Consultant http://www.netacross.com Chequemail.com - a free web based e-mail service that also pays!!! http://www.chequemail.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: resource (JSP, java source code) for message board example
I have a program that is a simple servlet bb that writes to a flat file. It's obvious that you could take this program and have it write to a database and augment it to your taste. To get the next 50 or the previous 50 would be an SQL statement - anytime the word database comes up read and write procedures automatically point to SQL. I am sure you could set it up so that you specify the number - it doesn't have to be 50. The program is in "Inside Servlets" and I can email it to you if it would help - it's simple - but if it were complete what would be the challenge. -- Pete -- [EMAIL PROTECTED] - Original Message - From: "Thang Nguyen" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 3:04 PM Subject: resource (JSP, java source code) for message board example Hello, I am looking for some examples that enable me to do something like yahoo message board. The main thing I am looking for is how to implement the Previous 50 button or Next 50 button. Let's say all my messages are stored in an database, and there are a lot of them. I would like to get only 50 messages each time, what would be the implementation for this.Can someone suggest a design or please point me to a place so that I can get a sample code?. Thanks much for this. TN === 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: Calling the same jsp
I think you may use Javascript like this: select name="uni" onchange="window.open(this.options[this.selectedIndex].value,'_parent'); this.options[0].selected=true" option value='abc.jsp?uni=%= uniID %' selected%= uniName% You can set more parameters when call abc.jsp - Original Message - From: Singh, Jasbinder [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 5:08 AM Subject: Re: Calling the same jsp I would appreciate if you could send me an example. Thanks JS -Original Message- From: Gopi Mandava [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 2:02 PM To: [EMAIL PROTECTED] Subject: Re: Calling the same jsp You don't have to reload the JSP page. Use JavaScript to populate the second combo box. Let me know if you need an example. G But I am not using the submit method. I have 2 drop down boxes. The first drop down box has values taken from a table. Based on the value selected in the first drop down box I have to populate the second drop down box. JS -Original Message- From: S Ramakrishnan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 11:25 AM To: [EMAIL PROTECTED] Subject: Re: Calling the same jsp Just use the same jsp file name for the POST or GET action in the form. Hans Bergsten's (O'Reilly) book has an example of such usage. Rk x77309 - Original Message - From: "Singh, Jasbinder" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 11:13 AM Subject: Calling the same jsp Hi All, I call a jsp called "abc.jsp". In that jsp I set some parameters and then need to call the same jsp again. Do I need to call a servlet and then call the jsp "abc.jsp" again or do I have a way to call the same jsp directly ? Thanks JS === 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 --- Gopi Mandava(703) 267-1735 x307 CoManage Inc. "I don't think God put me on this planet to judge others. I think he put me on this planet to gather specimens and take them back to my home planet." === 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
resource (JSP, java source code) for message board example
Hi Pete, I think that will be useful. Can you send me that code? Thanks much in advance. Here is my direct email:[EMAIL PROTECTED] Regards, -Thang -Original Message- From: Pete Ehli [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 5:52 PM To: [EMAIL PROTECTED] Subject: Re: resource (JSP, java source code) for message board example I have a program that is a simple servlet bb that writes to a flat file. It's obvious that you could take this program and have it write to a database and augment it to your taste. To get the next 50 or the previous 50 would be an SQL statement - anytime the word database comes up read and write procedures automatically point to SQL. I am sure you could set it up so that you specify the number - it doesn't have to be 50. The program is in "Inside Servlets" and I can email it to you if it would help - it's simple - but if it were complete what would be the challenge. -- Pete -- [EMAIL PROTECTED] - Original Message - From: "Thang Nguyen" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 3:04 PM Subject: resource (JSP, java source code) for message board example Hello, I am looking for some examples that enable me to do something like yahoo message board. The main thing I am looking for is how to implement the Previous 50 button or Next 50 button. Let's say all my messages are stored in an database, and there are a lot of them. I would like to get only 50 messages each time, what would be the implementation for this.Can someone suggest a design or please point me to a place so that I can get a sample code?. Thanks much for this. TN === 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: resource (JSP, java source code) for message board example
Hi, Try read your database documents whether it support or not. As far as I know Oracle and SQL Server support this feature. When use SQL Server with ADO use PageSize property's ADO. Hope this help. - Original Message - From: "Thang Nguyen" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 6:04 AM Subject: resource (JSP, java source code) for message board example Hello, I am looking for some examples that enable me to do something like yahoo message board. The main thing I am looking for is how to implement the Previous 50 button or Next 50 button. Let's say all my messages are stored in an database, and there are a lot of them. I would like to get only 50 messages each time, what would be the implementation for this.Can someone suggest a design or please point me to a place so that I can get a sample code?. Thanks much for this. TN === 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
Khurram Mahmood/PeopleSoft is out of the office.
I will be out of the office starting 01/16/2001 and will not return until 01/30/2001. I will respond to your message when I return. Take it easy. === 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: please Help --session check
hi u put all the session authentication logic in one file and include that file in every file where u want to check the authentication. This would be much better, since any change required may be simply changed in one page Hope this helps --Raghu - Original Message - From: Deepak C S [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 1:37 PM Subject: please Help --session check hi people, As a part of authentication check, I am checking for a session attribute to validate user login across pages. eg: if (session.getAttr("user")==null){ sendRedirect(loginpage); } But now, I am keeping these lines in all my jsp files(cut and paste)..If I have to change somethg with that I need to change in all jsp pages.. Is there any better way than this?? like keeping session -checking code in seperate file and including in all pages?? pls help. Thanx in adv, Deeps === 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 server
which one to choose Apache + Tomcat combination or Java Web Server, i am confused and undecided.Being new to JSP, i am now required to start a project on Online Tuition Center which is required to run on JSP. Well, i would like to know pro and cons of using this two combination. thanks a lot :) _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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: Offtopic
Use Telnet tool for connecting to unix system from windows. On Wed, 10 Jan 2001 23:13:06 -0800, A mailing list about Java Server Pages specification and reference wrote: Samba not sure of the URL - Original Message - From: Arun Prakash [EMAIL PROTECTED] Date: Wednesday, January 10, 2001 10:37 pm Subject: Offtopic Does anyone know a Tool that opens a Unix Files on Windows. I mean justa tool that can explore all the files of unix allow creating, chaging deleting files on Unix from Windows. Any help or URL will be very helpful. regards G. Arun Prakash Senior Software Engineer BTlksmart(tm) Level 7, 241 Commonwealth Street Surry Hills Sydney NSW 2010 Australia office: +61(0)2 9282 0200 office: +61(0)2 9282 0213 (direct) fax: +61(0)2 9282 0222 email: [EMAIL PROTECTED] === 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 ___ Send a cool gift with your E-Card http://www.bluemountain.com/giftcenter/ === 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: How to get the Servlet path from a JSP
You can find it in this way String str = request.getRealPath(request.getServletPath()); Try it out --- Landaluze Produktions IS - Carlos [EMAIL PROTECTED] wrote: and forom a servlet the path to the domain (/)? - Original Message - From: "Hosegood, Chris W (EDU)" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 9:37 PM Subject: How to get the Servlet path from a JSP Is there anyway to get the path (URL) to servlets from a jsp page? I want to determine the path before I invoke a servlet. Thanks, chris === 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 __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.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: please Help --session check
hi if you are using JSP Model 2 architecture, or Struts, you can check everything in the controller servlet i got the same problem (and i had 50 JSP already done after my manager told me that he forgot to tell me to check if the user was null.) i did not want to change all the Action classes, or all the JSPs..so i checked in the servlet hope this helps br marco -Original Message- From: ext Claudio Lorico [mailto:[EMAIL PROTECTED]] Sent: 16. January 2001 18:45 To: [EMAIL PROTECTED] Subject: Re: please Help --session check What you're thinking is quite right and it can be better if you will use a custom tag for that purpose. --- Deepak C S [EMAIL PROTECTED] wrote: hi people, As a part of authentication check, I am checking for a session attribute to validate user login across pages. eg: if (session.getAttr("user")==null){ sendRedirect(loginpage); } But now, I am keeping these lines in all my jsp files(cut and paste)..If I have to change somethg with that I need to change in all jsp pages.. Is there any better way than this?? like keeping session -checking code in seperate file and including in all pages?? pls help. Thanx in adv, Deeps == = 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!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.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