request scope of a bean
i am trying to write an jsp where a bean is instaniated and has it data initialized on one jsp page. and then another page should be able to read the data from the bean. i have set the scope of the bean to request, but when it goes to the other page, i noticed that it is creating a new bean rather using the bean that was instaniated from the previous page. am i misunderstanding the scope of the bean? how can i get bean to be recognized by two jsp files without using session scope? peter choe === 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: Sample app on Tomcat
tomcat comes with examples in the examples folder. Vikas Arora wrote: > > Can anybody tell me taht from where do I get a simplest sample application > to Deply on Tomcat.. > I am new to Tomcat, though I have been working for a long time ob ASP with > IIS,and it will be my first application on Tomcat.JSP app. will be better. > Please give me some links... > TIA > bye! > > _ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Hpw to import different packages
the problem is that the Date class is defined in both sql package and util package, so the program doesn't know which Date class to call, either the one from sql package or the util package. peter choe Federico Delpino wrote: > > Hi people, >I have to import in my jsp page the packages > java.util.* and java.sql.* > I try with a code like this: > --- > <%@ page import="java.sql.*" %> > <%@ page import="java.util.*" %> > > The current date is <%= new Date()%> > > Calling the page I get the error: > .. Ambiguous class: java.sql.Date and java.util.Date > > Then the question: > It is legal to import more than one pagkage at time? > And, if so, how do that? > Thanks again > federico delpino > > -- > Federico Delpino Tel. 39-51-20-95722 > Osservatorio Astronomico di BolognaFax. 39-51-20-95700 > via Ranzani,1 - 40126 Bologna, Italy e-mail: [EMAIL PROTECTED] > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Newbie problem.
you need to put the jsp files in the tomcat directory, not the apache home directory. it is usually something like: /usr/home/tomcat/webapps/myjsp/index.jsp Scott Dunn wrote: > > Hello all, > > I have a .jsp webpage on a redhat linux 6.1 server with Apache running > tomcat 3.2.1. > I put the page in the home directory for the website. When I went to the > website and pulled up the page, the source code popped up. No pics or > anything just the source. Did tomcat not see the page? Did tomcat not > recognize the scripts? > I apologize for my ignorance but I am an extreme newbie. So any help and/or > good help files will be greatly appreciated. > > Scott > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Javascript
if you can speak french, he can help you. sandarbh wrote: > > what??? > - Original Message - > From: "youness htite" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, January 16, 2001 11:48 AM > Subject: Re: Javascript > > > si tu peut parleler en francais je peut t'aider > > - Original Message - > > From: "Abdou Achtatou" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, January 16, 2001 11:05 AM > > Subject: Javascript > > > > > > > G'day all > > > > > > Please let me know whether there is a list for Javascript please ? > > > > > > Thanks a lot > > > > > > Abdou ACHTATOU > > > Linedata Services Luxembourg > > > Centre Europe > > > 5, place de la Gare - L-1616 Luxembourg > > > Tel.(352) 29 56 65-281 - Fax.(352) 29 56 65-250 > > > E-mail : mailto:[EMAIL PROTECTED] > > > > > > > > > === > > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > > JSP-INTEREST". > > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > > DIGEST". > > > Some relevant FAQs on JSP/Servlets can be found at: > > > > > > http://java.sun.com/products/jsp/faq.html > > > http://www.esperanto.org.nz/jsp/jspfaq.html > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > > > === > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > > Some relevant FAQs on JSP/Servlets can be found at: > > > > http://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.html > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: how to document your code
no. but you can javadoc the servlet class that is produced. matt wrote: > > can javadoc document jsp pages? > - Original Message - > From: "Julie Melbin" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, January 16, 2001 7:01 PM > Subject: Re: how to document your code > > > At 01:30 PM 1/16/01, Venu Gopal wrote: > > Hi: > > > > But if we comment JSP Files using HTML comments they > > can be viewed in the browser. How else we can use > > javadoc in JSP? > > > > this should work > > > > > > <%-- some hidden comment --%> > > > > > > Venu > > > > --- Willard Thompson <[EMAIL PROTECTED]> > > wrote: > > > if you mean comments within the code then just use > > > the standard html ones: > > > > > > > > > > > > -Original Message- > > > From: matt [mailto:[EMAIL PROTECTED]] > > > Sent: Monday, January 15, 2001 6:08 AM > > > To: [EMAIL PROTECTED] > > > Subject: how to document your code > > > > > > > > > any good suggestions on documenting JSP pages. im > > > using Javadoc for all my > > > classes and methods. does Javadoc work with JSP? > > > > > > tahnk you > > > > > > > > === > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > > Some relevant FAQs on JSP/Servlets can be found at: > > > > http://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.html > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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: Closing a DB connection used in a bean
shouldn't you have an id attribute in the useBean tag also? Sanjay Gomes wrote: > > Hi > Well u get it bcoz of some syntax error in the declaration > > The scope should be in the Quotes ("") also > > Regards > Sanjay > > -Original Message- > From: A. C. [mailto:[EMAIL PROTECTED]] > Sent: 21 January 2001 18:02 > To: [EMAIL PROTECTED] > Subject: Closing a DB connection used in a bean > > I've a bean. It's constructor open a connection to a db using jdbc. > Each jsp page which needs to access the db, has this line: > > > I need to close the connection to the db when the user close his browser, so > i'd write something like this in each page: > <%! public void jspDestroy() { >db.closeConnection(); > } > %> > But it doesn't work because the "db" bean is not recognized inside the > method. > Any tips? > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: De-Tokenizing ?!
yes "Mayuresh Kadu (Aftek Infosys, Pune)" wrote: > > hello all, > > is there anyway in which i can convert a array of Strings into a Delimited > String - sort of "De" Tokenize it > > tia > > Mayuresh K > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: De-Tokenizing ?!
from what you describe, i would just concantate the strings in the array with a delimiter. but you really don't give alot of information. "Mayuresh Kadu (Aftek Infosys, Pune)" wrote: > > Peter, > > I amused. Can i please asked how ?! > > Mayuresh > > ----- Original Message - > From: Peter Choe <[EMAIL PROTECTED]> > > yes > > > > "Mayuresh Kadu (Aftek Infosys, Pune)" wrote: > > > > > > hello all, > > > > > > is there anyway in which i can convert a array of Strings into a > Delimited > > > String - sort of "De" Tokenize it > > > > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Anybody in Delhi working on JSP
or you can stop answering these post or send the reponse back to the original poster's email only instead of the newsgroup. Joseph Ottinger wrote: > > I'd be willing to moderate. It'd be a really easy job, for the most part: > > "Oh, look... a JSPI mail. [delete]" > > I'm joking, of course... that'd be the response MOST of the time, although > I'd probably reply "This should be on a generic Java list" or "This should > be on your application server's list" or "Gee, learn Java, would you?" > > Here's hoping nobody takes this as an offer for ME to moderate. :) > > >From: Flava Flave <[EMAIL PROTECTED]> > >Reply-To: A mailing list about Java Server Pages specification and > > reference <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: Re: Anybody in Delhi working on JSP > >Date: Mon, 5 Feb 2001 14:19:37 - > >MIME-Version: 1.0 > >Received: from [204.160.241.28] by hotmail.com (3.2) with ESMTP id > >MHotMailBC48024D004D40043119CCA0F11CA9D80; Mon Feb 05 06:23:14 2001 > >Received: from mail (mail.java.sun.com [204.160.241.28])by > >mail.java.sun.com (8.10.0.Beta13+Sun/8.10.2) with ESMTP id > >f15EOYd05758;Mon, 5 Feb 2001 06:24:34 -0800 (PST) > >Received: from JAVA.SUN.COM by JAVA.SUN.COM (LISTSERV-TCP/IP release 1.8d) > >with spool id 3971704 for [EMAIL PROTECTED]; Mon, 5 Feb > >2001 06:24:32 -0800 > >Received: from warrior-outbound.servers.plus.net ([212.159.14.227]) by > > mail.java.sun.com (8.10.0.Beta13+Sun/8.10.2) with SMTP id > >f15EO2d05392 for <[EMAIL PROTECTED]>; Mon, 5 Feb 2001 > >06:24:02 -0800 (PST) > >Received: (qmail 3153 invoked from network); 5 Feb 2001 14:21:20 - > >Received: from unknown (HELO fgazi) (212.159.32.108) by warrior with SMTP; > >5 Feb 2001 14:21:20 - > >From [EMAIL PROTECTED] Mon Feb 05 06:24:09 2001 > >References: <[EMAIL PROTECTED]> > >X-Priority: 3 > >X-MSMail-Priority: Normal > >X-Mailer: Microsoft Outlook Express 5.00.2919.6700 > >X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 > >Message-ID: <008b01c08f7e$ac96f740$[EMAIL PROTECTED]> > >Sender: A mailing list about Java Server Pages specification and > > reference <[EMAIL PROTECTED]> > > > >This current thread also underlines the need for moderation. And moderation > >with an iron-fist, if you ask me. > > > >With traffic on this list as high as it already is, do we really need more > >emails bouncing around about JSP in Delhi, when > >1) It could be taken off the list and onto private emails from the very > >beginning > >2) only benefits, and is of interest to a small percentage of the > >subscribers here > > > >These off-topic posts simply disturb and add clutter and noise. > >With this kind of crap going on, it means that the noise to sound ratio on > >this list is very high. > > > >And it may mean migrating to another moderated, and less "noisy" JSP list > >for many people. > > > >ff > > > >- Original Message - > >From: "Muttalib Abu" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Monday, February 05, 2001 1:55 PM > >Subject: Re: [JSP-INTEREST] Anybody in Delhi working on JSP > > > > > > > Hi Chandrika, > > > > > > Can be person you are looking for. I am from delhi. > > > > > > Though I am not working on JSP, I have got fairly good idea of things. > >Can > >contact me if you wish. > > > > > > Abu. > > > > > > > > > On Sun, 04 February 2001, Chandrika Khera wrote: > > > > > > > > > > > Hi, > > > > > > > > Is anybody in Delhi who has some experience working on JSP? I need > >help. > >Urgently. > > > > > > > > Regards, > > > > Chandrika > > > > > > > > > > > > _ > > > > Chat with your friends as soon as they come online. Get Rediff Bol at > > > > http://bol.rediff.com > > > > > > > > > >=== > > > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > >JSP-INTEREST". > > > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > >DIGEST". > > > > Some relevant FAQs on JSP/Servlets can be found at: > > > > > > > > http://java.sun.com/products/jsp/faq.html > > > > http://www.esperanto.org.nz/jsp/jspfaq.html > > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > > > > Abu M. Muttalib > > > __ > > > 123India.com - India's Premier Portal > > > Get your Free Email Account at http://www.123india.com > > > > > > > >=== > > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > >JSP-INTEREST". > > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > >DIGEST". > > > Some relevant FAQs on JSP/Servlets can be found at: > > > > > > http://java.sun.com/products/jsp/faq.html > > > http://www.esperanto.org.nz/jsp/jspfaq.html > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > >
Re: connecting to mssql
look at the javamail package. Antillon Reyes Rafael Martin - EXT wrote: > > Hello Everyone. > > I have a simple question: > How Do i send mail with a JSP? > > If u can give a me pointer or somewhere > I can get information i´ll appreciate it alot. > > Rafael Antillón Reyes > Grupo Vitro > Tel. 3-29-17-00 Ext. 2966 > [EMAIL PROTECTED] > ICQ# 61057293 > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: JSP, JRun, and Beans
perhaps you need to import the package ravage in your test class. Dave McHale wrote: > > hi, > > I'm running a simple test.jsp file on our JRun server, everything has been > working fine until I try and use beans. I can compile the file fine, put the > class file on the server, and make sure that the classpath includes the > directory where I'm storing the class. (well, the directory where I'm > storing the subdirectory, since the class is in a package) So my class file > is in d:\jrun\jsm-default\classes\dave directory. Any time I try and use the > bean, I get a 500 error saying > > Found 1 semantic error compiling > "d:/Jrun/jsm-default/services/jse/servlets/jsp/javadev/ravage/test.java": > 89. test.getMessage(); > <---> > *** Error: No method named "getMessage" was found in type > "jsp/javadev/ravage/test" > > the getMessage method EXISTS, the classpath is set properly (from what I can > tell) and I see nothing glaring that I have done wrong. *Please* reply if > you can help me, this is becoming more annoying than simply frustrating. > Thanks in advance for any help. Below is the entire contents of my > Bean > > -Dave > > package ravage; > public class SimpleBean { > private String message = "No message specified"; > public String getMessage() { > return(message); > } > public void setMessage(String message) { > this.message = message; > } > } > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: JDBC Drivers comparing
i personally like the accord, but i really haven't ridden in a camry. but i hear that they get stolen alot. Joseph Ottinger wrote: > > I agree, it's a good way to find out things - to ask people about the > differences between products. > > So, which do *you* like better? The Honda Accord or the Toyota Camry? > > Oh, wait, that might be offtopic for JSP-Interest, too... but who cares, > send me an answer. Everybody else expects it here... > > >From: Laurent Bruynooghe <[EMAIL PROTECTED]> > >Reply-To: A mailing list about Java Server Pages specification and > > reference <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: Re: JDBC Drivers comparing > >Date: Wed, 21 Feb 2001 17:20:44 +0100 > > > >I think it's a stupid question !!! > > > >Are you professional ? Sometimes, it's a good way to ask people about the > >differences > >bitween products. > >If you don't want to answer to this kind of question, just shut up !!! > > > > > >Laurent BRUYNOOGHE > > > >Visit our new web site : http://www.compubase-europe.com ! > > > >e-mail:[EMAIL PROTECTED] > >tel : 01 69 47 27 11 > > > >compuBase > >8-10 rue du Bois Sauvage > >91055 Evry FRANCE > > > > > > > > > > > -Message d'origine- > > > De: Joseph Ottinger [SMTP:[EMAIL PROTECTED]] > > > Date: mercredi 21 février 2001 16:59 > > > À:[EMAIL PROTECTED] > > > Objet:Re: JDBC Drivers comparing > > > > > > WHy don't you try them out and see for yourself? > > > > > > > > > >From: Laurent Bruynooghe <[EMAIL PROTECTED]> > > > >Reply-To: A mailing list about Java Server Pages specification and > > > > reference <[EMAIL PROTECTED]> > > > >To: [EMAIL PROTECTED] > > > >Subject: JDBC Drivers comparing > > > >Date: Wed, 21 Feb 2001 16:52:08 +0100 > > > > > > > >Hi, > > > > > > > >Two weeks ago, i asked you for JDBC drivers for Sql Server 6.5, you > >gave > > > me > > > >good responses. > > > >Thank a lot for it. > > > > > > > >I have another question. I have 4 JDBC Drivers : > > > > > > > >JSQLConnect (netdirect), > > > >i-net UNA 2000 (i-net software) > > > >i-net SPRINTA 2000 (i-net software) > > > >i-net OPTA 2000 (i-net software) > > > > > > > >Did anyone try one of these JDBC drivers ? > > > >Which one is better ? > > > > > > > >Thanks for your responses and sorry for my english. > > > > > > > >Laurent BRUYNOOGHE > > > > > > > >Visit our new web site : http://www.compubase-europe.com ! > > > > > > > >e-mail:[EMAIL PROTECTED] > > > >tel : 01 69 47 27 11 > > > > > > > >compuBase > > > >8-10 rue du Bois Sauvage > > > >91055 Evry FRANCE > > > > > > > > > >= > > > == > > > >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 > > > > > > _ > > > Get your FREE download of MSN Explorer at http://explorer.msn.com > > > > > > > >== > > > = > > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > > > JSP-INTEREST". > > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > > > DIGEST". > > > Some relevant FAQs on JSP/Servlets can be found at: > > > > > > http://java.sun.com/products/jsp/faq.html > > > http://www.esperanto.org.nz/jsp/jspfaq.html > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > >=== > >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > >JSP-INTEREST". > >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > >DIGEST". > >Some relevant FAQs on JSP/Servlets can be found at: > > > > http://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.html > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > _ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets ==
Re: Simple newbie question
check to see if it the parameters equals null instead of "". Tony Leake wrote: > > Hi, > > I'm trying to test a parameter to see if it exists: > > on page 1 i have a form with a text field > > > > on page 2 i want to test if the box was filled in and if it contains a > string or a number. I can't even seem to test if thread is empty. > > I've tried > > if(request.getParameter("sub")=="") > { > //stuff > } > but that doesn't seem to do anything. > > thanks for any help > Tony > > _ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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
where to put jar
i have a database connection pool jar file that i want to use for my web applications. so, i placed the jar file in $TOMCAT_HOME/lib. but when i run my web application, it doesn't seem to use the jar file. do i need to set the classpath to read the jar file? i thought that if it is in the lib folder, tomcat will read it and use the classes in the jar file. peter choe btw: i am using tomcat3.2 === 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
taglib
so, i am playing around with custom taglibs and i think i have an understanding of the different files (taglib.tld, etc) and where they go. and is it my understanding that if i want to use the taglibs in different webapplication, i need to put the whole taglibs into each different webapplication. peter choe === 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: taglib
what do you mean mark up a dependency for the same? can you give me an example? peter choe Mayuresh Kadu wrote: > > well .. it depends. > > If u r using J2EE-compliant applications like myself .. i would put them in > a jar and mark up a dependancy for the same. > > Mayuresh > > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Choe > Sent: Wednesday, June 13, 2001 8:38 PM > To: [EMAIL PROTECTED] > Subject: taglib > > so, i am playing around with custom taglibs and i think i have an > understanding of the different files (taglib.tld, etc) and where they > go. > > and is it my understanding that if i want to use the taglibs in > different webapplication, i need to put the whole taglibs into each > different webapplication. > > peter choe > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: simple if statement
try: if(request.getParameter == null){ } Eric Cho wrote: > > Hi, > I'm new to jsps and to java itself so bear with me. > what am i doing wrong with this? > > <% > if (request.getParameter("link").equals(null)){ %> > > > > <%} else { %> > > " > flush="true" /> > > <% } %> > > thanks, > > Eric > ___ > eSafe Protect Gateway has scanned this mail for viruses, vandals and > suspicious attachments. > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Pronounciation?
i would say that this conversations is starting to get racist. > "Parker, Kenneth" wrote: > > Hello Duc Nguyen, > I am Long Dong Nguyen. I am your Long Dong lost brother. I also have a > half brother is name is Half Dong as well as a distant cousin Ding > Dong. > > -Original Message- > From: Duc Nguyen [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 01, 2001 10:36 AM > To: [EMAIL PROTECTED] > Subject: Re: Pronounciation? > > Hello Hoang Nguyen, > > I am Duc Nguyen are we borther? or half brother. Anyways > why do you want to know how to pronoun these term for? > Email me back if you like I am at [EMAIL PROTECTED] > > Duc > > >From: DuocChua > >Reply-To: A mailing list about Java Server Pages > specification and reference > >To: [EMAIL PROTECTED] > >Subject: Pronounciation? > >Date: Wed, 1 Aug 2001 21:01:55 -0700 > > > >Hi All ! > >I'm a new "Asia-located" member of this forum and of JSP, > as well. So I wonder how these following words sound in > English? > > -Java. > > -Servlet. > > -Applet > > -EJB. > > > >Thanks. > > > >Hoang Nguyen. > > > > > Get your FREE download of MSN Explorer at > http://explorer.msn.com > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: > "signoff JSP-INTEREST". For digest: mailto > [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
post method not working in my jsp
i am trying to write a logon jsp. but for some reason, when i try to use post it doesn't send the information to the next jsp. but if i use get, it works. i am using tomcat for the jsp engine. anyone know if there is a problem with tomcat and using the post method? peter choe === 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 and JDK 1.1.8
i use jsp with jdk1.1.8 on tomcat3.0 and it works. not sure what mrj2.2 is though. John Tangney wrote: > Hi > > Do you know if JSP will work under JDK 1.1.8? Have you tried using JSP with > MRJ 2.2? > > (Yes, I looked all over at the Sun web site, but couldn't find the answer.) > > Thanks! > --johnt > > === > 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
having trouble using password field box in jsp
i am trying to pass a value from a password type input box in a form using post method to a jsp file. but for some reason, the value is not being sent across. in my bean that is suppose to set a value, the value being set is null. doesn't jsp allow for values to be passed from a password input box? i am using tomcat3.1. can it be an issue with tomcat? peter choe === 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 sites
there are several sites with jsp help. in fact, some of them are listed at the bottom of this email. also, i just ordered a book about jsp from amazon. brand spankin' new. it is called web development with jsp, or something like that. peter choe iunknown wrote: > I guess you are quite used to spoon feeding. > The SunSite with JSP specs and tutorials and papers > is quite sufficient for the interested. > > Sure, if you are waiting for Some book like > teach yourself JSP in 21 days, you are out of luck! > > However, there is a useful book titled > "Professional Java Server Programming" by Wrox which has a fairly > decent treatment of the subject. It is for Rs 575 (SPD Indian). > If that is too much for you, then you can arrange forsome finance > at www.chanda.com . > > -Original Message- > From: A mailing list about Java Server Pages specification and > reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Arnab Acharya > Sent: Friday, April 21, 2000 2:58 PM > To: [EMAIL PROTECTED] > Subject: Re: JSP sites > > Study material on JSP is difficult to get, leave alone good ones. You > can > put in a search in mamma.com. > > > -Original Message- > > From: Gupta, Sumit [SMTP:[EMAIL PROTECTED]] > > Sent: Friday, April 21, 2000 2:36 PM > > To: [EMAIL PROTECTED] > > Subject: JSP sites > > > > Dear all > > > > I am new to the JSP programming. Can anyone please tell me about > some good > > sites where I can get useful study material on JSP. > > > > Thanks and regards > > > > Sumit > > == > = > 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: how to have two submit buttons calling different JSP's
as far as i know you can only have one submit button per form. but you can have more than on form per page. so, i would say make different forms on the page. peter choe Howard Lee wrote: > Hi, > > I know this is more of an HTML question than JSP's but since many people on > here are web gurus, I thought I asked here. How would you have two submit > buttons to have two different URLs? I have two > buttons, and each calling different JSP's. Because I can only have one > action in , I couldn't see how I can do that. How would I have two > submit buttons to have two different URL's? Thank you very much! > > howard > > === > 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 Books
there are only two books that i know of, and the one that i bought is called: web development with javaserverpages it seems to be very good although i haven't actually read all of it. peter choe Chao Chen wrote: > Hi : > > I am new to JSP. > > Can anyone suggest me a couple of good books?? > > Regards, > Chen > > === > 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
getting method not supported in my webapp
i wrote a webapp that uses jsp for the user interface and sends that data to a servlet. but when i try to submit the data to the servlet using either post or get method, i get: HTTP method POST is not supported by this URL but i have another application that follows the same architecture and it works. does anyone know why i am getting this error for this one app? is there a conf file that i need to alter? peter choe === 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: CHECK-BOX
you can put in a conditional to see if request.getParameter("chkbox") equals null. "Pillai, Arumugam" wrote: > Hi there, > > When i call > > request.getParameterValues("chkbox") > and if no chkbox is selected, its throwing a java.lang.NullPointerException > error.How should i handle this. > Thanks in advance. > > === > 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: Clarification
from my understanding, WAR files are self extracting. once you put the war file in the appropriate directory and it is called by the client it will extract the files and create the appropriate directory. Sujoy Kumar Bose wrote: > Hi, > > Can somebody simplify the terms used in the followimg mail.I quote > > >From :Nestel, Frank [[EMAIL PROTECTED]] > > To: [EMAIL PROTECTED] > > "Thank you again. I've only read the servlet 2.2 specs yet to know > that a war file is a special kind of jar file. So I guess I know > how to contruct a war file. > > But new questions arise: > * How do I configure the servlet container to fetch files from an >war archive instead of an directory (a sample web.xml would be nice) > * Are there limitations in existing 2.2 engines (Resin is one of our >current favorites) concerning war-Archives? > * How is it possible to remove all JAVA/JSP source code from an >application before shipment. > > Thank you again. > " > > Rgds, > > Sujoy > > === > 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 & Servlet
jsp gets compiled to servlet codes. Ben Joyce wrote: > well, one of the reasons is it's a lot easier to change the output (html, > layout, images, etc) because the JSP files are plain text.. and not compiled > Java (although i think they do actualyl get compiled on the fly). > > .b > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, May 18, 2000 3:58 PM > > To: [EMAIL PROTECTED] > > Subject: JSP & Servlet > > > > > > What are the advantages of using JSP instead of Servlet? > > > > == > > = > > 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: JSP & Servlet
it gets compiled when the page is requested. Ben Joyce wrote: > yeah, but when? do you have to compile them manually or is this done on the > fly when the page is requested? > > > -Original Message- > > From: Peter Choe [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, May 18, 2000 5:33 PM > > To: [EMAIL PROTECTED] > > Subject: Re: JSP & Servlet > > > > > > jsp gets compiled to servlet codes. > > > > Ben Joyce wrote: > > > > > well, one of the reasons is it's a lot easier to change the > > output (html, > > > layout, images, etc) because the JSP files are plain text.. > > and not compiled > > > Java (although i think they do actualyl get compiled on the fly). > > > > > > .b > > > > > > > -Original Message- > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > > > Sent: Thursday, May 18, 2000 3:58 PM > > > > To: [EMAIL PROTECTED] > > > > Subject: JSP & Servlet > > > > > > > > > > > > What are the advantages of using JSP instead of Servlet? > > > > > > > > == > > > > = > > > > 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
Re: Query about JAVA SERVER SIDE pgmming book
professional java server programming is pretty good, by wrox. Sujoy Kumar Bose wrote: > Hi, > > Can anyone tell me about a good JAVA SERVER SIDE programming book? > > URGENT > > Regards, > > Sujoy > > === > 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: request.getParameter with multiple values
use request.getParameters(); this returns an array of value pairs. "Nimmons, Daniel" wrote: > I have a form with a select box set to multiple so a user can select > multiple entries. How do I handle the multiple values passed to the next > form using the request.getParameter... This seems to only return one value > from the multiple values selected from the previous form. > > Daniel (Buster) Nimmons > > Information Management Specialist > Phone: (713) 845-4991 > CELL #:(281) 224-8013 > Fax #: (713) 640-8717 > E-mail: [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 === 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: Emailling within JSP
java.sun.com/products/ look for the java mail api. anderson wrote: > Where I found the packages : javax.mail.* , javax.activation.* ? > > Thanks > anderson > > Geert Van Damme wrote: > > > Joseph, thanks for the other mail links. > > > > However, the servlet was easier that I expected. > > Here's the code I use > > > > import java.io.*; > > import java.util.*; > > import java.net.*; > > import javax.servlet.*; > > import javax.servlet.http.*; > > import javax.mail.*; > > import javax.mail.internet.*; > > > > public class MailPage extends HttpServlet{ > > > > private String SMTPHost = ""; > > > > public void init(ServletConfig config) throws ServletException{ > > super.init(config); > > SMTPHost = getInitParameter("host"); > > } > > > > public void service(HttpServletRequest req, HttpServletResponse res) > > throws ServletException, IOException { > > String source = req.getParameter("source"); > > String from = req.getParameter("from"); > > String to = req.getParameter("to"); > > String subject = req.getParameter("subject"); > > PrintWriter out = res.getWriter(); > > res.setContentType("text/plain"); > > > > try{ > > Properties sysProps = System.getProperties(); > > sysProps.put("mail.smtp.host",SMTPHost); > > Session session = Session.getInstance(sysProps,null); > > > > MimeMessage message = new MimeMessage(session); > > > > Address fromAddress = new InternetAddress(from); > > message.setFrom(fromAddress); > > > > Address[] toAddress = InternetAddress.parse(to); > > message.setRecipients(Message.RecipientType.TO,toAddress); > > > > message.setSubject(subject); > > > > StringBuffer text = new StringBuffer(); > > URL url = new URL( source ); > > BufferedReader in = new BufferedReader( new > > nputStreamReader( url.openStream() ) ); > > String line = null; > > // use a String as buffer > > while ((line=in.readLine()) != null){ > > text.append(line); > > } > > message.setText(text.toString()); > > Transport.send(message); > > > > } > > catch (IOException e){ > > out.println("Error : "+e.getClass()+" "+e.getMessage()); > > } > > catch (AddressException e){ > > out.println("Error in address : "+e.getClass()+" >"+e.getMessage()); > > } > > catch (SendFailedException e){ > > out.println("Error in send : "+e.getClass()+" >"+e.getMessage()); > > } > > catch (MessagingException e){ > > out.println("Error in message : "+e.getClass()+" >"+e.getMessage()); > > } > > > > } > > } > > > > You need to specify the SMTPHost as an init parameter. > > URL parameters are to, from, subject and source > > Source is the full path to a webpage like http://www.gojasper.be > > > > I'll try to install this on my server and let you know where this can be > > tested. > > > > Geert 'Darling' Van Damme > > > > > -Original Message- > > > From: A mailing list about Java Server Pages specification and reference > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Geert Van Damme > > > Sent: woensdag 3 mei 2000 12:41 > > > To: [EMAIL PROTECTED] > > > Subject: Re: Emailling within JSP > > > > > > > > > However, even when using javamail, emailing from JSP isn't obvious. > > > Of course you can do it, but in that case, your whole code is in > > > between <% > > > %> with lot's of println("blablabla ") statements and you're not really > > > doing JSP. That's a plain servlet ;-) > > > > > > It would be very nice if you could use a JSP approach to sending email. > > > > > > Here's what I'd like to do: > > > Make a servlet that takes address and subject as a parameter and > > > also a URL > > > to a JSP page. > > > the servlet makes a URLConnection to that JSP and routes the result to an > > > email. > > > that way you can use create your emails like you create JSP. Isn't that > > > wonderful? > > > But before I do this: has anyone else made this servlet? ;-) > > > > > > I'll keep you informed when it's ready. > > > > > > Geert 'Darling' Van Damme > > > > > > > > > -Original Message- > > > From: A mailing list about Java Server Pages specification and reference > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Germán López Castro > > > Sent: woensdag 3 mei 2000 12:26 > >
Re: OFF TOPIC: Terrorist attacks
but neither has japan ever apologized for their atrocities during the war to this day and even their history books leave out this part of their history. the US, however late and however hard they fought agaisnt, has made some apologies and compensations to the japanese americans they have interned during the war. and is you are not familiar with what atrocities the japanese has done, look into the rape of nanking and what they did with comfort women(sex slaves) from korea. thus ends the history lesson for the day. Haseltine, Celeste wrote: > Sanjay, > > > > The fact that we did drop nuclear bombs that killed and maimed many > civilians is one that I am still ashamed of to this day as a US > citizen. Nor am I proud that we as a nation have never made a formal > apology to Japan, as they have provided us for the bombing at Pearl > Harbor. But as my father pointed out to me (he was 12 years old at the > time of the attack on Pearl Harbor), it was the only way we could bring > an end to the war. The two atomic bombs that we dropped on Nagasaki > and Hiroshima were NOT a response to the attack on Pearl Harbor. They > were simply the most economic way AT THAT TIME, to bring to an end to a > war that did bankrupt all of Europe, and almost bankrupted the United > States. > > > > Celeste > > Original Message- > From: Sanjay Gomes [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 14, 2001 11:09 AM > To: [EMAIL PROTECTED] > Subject: Re: OFF TOPIC: Terrorist attacks > > > I am sorry for again writing offtopic but couldn't resist a reply to > this, I am neither a critic of the US nor a fanatic but > > ..the facts are > > The Japanese bombed the military targets in the Pearl harbour , and > in response the US dropped Nuclear bombs on two heavily populated > cities > > creating millions of civilian casualties for times to come > > -Original Message- > From: Haseltine, Celeste [mailto:[EMAIL PROTECTED]] > Sent: 14 September 2001 17:00 > To: [EMAIL PROTECTED] > Subject:Re: OFF TOPIC: Terrorist attacks > > To everyone on JSP Board. > > I apologize for filling up the board with another response, and off > topic at > that. But I am so tired of hearing how we in American may have > deserved a > taste of what many in other countries have had to deal with the last > couple > of days, that I had to respond to Isidoros. My apologies to anyone I > inconvenience on the board today. > > --- > > Isidoros, > > I wanted to thank you for your expression of sympathy for those of > us here > in the US who did loose family, loved ones, and co-workers this past > Tues. > Fortunately for our company in Texas, all the employees of the > company that > we were working a contract with did manage to get out of the World > Trade > Center Towers and are accounted for. > > What you say is very true. We vote people into office in the US that > reflect the majority opinion of whatever political issues are at the > forefront during the election process. We do hold a great deal of > world > power in our hands, and we often do force our views of democracy and > justice > onto other countries who cultures and views are different. And, we > may use > our military muscle to protect our interests and the interests of our > allies, sometimes at the expense of the local people. > > So some of the hatred that has recently been directed at us is > understandable. But it is NOT excusable. We are a country who > believe in > the rights of all free people to take up arms and fight for what they > believe in. But terrorism in ANY form is a cowardly way to fight, > and it is > one that is without honor. Back when the Japanese bombed Pearl > Harbor, they > freely and openly wore their national symbols on their planes, and > their > uniforms. And they admitted that they bomb us. Though the result > of their > actions were no different than the results that occurred on Tues in > NY and > Washington, DC, the Japanese were a people and country with honor. > They > fought and died for what they believed in, and we in this country have > respected them from the day they signed the armistice, up to the > present. > > > The people behind the attack that took place on Tuesday have refused to > stand up and admit who they are. Because of this, many Americans > view their > actions, and whatever beliefs they may hold that lead them to the > attack on > Tues, in contempt. They are cowardly, and are a people without > honor. In > addition to the attack on US soil on Tuesday, these same people have > killed > so many others in so many countries, that it is time that we > globally take a > stand and put a stop