request scope of a bean

2000-12-06 Thread Peter Choe
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

Re: Sample app on Tomcat

2000-12-20 Thread Peter Choe
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 Tom

Re: Hpw to import different packages

2000-12-21 Thread Peter Choe
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

Re: Newbie problem.

2001-01-08 Thread Peter Choe
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 pa

Re: Javascript

2001-01-16 Thread Peter Choe
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'a

Re: how to document your code

2001-01-23 Thread Peter Choe
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 > > >

Re: Closing a DB connection used in a bean

2001-01-24 Thread Peter Choe
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]] >

Re: De-Tokenizing ?!

2001-01-26 Thread Peter Choe
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 unsubscri

Re: De-Tokenizing ?!

2001-01-26 Thread Peter Choe
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 > > ---

Re: Anybody in Delhi working on JSP

2001-02-05 Thread Peter Choe
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... tha

Re: connecting to mssql

2001-02-06 Thread Peter Choe
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-

Re: JSP, JRun, and Beans

2001-02-13 Thread Peter Choe
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 th

Re: JDBC Drivers comparing

2001-02-21 Thread Peter Choe
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

Re: Simple newbie question

2001-03-01 Thread Peter Choe
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'

where to put jar

2001-03-20 Thread Peter Choe
e 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

taglib

2001-06-13 Thread Peter Choe
. 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

Re: taglib

2001-06-18 Thread Peter Choe
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. > > Mayur

Re: simple if statement

2001-06-20 Thread Peter Choe
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" /> > > <% } %>

Re: Pronounciation?

2001-08-01 Thread Peter Choe
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-

post method not working in my jsp

2000-04-18 Thread Peter Choe
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

Re: JSP and JDK 1.1.8

2000-04-18 Thread Peter Choe
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! > --

having trouble using password field box in jsp

2000-04-20 Thread Peter Choe
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

Re: JSP sites

2000-04-21 Thread Peter Choe
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 qu

Re: how to have two submit buttons calling different JSP's

2000-04-24 Thread Peter Choe
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

Re: JSP Books

2000-05-01 Thread Peter Choe
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

getting method not supported in my webapp

2000-05-11 Thread Peter Choe
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 rel

Re: CHECK-BOX

2000-05-16 Thread Peter Choe
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

Re: Clarification

2000-05-17 Thread Peter Choe
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

Re: JSP & Servlet

2000-05-18 Thread Peter Choe
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 > > > -O

Re: JSP & Servlet

2000-05-18 Thread Peter Choe
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:

Re: Query about JAVA SERVER SIDE pgmming book

2000-05-22 Thread Peter Choe
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 unsub

Re: request.getParameter with multiple values

2000-05-24 Thread Peter Choe
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 onl

Re: Emailling within JSP

2000-05-25 Thread Peter Choe
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

Re: OFF TOPIC: Terrorist attacks

2001-09-14 Thread Peter Choe
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 interne