Re: file definition
hello in the path specify as http://localhost//ycertificate.cer i think u have to give double slash. TRY THIS. As once i got the same problem, when i use double slash my problem got solved. -Original Message- From: Madhusudhan Ramanujan [mailto:[EMAIL PROTECTED]] Sent: Friday, December 21, 2001 1:24 AM To: [EMAIL PROTECTED] Subject: file definition I have a problem in defining the file path in my servlet code. This does a SSL connection to a remote server.Here is the code snippet. I am getting the follwoing error. socket.java --- import .. import .. --- --- SSLParams params = new SSLParams(); short[] cs = { 0x3 , 0x4 }; params.setClientCipherSuites(cs); SSLKeyStoreVerifier v = new SSLKeyStoreVerifier(); out.println(Created yodlee + yodlee.toString() + br); try { out.println(inside try block br); v.addTrustedCACert(new X509(new File(http://localhost/ycertificate.cer;))); params.setCertVerifier(v); } catch (IOException e) { out.println(inside catch block br); e.printStackTrace(); } --- --- --- --- This is the error... java.io.FileNotFoundException: http:\localhost\ycertificate.cer (The filename, directory name, or volume label syntax is incorrect) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.init(Unknown Source) at java.io.FileInputStream.init(Unknown Source) at crysec.X509.init(X509.java:64) can anybody tell me what is the exact syntax that I need use inside the string... Madu Ramanujan Business Analyst Pacificorp email: [EMAIL PROTECTED] Phone: (503) 813- 6039 === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Urgent !!!!!!!! Please help me
hello srikanth, second one is more efficient as in the first case the node cld will be creating each and every time. So if the count value is larger then that many times this object will be created. -Original Message- From: ShriKant Vashishtha [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 1:42 PM To: [EMAIL PROTECTED] Subject: Re: Urgent Please help me Hi All, 1. for (int i = 0; i count; i++) { Node cld = list.item(i).getFirstChild(); } 2. Node cld = null; for (int i = 0; i count; i++) { cld = list.item(i).getFirstChild(); } Which one is more efficient between the two and why. Thanks, -ShriKant Gare, Trefor wrote: Not quite sure what you're after but the second will allow the JVM to use a single String object for multiple references (if there are any other strings Tendulkar). The first will always create a new String object. In that way the second is a more economical way of creating/referencing the object. Is that a help? Tref Gare Web Developer MCSD eCommerce Group Phone: (03) 9221 4106 Mobile: 0409 556 478 Fax:(03) 9941 4295 -Original Message- From: Ravindra [SMTP:[EMAIL PROTECTED]] Sent: Tuesday,18 December 2001 5:24 To: [EMAIL PROTECTED] Subject: Re: Urgent Please help me Hi All, String string_Name = new String(Tendulkar); String string_Name = Tendulkar; In Above two statements which is compatible(Speed,Instantiating and other parameters.) for java compiler. thanks Varna. == = 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Urgent !!!!!!!! Please help me
hello I think the first one is more compatbile -Original Message- From: Ravindra [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 11:54 AM To: [EMAIL PROTECTED] Subject: Re: Urgent Please help me Hi All, String string_Name = new String(Tendulkar); String string_Name = Tendulkar; In Above two statements which is compatible(Speed,Instantiating and other parameters.) for java compiler. thanks Varna. === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: How can I put the JavaMail ?
u have to set the classpath for that as c:\the directory where u placed javamail\mail.jar -Original Message- From: siujanjan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 31, 2000 9:20 AM To: [EMAIL PROTECTED] Subject: How can I put the JavaMail ? I would like to ask, I've downloaded the JavaMail from java.sun.com but I duno where should I put the files ? in the installation path of the jdk ? a million thankss === ·s®ö§K¶O¹q¤l¶l½c http://sinamail.sina.com.hk === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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
req. for weblogic
can anybody suggest me where can i get some material regarding weblogic Komaravolu Vasudha Associate Software Engineer Vanenburg Business - IT Solutions Bldg. CD, Plot No. 17, Software Units Layout, Madhapur, Hyderabad - 500 033, India. * Off: 91-040-6561227 Res: 91-040-4030549 *[EMAIL PROTECTED] === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: response.encodeURL not working
hi U just try giving BODY bgColor="#FF" % String link="cuba2.jsp?Name="+Khoo Swee Chin;% -Original Message- From: Khoo Swee Chin [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 13, 2000 9:30 AM To: [EMAIL PROTECTED] Subject: response.encodeURL not working Hi I need help on this one. My response.encodeURL not working. Here are my codes, what did i do wrong this time? BODY BGCOLOR="#FF" % String link="cuba2.jsp?Name=Khoo Swee Chin";% A HREF="%=response.encodeURL(link)%"%=link%/A /BODY ... When i try to display Name parameter i only get Khoo, where are the rest?? Please help. :) === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: response.encodeURL not working
hi i think the + shold not be given that like that we have to give % String link="Khoo"+"swee"+"chin"% -Original Message- From: Khoo Swee Chin [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 13, 2000 10:26 AM To: [EMAIL PROTECTED] Subject: Re: response.encodeURL not working Hey thanks for ur response, but still cannot work. seems like i need to replace the spaces with "+" to make it work in Netscape. Like the code below. BODY BGCOLOR="#FF" % String link="Khoo+Swee+Chin";% A HREF="cuba2.jsp?Name=%=response.encodeURL(link)%"%=link%/A This is what response.encodeURL suppose to do right? === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: response.encodeURL not working
U R well come -Original Message- From: Khoo Swee Chin [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 13, 2000 10:33 AM To: [EMAIL PROTECTED] Subject: Re: response.encodeURL not working hey it works... thanks :) === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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
hi all i am just learning jsp. I wanted to know what are the basic requirements to run a jsp program. I am working on winNt and jswdk1.0.1 . While calling a jsp program in the browser i am getting an error telling that Compiler.ParseException and invalid directive. I am so confused. so pl. send answer for this vasudha === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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