Websphere VS JRun
I am currently using JRun 2.3.3 and want to upgrade to 3.0 . BUT . I need to make a business case for the BIG expense. I say this because purchasing Websphere will be MUCH MUCH cheaper for me due to significant discounts that my company gets with IBM. But I don't want to go to Websphere I want JRun. Unfortunately, my wants are not enough! Can anyone help with a simple bullet point list that shows why JRun is the better choice over Websphere? Thanks so much! Neil === 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: Escaping ' in a SQL INSERT
I use the following: // // replace // // Replaces every occurrence of oldStr in s with newStr. // // Parameters: //s: The String to perform the replacement on //oldStr: The substring to be replaced //newStr: The substring to replace with // public String replace(String s, String oldStr, String newStr) { int pos = s.indexOf(oldStr); while (pos != -1) { s = s.substring(0, pos) + newStr + s.substring(pos + oldStr.length()); pos = s.indexOf(oldStr, pos + newStr.length()); } return s; } -Original Message- From: Anil John [mailto:[EMAIL PROTECTED]] Sent: Friday, February 02, 2001 8:54 AM To: [EMAIL PROTECTED] Subject: Re: Escaping ' in a SQL INSERT I understand that...Just don't want to do that manually :) Would rather use a replace function to to which I can feed in a string and tell it to do the replace as you suggest. What I am looking for is the existance of such a function and some code samples that people have used. Anil On Fri, 2 Feb 2001, Chitra Muthukrishnan wrote: > Use double single quote . > For example, > if you want to insert ab'c, your insert statement will be like this : > > insert into tablename(field1) values(value1,'ab''c); > > M.Chitra > www.3rdagenda.com > > > > - Original Message - > From: Anil John <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, February 02, 2001 6:56 AM > Subject: Escaping ' in a SQL INSERT > > > > Greetings, > > > > I am new to JSP, so if this question has been asked and aswered before, > > please point me to the FAQ. > > > > If not, could someone provide a code sample of how you escape a ' when > > doing a SQL Insert in JSP? > > > > I am familiar with the VBScript replace function that would allow you to > > do this and am hoping that there is a corresponding JSP function. > > > > Anil > > > > -- > > ___ > > Anil John > > [EMAIL PROTECTED] [PGP Key Available] > > > > > === > > 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 > > -- ___ Anil John [EMAIL PROTECTED] [PGP Key Available] === 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
Redirecting from SSL to non-SSL in JSP
Hello, I'm doing JSP and I need to be able to redirect the user from an SSL site to a non-SSL site. For example: I have a page that requires a login, but does not really need to be SSL encrypted. So if they click on this page, they are redirected (using response.sendRedirect()) to a login page which is SSL. After logging in, I want to send them back to the page they were originally trying to get to (which is not SSL). But when I use response.sendRedirect(), both IE and Netscape prompt with a warning that they are being redirected to an insecure document. Has anyone encountered this problem? How do you handle redirecting the user from SSL to non-SSL? Thanks, Neil === 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
Protecting Non-JSP pages
I have a JSP page that displays a list of files for downloading. This JSP page first checks the session to see if the user is logged in. If so, the list of files is displayed. If not, they are redirected to a login page. My problem is that this page only protects the ability to list the files. If someone knew the path and filename of one of the files, then they could just type that in the URL and bypass the login. Is there a way to protect non-JSP files (like ZIP files) without having to use the web server's security? Thanks, Neil === 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: FYI : Worse than the Mellisa virus. READ!
This is a hoax: http://www.sarc.com/avcenter/venc/data/wobbler-hoax.html -Original Message- From: JEFF RUYTER [mailto:[EMAIL PROTECTED]] Sent: Friday, October 27, 2000 3:15 PM To: [EMAIL PROTECTED] Subject: FYI : Worse than the Mellisa virus. READ! >>> > > > > New Virus Warning >>> > > > > >>> > > > > There is a new virus-WOBBLER. It will arrive on E-mail titled >>> > > CALIFORNIA. >>> > > > >IBM and AOL have announced that it is very powerful, more so than >>> > > Melissa, >>> > > > >there is no remedy! It will eat all your information on the hard >>>drive >>> > > and >>> > > > >also destroys Netscape Navigator and Microsoft Internet Explorer. >>>Do >>> > not >>> > > > >open anything with this title and please pass this message on to >>>all >>> > your >>> > > > >contacts and anyone who uses your e-mail facility. >>> > > > > >>> > > > > Not many people seem to know about this yet so propagate it as >>>fast >>> > as >>> > > > >possible. >>> > > > > >>> > > > > 2. If you receive an e-mail titled "Win A. Holiday" DO NOT >>>open >>>it. >>> > > > > >>> > > > > It will erase everything on your hard drive. Forward this >>>letter >>>to >>> > as >>> > > > >many people as you can. This is a new, very malicious virus and >>>not >>> > many >>> > > > >people know about it. This information was announced yesterday >>>morning >>> > > from >>> > > > >Microsoft. >>> [EMAIL PROTECTED] 10/27/00 12:30 PM >>> I need to set some objects in the Application object that should be available at all times How can I do this at server startup? I am using iPlanet 6.0. Thanks Rupali === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevnt 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 === 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
servletNeedsCreating
> Anyone know what this means? > I have 2.3.3 Build 157 on NT running on IIS. > > This just starting happening today. I wasn't even working on any of this. > It was working fine. > > Also, when I delete the xml, java, and class files, they are not > recreated. Can anyone please help? > > > Mon Aug 14 11:39:35 GMT 2000: Running servlet > { java.lang.NullPointerException > at > com.livesoftware.jsp.JSPServlet.servletNeedsCreating(JSPServlet.java, > Compiled Code) > at com.livesoftware.jsp.JSPServlet.service(JSPServlet.java:103) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) > at com.livesoftware.jrun.JRun.runServlet(JRun.java, Compiled Code) > at > com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java:116) > at > com.livesoftware.jrun.service.proxy.JRunProxyServiceHandler.handleRequest( > JRunProxyServiceHandler.java, Compiled Code) > at > com.livesoftware.jrun.service.ThreadConfigHandler.run(ThreadConfigHandler. > java, Compiled Code) > } === 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: Urgent : how to replace multiple occurances of a character in a string
I believe you have to write your own replace: // // replace // // Replaces every occurrence of oldStr in s with newStr. // // Parameters: //s: The String to perform the replacement on //oldStr: The substring to be replaced //newStr: The substring to replace with // public String replace(String s, String oldStr, String newStr) { int pos = s.indexOf(oldStr); while (pos != -1) { s = s.substring(0, pos) + newStr + s.substring(pos + oldStr.length()); pos = s.indexOf(oldStr, pos + newStr.length()); } return s; } -Original Message- From: srinivasa rao yeramati [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 01, 2000 12:03 AM To: [EMAIL PROTECTED] Subject: Urgent : how to replace multiple occurances of a character in a string Hi I have to replace the occurance of single quote ' with two single quotes '' in multipe places with in the same string . How can i replace multiple ocurances. is replace method has any parameters to take care. Help is highly appreciated srini yeramati Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com === 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
FW: HTML editor
Awesome, dude! I totally agree! -Original Message- From: John Edwards [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 16, 2000 10:59 AM To: [EMAIL PROTECTED] Subject: Re: HTML editor Since you ask, Gary. If you really must have an HTML editor I would look at Dreamweaver. *But* let's face it: HTML is not difficult and unless you really cannot live without GUIs then I suggest that a text editor is just as good and there are many that are free to download - Ultraedit being my favourite. The problem with HTML editors - as with all IDEs [Integrated Development Environments] and I've seen my fair share - is that they encourage people to be lazy and not to learn how to do things properly. There is a real risk if you don't understand HTML source and you want to start incorporating JSP, PHP, JavaScript etc. that you'll find it a real struggle if you're used to using an editor. These are things which are beyond the scope of many editors and the ones that do it generally do it badly. The same is also true of Java. You don't need expensive tools like JBuilder or VisualCafe to write in Java. A simple text editor and the JDK will do you just fine. In my experience it is often the case that the most experienced programmers are the ones who steer clear of IDEs and that these tools are generally the preserve of more inexperienced programmers who (wrongly) believe that such tools will diminish the learning curve. So there you are, Gary. I hope you have discovered that there are no deficiencies in my mastery of the English language and I stick by original comment. Pithiness, in email, I consider a virtue. J. -Original Message- From: Gary, Chelsea [mailto:[EMAIL PROTECTED]] Sent: 16 May 2000 15:43 To: [EMAIL PROTECTED] Subject: Re: HTML editor So, do you have a better suggestion? Or were you just trying to impress us with your mastery of the English language? -Original Message- From: John Edwards [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 16, 2000 8:44 AM To: [EMAIL PROTECTED] Subject: Re: HTML editor Homesite sucks. -Original Message- From: Gary, Chelsea [mailto:[EMAIL PROTECTED]] Sent: 16 May 2000 14:41 To: [EMAIL PROTECTED] Subject: Re: HTML editor HomeSite 4.5 is great. -Original Message- From: Claire Ryan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 16, 2000 8:34 AM To: [EMAIL PROTECTED] Subject: HTML editor Hello all, Could anyone recommend what html editor is the most sutiable to use for the writing of JSP pages. thanks in advance, claire Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com === 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 === 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 === 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/jspfa
Re: Is there any archive
http://archives.java.sun.com/archives/jsp-interest.html -Original Message- From: Venkat Muthusamy [mailto:[EMAIL PROTECTED]] Sent: Monday, May 15, 2000 7:32 PM To: [EMAIL PROTECTED] Subject: Is there any archive Hi, Is there any archives of all the mails coming thru this group.i would like to refer backome mals,which I deleted. please le me know thanks in advance Venkat __ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ === 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