Re: detecting browser type
Javascript var browsername=navigator.appname; thi swill give u browser type. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Brad Miley Sent: Monday, August 14, 2000 9:17 PM To: [EMAIL PROTECTED] Subject: detecting browser type How do you detect what type of browser the client is using? 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
Re: bit off topic - HELP on books: book for sale
I've got a brand-new copy of the "Java Servlet Programming" by Jason Hunter - 2nd edition !!! (got a second copy by mistake) $20 shipping/handling included. > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Daryani Santosh > Sent: Monday, August 14, 2000 2:47 PM > To: [EMAIL PROTECTED] > Subject: Re: bit off topic - HELP on books > > > Servlets - Java Servlet Programming by jason Hunter O'Reilley publication > Servlets - Professional java Server Programming Wrox Publication > Servlets and JSPs - Core Servlets and Java Server Pages - check > fatbrain.com > they have a very special offer for this book > > JSP - Professional JSP by Wrox Publication > JSP - Java Server Pages - by Fields and Kolb - recommended by a lot of > developers > > EJB - Mastering EJB by Wiley Publication - does not have lot of > code examples > but good overview of the concept. > > > Don't know any for Weblogic and Websphere > > Santosh > > > > > > > > > > > > Abudhahir A <[EMAIL PROTECTED]> on 08/14/2000 03:05:51 PM > > 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: bit off topic - HELP on books > > > > hi guys there > I want to equip as you guys are can any body suggest good book on > 1. Web Sphere > 2. Web Logic > 3. EJB > 4. Servlets & JSP > Thanks for your time and guidance > > abudhahir > > == > = > 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
Re: SQL server date Type - formatting
Nevermind - I figured it out. Thanks! Date thisdate = rs.getDate("date_mod"); out.println(myFormat.format(thisdate)); Neal -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Neal Cabage Sent: Monday, August 14, 2000 6:57 PM To: [EMAIL PROTECTED] Subject: [JSP-INTEREST] SQL server date Type - formatting I have a field in my SQLServer DB that is of DateTime type. JDBC returns the value as: 2000-08-09 23:24:43.810 Then I need to format this as follows: 8/14/00 I was going to use: <% DateFormat myFormat = new SimpleDateFormat("MM/dd/yy"); Date myTest = myFormat.parse(rs.getString("date_mod")) %> But the value of: rs.getString("date_mod") is apparently not a valid date value. Of course I could manually parse this out based upon patterns, but I would like to know what I must do to retrieve the dateTime value as a valid date. Anyone aware of how I might parse and/or convert this one *the right way*? Thanks. Neal === 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
SQL server date Type - formatting
I have a field in my SQLServer DB that is of DateTime type. JDBC returns the value as: 2000-08-09 23:24:43.810 Then I need to format this as follows: 8/14/00 I was going to use: <% DateFormat myFormat = new SimpleDateFormat("MM/dd/yy"); Date myTest = myFormat.parse(rs.getString("date_mod")) %> But the value of: rs.getString("date_mod") is apparently not a valid date value. Of course I could manually parse this out based upon patterns, but I would like to know what I must do to retrieve the dateTime value as a valid date. Anyone aware of how I might parse and/or convert this one *the right way*? Thanks. Neal === 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: detecting browser type
An easy way to detect which browser is being used is by JavaScript. Here are two functions for detecting IE vs. Netscape: function is_ie() { if (browser == "Microsoft Internet Explorer") return true; return false; } function is_ns4() { if(browser == "Netscape" && parseInt(navigator.appVersion) < 5 ) return true; return false; } The navigator object will provide you with all the information needed for browser type and version. If you would like to know more about using JavaScript for browser detection check out http://www.jspinsider.com , I'll write a more detailed code snippet and post it ASAP. [EMAIL PROTECTED] - Original Message - From: "Brad Miley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 14, 2000 9:17 AM Subject: detecting browser type > How do you detect what type of browser the client is using? > > > 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
Where did 1.0 spec go?
Download via HTTP returns a blank page. I really just need a reference card. I just installed ServletExec 3.0 and it supports 1.0, NOT 1.1 or .91!!! Thanks, Ed http://java.sun.com/Download3 === 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: Servlets question, Urgent!!!!
Thanks for the reply Aaron. But, when I attempt this I get the following output by Tomcat "Error reading request connection reset". Yet when I invoke my servlet from a browser such as IE5. Things work fine. Thanks again. -Original Message- From: Aaron Gilreath [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 25, 2000 1:27 PM To: [EMAIL PROTECTED] Subject: Re: Servlets question, Urgent Yes, In a java client program, use URLConnection to connect to servlet passing the URL with parameters. You can get the parameters from a file, command line or hardcode it like the example below URL url = null; URLConnection urlc = null; PrintWriter pw = null; url = new URL("http://localhost:7001/servletName?name=value&name2=value2"); urlc = url.openConnection(); urlc.setDoOutput(true); urlc.setDoInput(true); urlc.setUseCaches(false); pw = new PrintWriter(new OutputStreamWriter(urlc.getOutputStream()), true); pw.println("Here it comes"); BufferedReader inStream = new BufferedReader(new InputStreamReader(urlc.getInputStream())); System.out.println(inStream.readLine()); }catch(Exception e) { System.out.println(e.toString()); } regards, Aaron - Original Message - From: Aparna Neelgar <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 25, 2000 3:31 PM Subject: Servlets question, Urgent > Hi all, > Is there a way to take the query string parameters to a servlet from command > line or from a file? Like instead of using a browser, cna the command line > be used to send a query to a servlet which after processing displays a > message in html, jsp or just as a out.println(). If so, please let me know. > Can it be done using the generic servlet? > Thanks in advance. > -Aparna > > 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
Re: Servlets question, Urgent!!!!
When attempting this method of communications with a servlet I receive a "Error reading request connection reset by peer" message. Any ideas would be greatly appreciated. -Original Message- From: Aaron Gilreath [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 25, 2000 1:27 PM To: [EMAIL PROTECTED] Subject: Re: Servlets question, Urgent Yes, In a java client program, use URLConnection to connect to servlet passing the URL with parameters. You can get the parameters from a file, command line or hardcode it like the example below URL url = null; URLConnection urlc = null; PrintWriter pw = null; url = new URL("http://localhost:7001/servletName?name=value&name2=value2"); urlc = url.openConnection(); urlc.setDoOutput(true); urlc.setDoInput(true); urlc.setUseCaches(false); pw = new PrintWriter(new OutputStreamWriter(urlc.getOutputStream()), true); pw.println("Here it comes"); BufferedReader inStream = new BufferedReader(new InputStreamReader(urlc.getInputStream())); System.out.println(inStream.readLine()); }catch(Exception e) { System.out.println(e.toString()); } regards, Aaron - Original Message - From: Aparna Neelgar <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 25, 2000 3:31 PM Subject: Servlets question, Urgent > Hi all, > Is there a way to take the query string parameters to a servlet from command > line or from a file? Like instead of using a browser, cna the command line > be used to send a query to a servlet which after processing displays a > message in html, jsp or just as a out.println(). If so, please let me know. > Can it be done using the generic servlet? > Thanks in advance. > -Aparna > > 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
error resolving relative path in 'errorPage'
I have question regarding error handling in JSP. My site say 'Today' has two jsp files under two seperate folders namely 'News.jsp' under 'News' folder and 'failure.jsp' under 'failure' folder. As you can see failure is my error page. Now when an exception occurrs in news.jsp, my error page gets called but the 'errorPage' attribute of 'page' directive says "../failure/failure.jsp". This is where the call fails and WebSphere gives me compilation error since it cannot resolve '..' and I don't know how to go up the tree. Because of our products structure, the failure page cannot be under same folder. Can anyone please tell me how to get thsi path resolved? I wanted to make the code neat with error handling... I don't want to use try.catch everywhere in my jsp code or sendRedirect. As I use beans I don't have servlet context in my java code. 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
ConcurrentModificationException
Sneha Sharma@CONTEXT 08/14/2000 02:42 PM Hi ! We are using JSPs and in some occasions, when we say jsp:include , we get the exception ConcurrentModificationException It is meant to be for Collections. We are not using collections. So what is it? Regards, Sneha === 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
Tomcat running on Solaris 8 (x86)
O wise ones: I have installed tomcat 3.1 on my Solaris 8 machine. When connecting to http://mybox:8080 , I can run the servlet examples ok. When I run the NumberGuess, the harddrives on the server just spin and spin and spin. I telnet'd in and noticed that the drive space was being chewed up in the ../jakarta-tomcat/work directory. I had to kill the java process because it had chewed over 120MB! Here is what I have installed: OS: Solaris 8 (intel) JDK: Solaris VM (build Solaris_JDK_1.2.2_05a, native threads, sunwjit) Tomcat: 3.1 While we're on the Solaris-Intel subject, has anyone compiled apache's module: mod_jserv.so ? This allows you to dangle webapps right off of your website, example: http://myserver/webapp1 Thanks Chris Murphy OTS Information Systems OTS-WEST (916) 939-5868 MS: 4050 === 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: Thanks in advance
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Thanks E. wayne allison wrote: > Hello all, > > I am unable to handle the volume of email generated > with this group on top of others. > > I have tried three different methods to remove > myself, all to no avail. > > Can some help get me off of this email list? > > Thanks, > > Wayne Allison > > __ > Do You Yahoo!? > Yahoo! Mail Free email you can access from anywhere! > http://mail.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
Thanks again for Everybody - Helped
thanks for ur 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
Thanks in advance
Hello all, I am unable to handle the volume of email generated with this group on top of others. I have tried three different methods to remove myself, all to no avail. Can some help get me off of this email list? Thanks, Wayne Allison __ Do You Yahoo!? Yahoo! Mail Free email you can access from anywhere! http://mail.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
Re: bit off topic - HELP on books
Servlets - Java Servlet Programming by jason Hunter O'Reilley publication Servlets - Professional java Server Programming Wrox Publication Servlets and JSPs - Core Servlets and Java Server Pages - check fatbrain.com they have a very special offer for this book JSP - Professional JSP by Wrox Publication JSP - Java Server Pages - by Fields and Kolb - recommended by a lot of developers EJB - Mastering EJB by Wiley Publication - does not have lot of code examples but good overview of the concept. Don't know any for Weblogic and Websphere Santosh Abudhahir A <[EMAIL PROTECTED]> on 08/14/2000 03:05:51 PM 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: bit off topic - HELP on books hi guys there I want to equip as you guys are can any body suggest good book on 1. Web Sphere 2. Web Logic 3. EJB 4. Servlets & JSP Thanks for your time and guidance abudhahir === 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: bit off topic - HELP on books
Hi, ed roman's ejb book is available: http://www.interpasnet.com/JSS/index.htm?id=11 wrox's prof jsp is good. ron --- Abudhahir A <[EMAIL PROTECTED]> wrote: > Thanks Patrick. > > - Original Message - > From: Patrick Buchanan <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, August 15, 2000 12:49 AM > Subject: Re: bit off topic - HELP on books > > > > A very good book on JSP's is "Web Development with > JavaServer Pages" by > Duane K. > > Fields and Mark A. Kolb, Manning publishing. > > > > Another is "Core Servlets adn JavaServer Pages" by > Marty Hall, Sun > publishing > > > > Another very popular book is "Java Servlet > Programming" by Jason Hunter, > > O'Reilly publishing . . . it's the one with the > tea/coffee kettle on the > front. > > > > hope that helps, > > > > pat > > > > > > > > > > > > Abudhahir A <[EMAIL PROTECTED]> on 08/14/2000 > 03:05:51 PM > > > > Please respond to A mailing list about Java Server > Pages specification and > > reference <[EMAIL PROTECTED]> > > > > To: [EMAIL PROTECTED] > > cc:(bcc: Patrick Buchanan/CFC) > > > > Subject: bit off topic - HELP on books > > > > > > > > > > hi guys there > > I want to equip as you guys are can any body > suggest good book on > > 1. Web Sphere > > 2. Web Logic > > 3. EJB > > 4. Servlets & JSP > > Thanks for your time and guidance > > > > abudhahir > > > > > === > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > "This may contain information that is confidential > or privileged. If you > are not > > the addressee indicated in this message (or > responsible for delivery of > this > > message to such person), you should not copy or > deliver this message to > > anyone or make any other use of the information > set forth herein. In such > > case, you should destroy this message and notify > the sender by telephone > > or e-mail." > > > > > === > > 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 __ Do You Yahoo!? Yahoo! Mail Free email you can access from anywhere! http://mail.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
Re: bit off topic - HELP on books
For Servlets & JSP refer to the following books: Core Servlets & JavaServer Pages by Marty Hall(ISBN:0130893404) Professional JSP by Wrox Publishers (ISBN:1861003625) Fir EJB refer to Developing Enterprise JavaBeans by O'Reilly publishers - Original Message - From: "Abudhahir A" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 14, 2000 3:05 PM Subject: bit off topic - HELP on books > hi guys there > I want to equip as you guys are can any body suggest good book on > 1. Web Sphere > 2. Web Logic > 3. EJB > 4. Servlets & JSP > Thanks for your time and guidance > > abudhahir > > === > 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: bit off topic - HELP on books
Thanks Patrick. - Original Message - From: Patrick Buchanan <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 15, 2000 12:49 AM Subject: Re: bit off topic - HELP on books > A very good book on JSP's is "Web Development with JavaServer Pages" by Duane K. > Fields and Mark A. Kolb, Manning publishing. > > Another is "Core Servlets adn JavaServer Pages" by Marty Hall, Sun publishing > > Another very popular book is "Java Servlet Programming" by Jason Hunter, > O'Reilly publishing . . . it's the one with the tea/coffee kettle on the front. > > hope that helps, > > pat > > > > > > Abudhahir A <[EMAIL PROTECTED]> on 08/14/2000 03:05:51 PM > > Please respond to A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > cc:(bcc: Patrick Buchanan/CFC) > > Subject: bit off topic - HELP on books > > > > > hi guys there > I want to equip as you guys are can any body suggest good book on > 1. Web Sphere > 2. Web Logic > 3. EJB > 4. Servlets & JSP > Thanks for your time and guidance > > abudhahir > > === > 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 > > > > > > > > > > > > > > > "This may contain information that is confidential or privileged. If you are not > the addressee indicated in this message (or responsible for delivery of this > message to such person), you should not copy or deliver this message to > anyone or make any other use of the information set forth herein. In such > case, you should destroy this message and notify the sender by telephone > or e-mail." > > === > 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: bit off topic - HELP on books
A very good book on JSP's is "Web Development with JavaServer Pages" by Duane K. Fields and Mark A. Kolb, Manning publishing. Another is "Core Servlets adn JavaServer Pages" by Marty Hall, Sun publishing Another very popular book is "Java Servlet Programming" by Jason Hunter, O'Reilly publishing . . . it's the one with the tea/coffee kettle on the front. hope that helps, pat Abudhahir A <[EMAIL PROTECTED]> on 08/14/2000 03:05:51 PM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: Patrick Buchanan/CFC) Subject: bit off topic - HELP on books hi guys there I want to equip as you guys are can any body suggest good book on 1. Web Sphere 2. Web Logic 3. EJB 4. Servlets & JSP Thanks for your time and guidance abudhahir === 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 "This may contain information that is confidential or privileged. If you are not the addressee indicated in this message (or responsible for delivery of this message to such person), you should not copy or deliver this message to anyone or make any other use of the information set forth herein. In such case, you should destroy this message and notify the sender by telephone or e-mail." === 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
bit off topic - HELP on books
hi guys there I want to equip as you guys are can any body suggest good book on 1. Web Sphere 2. Web Logic 3. EJB 4. Servlets & JSP Thanks for your time and guidance abudhahir === 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
Test
This is a test message === 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: detecting browser type
Hi, There are some more browser specific variables also. Search http://www.irt.org var browserApp = navigator.appName; var browserPlatform = navigator.platform; if ( browserApp.indexOf ( "Microsoft" ) >= 0 ) { if (browserPlatform.indexOf("Win32") >= 0) { } } else { } bye, Mohan -Original Message- From: Brad Miley [mailto:[EMAIL PROTECTED]] Sent: Monday, August 14, 2000 9:17 AM To: [EMAIL PROTECTED] Subject: detecting browser type How do you detect what type of browser the client is using? 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
leap Year check method in JavaScript
Is there any better way in Java Script to do a leap year check. One way of doing it is to take the sub string for year from the date and check for it. 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
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: detecting browser type
Hi, There are some more browser specific variables also. Search http://www.irt.org var browserApp = navigator.appName; var browserPlatform = navigator.platform; if ( browserApp.indexOf ( "Microsoft" ) >= 0 ) { if (browserPlatform.indexOf("Win32") >= 0) { } } else { } bye, Mohan -Original Message- From: Brad Miley [mailto:[EMAIL PROTECTED]] Sent: Monday, August 14, 2000 9:17 AM To: [EMAIL PROTECTED] Subject: detecting browser type How do you detect what type of browser the client is using? 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
Re: detecting browser type
Use request.getHeader("user-agent"); for example a client with internet explorer 5.5 will return a user agent of: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; ZDNetSL) Casey Kochmer [EMAIL PROTECTED] www.jspinsider.com >From: Brad Miley <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: detecting browser type >Date: Mon, 14 Aug 2000 16:17:05 GMT > >How do you detect what type of browser the client is using? > > >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 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
Re: detecting browser type
Try this , its Javascript App name returns the type of browser document.write(navigator.appName); document.write(navigator.platform); Brad Miley <[EMAIL PROTECTED]> on 08/14/2000 12:17:05 PM 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: detecting browser type How do you detect what type of browser the client is using? 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
Re: JSP with Visual Age for Java
your version of VAJ is running pre-1.0 jsp; either .91 or .92. don't remember which is which with regard to VAJ. any jsp book or jason hunter's servlet book shows pre-1.0 syntax. don't bank on it; jsp containers, that i've seen, don't support more than version. tomcat is 1.0 compliant. robert young - Original Message - From: Maciej Tylczyński <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 14, 2000 11:07 AM Subject: JSP with Visual Age for Java > Hi all > > I just started to use VAJ with jsp and it looks like VAJ uses different kind > of jsp syntax. For example instead of . > Where can I find some syntax explanation ? > > 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
giving scope both session and request?
I was wondering if it is possible to give a bean scope both "session" and "request"? I have a page called process.jsp which is called after the submission of a form. In this page I would like to be able to use the jsp shortcuts of getting the parameters by (this example:).. text.addLine( text.getText(), text.getFirstName(), text.getLastName(), text.getNumberOne(), text.getOther(), text.getEmail() ); This works fine but the problem is when the method addLine in the bean is called (which updates a vector stored in the bean) the bean no longer holds the value of the updated vector when I go to the forwarded page. If I switch the bean scope on this process.jsp page to "session" it will hold the updated vector, but it then can't process the request parameters correctly with the shortcut i'm using. (I know I could change the above method to use request.getParameter("firstName") etc. and it would work but I'd like to see if there is a way to do it without doing this). I'm sure there is something basic I'm missing here, and would love any help. Thanks. The following is the complete process.jsp page (not very long). <%@ page language="java" import="java.util.*,java.io.*,TextReader,TextReader.PhoneInfo" %> <% text.addLine( text.getText(), text.getFirstName(), text.getLastName(), text.getNumberOne(), text.getOther(), text.getEmail() ); %> .. "A wise man would pick up a grain of sand and see the entire universe, a stupid man would get naked, role in seaweed, and stand up and say, 'Look, I'm vine man.'" === 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
detecting browser type
How do you detect what type of browser the client is using? 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
JSP with Visual Age for Java
Hi all I just started to use VAJ with jsp and it looks like VAJ uses different kind of jsp syntax. For example instead of . Where can I find some syntax explanation ? 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
Re: WEBLOGIC JDBC PROBLEM
This is a WL specific problem and should be posted to WL group. You need to have the classfile in your WEBLOGICCLASSPATH (edit your startWebLogic.cmd or .sh) file. >From: "Lamport, Mark" <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: WEBLOGIC JDBC PROBLEM >Date: Mon, 14 Aug 2000 15:17:32 +0100 > >Hi I wonder if anyone out there can help me. >I've compile a Java program which accesses an MS SQL database via JDBC, >which works fine as a stand alone program. However when I run a servlet >using Weblogic 5.1 that also accesses the MS SQL database I get the >following error: > >java.lang.ClassNotFoundException:weblogic.jdbc.mssqlserver4.Driver > >Even though I think I've set the CLASSPATHS up correctly. Could this be a >configuration problem? > >Can anyone help? > >Regards, > > >Mark Lamport >Lead Online Engineer, >EASPORTS. >http://www.easports.com >Tel: 01932 452814 >mailto:[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 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
SV: what's wrong with this JSP file ? Urgent Please
Change the SQL statement, configure the table to use default values, use some JavaScript to check the form values before submitting will all FIX the problem BUT ! Can I check/handle NULL values in a recordset using JAVA (JDBC-ODBC) ? Example: I have a .jsp page for list all messages from table: tbl_msg (name varchar(50),title varchar(100),msg text). Column msg may include null values. If it find a null value in the msg column it will show nothing or do some spec. action like include another .jsp page ... Enviroment: Wint NT, MS SQL Server 7.0, Tomcat 3.1 ... So is it possible to check for null values in java, or handle null values before the error ? I'm very gratefull for all help ! /Mange -Ursprungligt meddelande- Från: Selvamani Jayakumar [SMTP:[EMAIL PROTECTED]] Skickat:den 14 augusti 2000 20:52 Till: [EMAIL PROTECTED] Ämne: Re: JDBC-ODBC and NULL hi you can change the SQL statement to avoid null. Check the fields which will be null and replace with space. You can use the NVL funct in Oracle and ISNULL funct in SQL Serv. By this way you can avoid null values before getString. It doesnt chnge your database values too. >From: Magnus Walter <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: JDBC-ODBC and NULL >Date: Mon, 14 Aug 2000 13:58:51 +0200 > >Hi, >need help with JDBC-ODBC and NULL values ? > >When I use getString and the value is null I got a ugly ERROR ! Is it >possible to check for NULL values before i use getString ? >(getString will give me the error so the method wasNull() dont help) > >Please help ! >( I dont want to change the database and its null values) > >/Mange > >=== >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 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
SV: JDBC-ODBC and NULL
Change the SQL statement, configure the table to use default values, use some JavaScript to check the form values before submitting (app design problem) will all FIX the problem BUT ! Can I check/handle NULL values in a recordset using JAVA (JDBC-ODBC) ? Example: I have a .jsp page for list all messages from table: tbl_msg (name varchar(50),title varchar(100),msg text). Column msg may include null values. If I found a null value in the msg column I will show nothing or do some spec. action like include another .jsp page ... Enviroment: Wint NT, MS SQL Server 7.0, Tomcat 3.1 ... So is it possible to check for null values in java, or handle null values before the error ? I'm very gratefull for all help ! /Mange > -Ursprungligt meddelande- > Från: Selvamani Jayakumar [SMTP:[EMAIL PROTECTED]] > Skickat: den 14 augusti 2000 20:52 > Till: [EMAIL PROTECTED] > Ämne: Re: JDBC-ODBC and NULL > > hi > > you can change the SQL statement to avoid null. Check the fields > which will be null and replace with space. You can use > the NVL funct in Oracle and ISNULL funct in SQL Serv. > By this way you can avoid null values before getString. > It doesnt chnge your database values too. > > > > > > >From: Magnus Walter <[EMAIL PROTECTED]> > >Reply-To: A mailing list about Java Server Pages specification and > > reference <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: JDBC-ODBC and NULL > >Date: Mon, 14 Aug 2000 13:58:51 +0200 > > > >Hi, > >need help with JDBC-ODBC and NULL values ? > > > >When I use getString and the value is null I got a ugly ERROR ! Is it > >possible to check for NULL values before i use getString ? > >(getString will give me the error so the method wasNull() dont help) > > > >Please help ! > >( I dont want to change the database and its null values) > > > >/Mange > > > >= > == > >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 > > > 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
what's wrong with this JSP file ? Urgent Please
Flash macromedia set the variable Counter, and call this JSP file, I want this JSP file to return a string to flash someting like " Headlines=5&Headline1=import java.awt.*;" I don't know if it is correct or no to use out.write or out print to output a string from JSP file to the caller( flash or a form). Thanks. MyCo Directory <%@ page language="java" import="java.sql.*" %> <% pid = Integer.parseInt(request.getParameter("Counter")) %> MyCo Employees <% empbean.makeConnection(); // connect up if (empbean.getEmployees())// perform query { String last = empbean.getColumn("lastname"); %> out.write("Headlines=5&Headline1=import java.awt.*;") <% } /* of if */ empbean.takeDown(); %> Go back to admin control 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
WEBLOGIC JDBC PROBLEM
Hi I wonder if anyone out there can help me. I've compile a Java program which accesses an MS SQL database via JDBC, which works fine as a stand alone program. However when I run a servlet using Weblogic 5.1 that also accesses the MS SQL database I get the following error: java.lang.ClassNotFoundException:weblogic.jdbc.mssqlserver4.Driver Even though I think I've set the CLASSPATHS up correctly. Could this be a configuration problem? Can anyone help? Regards, Mark Lamport Lead Online Engineer, EASPORTS. http://www.easports.com Tel: 01932 452814 mailto:[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: Page comes up as ---> No detailed message
Hi! I have no idea what's wrong with tomcat, but your code is perfectly fine and executes smoothly with jo! Maybe you can find something in tomcat's log or you have to set the logger to DEBUG level... -hendrik - - - - - - - - - - - - - - - - - - - - - - - - - - - tagtraum industries http://www.tagtraum.com/ jo! small&smart 2.2 servletengine Java Server & Servlets The web-application book The WebApp Frameworkhttp://www.webapp.de/ Prasad Mvs wrote: > Hi JSP lovers, > > I have this small jsp code: > > > Hello World ! > <%@ page language="java" import="java.util.*" %> > This is an example > <%=Calendar.getInstance().toString() %> > > > This code shows up as > > Error: 500 > Location: /jsp/index.jsp > No detailed message > > on the page. Why is it happenning > > I have Apache's TOMCAT on my machine, all configured. > > Please let me know what could be going wrong!! I really appreciate > your response. > Thank you. > > - Prasad > > === > 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: JDBC-ODBC and NULL
hi you can change the SQL statement to avoid null. Check the fields which will be null and replace with space. You can use the NVL funct in Oracle and ISNULL funct in SQL Serv. By this way you can avoid null values before getString. It doesnt chnge your database values too. >From: Magnus Walter <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: JDBC-ODBC and NULL >Date: Mon, 14 Aug 2000 13:58:51 +0200 > >Hi, >need help with JDBC-ODBC and NULL values ? > >When I use getString and the value is null I got a ugly ERROR ! Is it >possible to check for NULL values before i use getString ? >(getString will give me the error so the method wasNull() dont help) > >Please help ! >( I dont want to change the database and its null values) > >/Mange > >=== >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 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
Information about JDeveloper Required.
Platform : JSP,Java,EJB. Hi, Can anyone send me some information about Oracle JDeveloper 3.1.Can anyone suggest some good sites . Thanks in Advance. Regards Ritesh === 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
FWD: Database hierarchy
Sorry if you got this message before (email problem). Oscar --Original Message-- From: Oscar Sanchez Vilar <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: August 14, 2000 11:34:31 AM GMT Subject: Database hierarchy Hi list. I have a table in a database storing data structured as a hierarchy: categories and subcategories of products. Each row has to fields: the name of the category and the category that it belongs to. I was wondering which would be the best way to show this information using jsp, and allow the users to add new subcategories at any level of the hierarchy. Any beans out there that do it in a nice way? Thanks in advance, Oscar __ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup __ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup === 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: reload doesn't work suddenly
Dear David, I once have this problem too. I put all my jsp files under /pathTo/jakarta-tomcat/webapps/examples. I've read once in this mailing list sometime on early March 2000, and there's an advice to check a directory where our compiled jsp code resides in tomcat directory structures. For example with my directory structure above then I have to look for: /pathTo/jakarta-tomcat/work/localhost_8080%2Fexamples There where I found all of the compiled jsp pages. Then we have to remove all of those files and restart the tomcat engine and your changes should be reflected again in your browsers. There's a rule that tomcat will allow only 10 times of changes for each jsp page you're working on and then you have to cleanup that directory and restart the server. I don't know if the current reslease has change this. Regards, Peter Gozal > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of david chan > Sent: 13 Agustus 2000 10:30 > To: [EMAIL PROTECTED] > Subject: reload doesn't work suddenly > > > Hi, > I am using Apache 1.3.12/Tomcat 3.1, and suddenly the JSP > reloading doesn't > work. It works before and I checked my conf files, there is already > reloadable="true" in the context path setting. > I think the reload doesn't work when I have put a include file in > all my jsp > by this : <% include file="myinclude.jsp" %>. > Then even if I delete the "myinclude.jsp", it still exists in my > jsp output > even I restart the computer ! > It looks like this file is been cached in somewhere. > And I can only make it reload when I intentionaly make a sytax > error in the > jsp files that include the "myinclude.jsp", so the jsp container recompile > the jsp page to class, but that is not convenient since I have a > lot of jsp > page include the "myinclude.jsp". > Does any one have any clue about this ? > Thanks. > David > > > 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
Re: using corba from servlets
Your classpath is different when you run the application from the command line than when you run the servlet through the webserver. Make sure your web server's classpath has the CORBA classes in it. >>> [EMAIL PROTECTED] 8/11/00 4:45 >>> dear Members, If anyone over there knows y I get class not found error when using corba from servlets. When I run the same code as an application from command line by cmd> vbj myapplicaton it runs fine but when i embedd that class in servlet then the moment i try to intialize ORB I get class not found error class is com/inprise/vbroker/CORBA/portable/ObjectImpl error goes as follows : failure ( 418): Internal error: exception thrown from the servlet service function (uri=/servlet/ConnectionTesting): java.lang.NoClassDefFoundError: com/inprise/vbroker/CORBA/portable/ObjectImpl, Stack: java.lang.NoClassDefFoundError: com/inprise/vbroker/CORBA/portable/ObjectImpl at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:442) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:101) at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) best regards, Mandeep Jossan 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
JDBC-ODBC and NULL
Hi, need help with JDBC-ODBC and NULL values ? When I use getString and the value is null I got a ugly ERROR ! Is it possible to check for NULL values before i use getString ? (getString will give me the error so the method wasNull() dont help) Please help ! ( I dont want to change the database and its null values) /Mange === 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
Database hierarchy
Hi list. I have a table in a database storing data structured as a hierarchy: categories and subcategories of products. Each row has to fields: the name of the category and the category that it belongs to. I was wondering which would be the best way to show this information using jsp, and allow the users to add new subcategories at any level of the hierarchy. Any beans out there that do it in a nice way? Thanks in advance, Oscar __ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup === 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: A EJB Question
Pratik OK so you're more interested in a comparison of different EJB containers. I cannot provide you with this information, but a site which may be of interest to you as a starting point is: http://www.techmetrix.com/lab/benchcenter/asdirindex.shtml This gives a list of some very popular application servers (and/or) EJB containers. There are some white papers, but I also note that it is somewhat out of date see BEA (latest version 5.1). also try: http://www.appserver-zone.com/ And when all else fails, visits www.google.com Simon -Original Message- From: Pratik [mailto:[EMAIL PROTECTED]] Sent: 14 August 2000 11:50 To: [EMAIL PROTECTED] Subject: Re: A EJB Question Friends thanks for your reply. But I am more interested in comparison of different EJB containers. Is there any url for comparison ? thanks - Original Message - From: "ramadevi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 14, 2000 3:18 PM Subject: Re: A EJB Question > weblogic ,websphere are the other EJB containers. > > Pratik wrote: > > > Friends sorry for EJB question in JSP forum. > > I would like to know about EJB container available . > > And if possible comparision of them. > > What about Jboss or EJBoss?. > > I am using Tomcat as Servlet Cointainer. > > > > Any Idea.? > > Thanks in advance > > bye > > > > === > > 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 ** IMPORTANT NOTICE: This email is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomas Cook Holdings Ltd. ** === 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
Page comes up as ---> No detailed message
Hi JSP lovers, I have this small jsp code: Hello World ! <%@ page language="java" import="java.util.*" %> This is an example <%=Calendar.getInstance().toString() %> This code shows up as Error: 500 Location: /jsp/index.jsp No detailed message on the page. Why is it happenning I have Apache's TOMCAT on my machine, all configured. Please let me know what could be going wrong!! I really appreciate your response. Thank you. - Prasad === 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
upload file
how to upload file with jsp? 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
Re: using RequestDispatcher.forward
check out if u are using relative path anywhere in the JSP. with regards, shibi Enter your default signature here Sent by Indya Messaging Service === 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: A EJB Question
Friends thanks for your reply. But I am more interested in comparison of different EJB containers. Is there any url for comparison ? thanks - Original Message - From: "ramadevi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 14, 2000 3:18 PM Subject: Re: A EJB Question > weblogic ,websphere are the other EJB containers. > > Pratik wrote: > > > Friends sorry for EJB question in JSP forum. > > I would like to know about EJB container available . > > And if possible comparision of them. > > What about Jboss or EJBoss?. > > I am using Tomcat as Servlet Cointainer. > > > > Any Idea.? > > Thanks in advance > > bye > > > > === > > 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
jsp and search
Hi all, I have following scenario. Please tell me how to go about it ? In my jsp page i have a search option which may return lot of search results. I want to display the informations 10 0r 20 at a time in the page. Each time , when i say more>> , i want the same page(i mean rest of the design should remain same) to display rest of the results. How can i do this ?I need to keep up the performance also. Thx Rakesh. === 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: A EJB Question
hi j2ee also container. 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
Re: A EJB Question
weblogic ,websphere are the other EJB containers. Pratik wrote: > Friends sorry for EJB question in JSP forum. > I would like to know about EJB container available . > And if possible comparision of them. > What about Jboss or EJBoss?. > I am using Tomcat as Servlet Cointainer. > > Any Idea.? > Thanks in advance > bye > > === > 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: storing data in database v. servletcontext
Hi! In general it would be a good idea if you had the data in the ServletContext as that is basically a HashMap and therefore very fast. BUT... ServletContext are local to your instance of the servlet engine and not distributable. i.e. if you have to scale the appication to multiple machines you should think about using Session for you user specific data and maybe using a database or an EJB server for you apllication specific data. Another issue with ServletContexts is that there is currently no way to notify the ServletContext that the application is shut down. Therefore you need to overwrite a Servlet's destroy method if you want write your data back to a file or database when the app is shut down. Also note that if you servers crashes all unsaved data in the ServletContext is lost. Hope this answers your question. -hendrik - - - - - - - - - - - - - - - - - - - - - - - - - - - tagtraum industries http://www.tagtraum.com/ jo! small&smart 2.2 servletengine Java Server & Servlets The web-application book The WebApp Frameworkhttp://www.webapp.de/ Soon Hong wrote: > hello, > > I have a performance question regarding the storing of > information. > > I have data that needs to be frequently accessed and > modified by users, and do not know if i should attach > it to the servletcontext or if i can simply access it > every time from the database. > > i would rather leave the information in the database > but do not know if this would cause extra overhead. > > is it better to attach data to the servletcontext? is > there a major performance difference? > > __ > Do You Yahoo!? > Yahoo! Mail Free email you can access from anywhere! > http://mail.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
Re: Please help:Network Adapter Problem
Thanks, but both parameters are OK Santiago > -Mensaje original- > De: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]En nombre de Prasad Mvs > Enviado el: lunes 14 de agosto de 2000 10:35 > Para: [EMAIL PROTECTED] > Asunto: Re: Please help:Network Adapter Problem > > > Check the "IP ADDRESS" and "PORT NUMBER". atleast, one of > them is wrong. > > Network connection needs only these two parameters. > > > - Prasad > > > Santiago Benito Rebollo wrote: > > > Hi all > > > > I installed JRun 2.3.3. in windows NT with ISS, but when I start my > > aplication, that connect with a DB, I have an error message > that says: "The > > network adapter could not establish the connection". > > > > So please tell me how to solve this problem. > > > > Thanks for previous help. > > > > Thanks in advance. > > > > Santiago > > > > > == > = > > 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
Re: A EJB Question
Check out JRun http://www.allaire.com/Products/JRun/ Simon -Original Message- From: Pratik [mailto:[EMAIL PROTECTED]] Sent: 14 August 2000 08:07 To: [EMAIL PROTECTED] Subject: A EJB Question Friends sorry for EJB question in JSP forum. I would like to know about EJB container available . And if possible comparision of them. What about Jboss or EJBoss?. I am using Tomcat as Servlet Cointainer. Any Idea.? Thanks in advance bye === 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 ** IMPORTANT NOTICE: This email is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomas Cook Holdings Ltd. ** === 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: Please help:Network Adapter Problem
Check the "IP ADDRESS" and "PORT NUMBER". atleast, one of them is wrong. Network connection needs only these two parameters. - Prasad Santiago Benito Rebollo wrote: > Hi all > > I installed JRun 2.3.3. in windows NT with ISS, but when I start my > aplication, that connect with a DB, I have an error message that says: "The > network adapter could not establish the connection". > > So please tell me how to solve this problem. > > Thanks for previous help. > > Thanks in advance. > > Santiago > > === > 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: using RequestDispatcher.forward
David, which web server r u using? I am also having the same problem in JWS. I was told that there are a few configurations to be set in the JW. I dunno what r those? AH, my suggestion is put this block in try-catch block. But now your error will not be program error but jws error. srinivas. >From: David Reck <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: using RequestDispatcher.forward >Date: Sun, 13 Aug 2000 01:49:30 -0600 > >I have the following code: > >RequestDispatcher rd = >getServletContext().getRequestDispatcher("/servlet/testServlet"); >rd.forward(request, response); > >The code works when I forward to a servlet but the code does not work when >I try >to forward to a jsp page or a html page. I get a >java.lang.NullPointerException >with jsp's and html's. Is there anything different that needs to be done >when >forward to something other than a servlet. > >Any suggestions would be greatly appreciated. > >Thanks, > >Dave > >***Internet Email Confidentiality Footer*** > > >Privileged/Confidential Information may be contained in this message. If >you >are not the addressee indicated in this message (or responsible for >delivery of >the message to such person), you may not copy or deliver this message to >anyone. >In such case, you should destroy this message and kindly notify the sender >by >reply email. Please advise immediately if you or your employer do not >consent to >Internet email for messages of this kind. Opinions, conclusions and other >information in this message that do not relate to the official business of >my >firm shall be understood as neither given nor endorsed by it. > >=== >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 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
Re: Tomcat 3.1 Calling a JSP from a servlet
Since I am a relative newbie to Java and JSP I will have to bow to your superior knowledge. However the problem did turn out to be a simple matter of correct paths. Tomcat ( I have discovered) expects the path to be relative to (but not including) the server root. Having entered this, everything worked ok since the RequestDispatch object could be correctly instantiated. As regards not using getWriter() and forward(request, response) together that was only there to alert me that the page had blown up because the RequestWriter failed to work and it does not seem to have been a problem in this case. Happily all is now in order. Thanks for your help. Regards, Eoin - Original Message - From: Majid Khojastehpour Sent: Saturday, August 12, 2000 1:53 PM Subject: Re: Tomcat 3.1 Calling a JSP from a servlet Hi, your code is wrong. You can not use getWriter() and forward(request, response) together. if u call getWriter() and after that call forward u will get IllegalStateException. see JSP 1.1 specification. Majid -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Eoin Shalloo Sent: Friday, August 11, 2000 4:21 PM To: [EMAIL PROTECTED] Subject: Tomcat 3.1 Calling a JSP from a servlet Hi, I have a simple but irritating to solve problem. I have a JSP which calls a servlet which in turn calls another JSP page. I am using code from "Core servlets and JavaServer pages" to do this (Listing 15.3). private void gotoPage(String address, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { RequestDispatcher dispatcher = getServletContext().getRequestDispatcher(address); PrintWriter out = response.getWriter(); if (dispatcher!= null){ out.println("dispatcher not null"); } else{ out.println("dispatcher is null"); } dispatcher.forward(request, response); } I think the problem is that I need to know the relative path from the servlet location to the jsp page location in order to 'tell' the servlet where to look for it. This I seem to be failing to do as the page always reads dispatcher is null suggesting that the getServletContext().getRequestDispatcher(address) is failing. Can any Tomcat users out there assist? Many thanks in advance. Eoin. ~ "Ní hé lá na gaoithe lá na scolb" T: +353 1 6710692 F: +353 1 6710863 === 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
Please help:Network Adapter Problem
Hi all I installed JRun 2.3.3. in windows NT with ISS, but when I start my aplication, that connect with a DB, I have an error message that says: "The network adapter could not establish the connection". So please tell me how to solve this problem. Thanks for previous help. Thanks in advance. Santiago === 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
storing data in database v. servletcontext
hello, I have a performance question regarding the storing of information. I have data that needs to be frequently accessed and modified by users, and do not know if i should attach it to the servletcontext or if i can simply access it every time from the database. i would rather leave the information in the database but do not know if this would cause extra overhead. is it better to attach data to the servletcontext? is there a major performance difference? __ Do You Yahoo!? Yahoo! Mail Free email you can access from anywhere! http://mail.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
A EJB Question
Friends sorry for EJB question in JSP forum. I would like to know about EJB container available . And if possible comparision of them. What about Jboss or EJBoss?. I am using Tomcat as Servlet Cointainer. Any Idea.? Thanks in advance bye === 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