Re: Good JSP books/URLs?

2001-01-26 Thread Geert Van Damme
see, I don't know if this is that relevant ;-) It's always the same, when somebody asks for the best book, program, IDE, ... You get tens of messages and each one is saying something else. In most cases it just means: I use/have this one, and since I don't really know others, I think it's OK ;-)

Re: Can a JSP be a different mime type such as CSV file?

2001-01-26 Thread Peter Pilgrim
Hans Thanx. I was thinking along the first option line myself. I realised that a lot of the reporting in my current project in either HTML, CSV, XML could be put in a separated JSPs, after I moved DB code to a separate Servlet. I could make the Servlet perform the DB SQL Query with the SQL

Re: Need help on Tomcat 4.0 example

2001-01-26 Thread Gunawan Tanudy
I have the same problem, can you tell me how to setup the classpath ? Thanks alot. Best Regards, Gun -Original Message- From: Panos Konstantinidis [mailto:[EMAIL PROTECTED]] Sent: 05 Desember 2000 11:54 To: [EMAIL PROTECTED] Subject: Re: Need help on Tomcat 4.0 example You must

Re: Jsp Custom Tag Library

2001-01-26 Thread Ted Husted
The typical approach would be to do the database query first, and store the result in a collection. This way you can get any error handling out of the way, before you start rendering the view, and you also know how many records you will have going in. (And avoid rendering a inexcusably long page

Re: Need help on Tomcat 4.0 example

2001-01-26 Thread YI,LI (HP-USA,ex1)
I switched back to Tomcat3.2 and Tomcat3.2.1, they both work just fine. so there must be something different in 4.0 that I'm not aware of. -Original Message- From: Gunawan Tanudy [mailto:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 07:17 To: [EMAIL PROTECTED] Subject: Re: Need help

Re: JSP and MYSQL

2001-01-26 Thread Hung Yee
Try here for a JDBC driver for mysql: http://mmmysql.sourceforge.net/ Try here for some mysql tutorials: http://www.mysql.com/ Note: I don't use mysql - I just found these links using www.google.com to search for what you're asking for. -Original Message- From: Dean Sacramone

Re: JSP and MYSQL

2001-01-26 Thread Ted Husted
So, given those links, you should then check the javasoft.com site for the JDBC tutorials. For most tasks, it doesn't matter whether you are using MySQL, PostGreSQL, HypersonicSQL, et cetera. Your program talks to the JDBC driver, and the JDBC driver talks to the database. *** REPLY

Migrating from tomcat to other server

2001-01-26 Thread Aur Gal
I developed an app with tomcat and am trying some other servers and noticing that it's not so easy. can anyone tip me off about what are the typical differences between application servers and why I can't just package my app in a war file and deploy it on any server. My basic goal is to start

MS J++ as J2EE IDE

2001-01-26 Thread Flava Flave
I want to use Microsoft J++ as my Java development IDE - because I like its look and feel. Problem is its not J2EE compliant. Is there a way to make the new Java compiler plug into to it to make this a J2EE compliant IDE? Can anyone recommend a good Java IDE. I hear Visual Cafe 4 (now by

Re: MS J++ as J2EE IDE

2001-01-26 Thread Kevin Duffey
Why would it need to be J2EE compliant? If you want to use the IDE, one of two things come to mind. First, see if you can create your own "command" scripts that can execute a command line tool. If so, I would then set up say F7 or something to build your code, and have it use ANT 1.2 (free 100%

De-Tokenizing ?!

2001-01-26 Thread Mayuresh Kadu (Aftek Infosys, Pune)
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

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 unsubscribe: mailto

Re: MS J++ as J2EE IDE

2001-01-26 Thread Joseph Smith
Flava, I'm a huge fan of Netbeans IDE. You can easily plug in any java extension and it's an open source IDE. There are quite a few other modules you can drop in it like Ant. By the way, Sun's Forte is Netbeans without the extra modules that come with Netbeans. Give it a shot. Netbeans.org.

Re: Can a JSP be a different mime type such as CSV file?

2001-01-26 Thread Hans Bergsten
Peter Pilgrim wrote: Hans Thanx. I was thinking along the first option line myself. I realised that a lot of the reporting in my current project in either HTML, CSV, XML could be put in a separated JSPs, after I moved DB code to a separate Servlet. I could make the Servlet perform the DB

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 - Original Message - From: Peter Choe

Re: De-Tokenizing ?!

2001-01-26 Thread Seger, Jeffrey
In Perl, I'd do some thing like this: my $new_string =""; foreach my $item (@array){ if ($new_string ne "") { $new_string .= $delimiter.$item; } } I'll let you work out the syntax in Java. -Original Message- From: Mayuresh Kadu (Aftek

Re: De-Tokenizing ?!

2001-01-26 Thread Hung Yee
You initialized $new_string to the empty string, so the if statement never gets executed. I think you mean this: my $new_string =""; foreach my $item (@array){ if ($new_string ne "") { $new_string .= $delimiter.$item; } else { $new_string =

Re: De-Tokenizing ?!

2001-01-26 Thread T A Flores
Why would you concatenate a bunch of strings? Why not improve your peformance and use a string buffer and use append? - Original Message - From: Peter Choe [EMAIL PROTECTED] Date: Friday, January 26, 2001 1:18 pm Subject: Re: De-Tokenizing ?! from what you describe, i would just

Re: De-Tokenizing ?!

2001-01-26 Thread j3
Use a stringbuffer object. Something along the lines of: StringBuffer AggregateString = new StringBuffer; for(int i=0;iStringArray.length;i++) AggregateString.append(StringArray[i]); Got it? Please excuse any syntax errors, I am sleepy ;) -Jeff Casimir -Original Message-

Re: De-Tokenizing ?!

2001-01-26 Thread Dave McHale
wouldn't that never enter the "if" since you're initializing the string var to "" and then only adding items to it if it's NOT already equal to ""? sorry, I'm not a perl programmer, so maybe I'm interpreting it wrong... my pseudo-code would be close to . . . . myString = "" for (x=0; xN; x++) {

Re: De-Tokenizing ?!

2001-01-26 Thread Seger, Jeffrey
Good catchthat's what I get for sending code without running it. But I DID say "some thing like this", didn't I? -Original Message- From: Hung Yee [mailto:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 4:38 PM To: [EMAIL PROTECTED] Subject: Re: De-Tokenizing ?! You initialized

Question from New User

2001-01-26 Thread Pham, Trung
Hi, I am trying to setup my environment to use jakarta-tomcat-3.2.1. Could someone tell me what Java Interpreter is? Instructions say, "add the Java interpreter to your PATH environment variable. ???" Thanks, TP === To

Re: Question from New User

2001-01-26 Thread Mayuresh Kadu (Aftek Infosys, Pune)
In ur \autoexec.bat add ur %JavaHome%\bin ( say .. c:\jdk1.3\bin in my case ) to ur PATH variable. Save and Exit and restart PC. That should take care of things. Things could be more easier of WinNT Machine though ! Mayuresh K - Original Message - From: Pham, Trung [EMAIL PROTECTED] To:

How to avoid reloading page on browser resizing

2001-01-26 Thread Hardeep Kohli
Hi, I guess this is kinda off topic question but I cant seam to find a solution to this one. in Netscape 4.x when the browser is resized my JSP is reloaded which causes the data that I have entered in my text area to disappear. Is there anyway to overcome this NETSCAPE FEATURE. can any one help?

Re: Jsp Custom Tag Library

2001-01-26 Thread Deepak Kumar
Hi Ted I am currently working on taglibrary and could not able to meet the desired aim..Even i am totally new to the tag library concept..This will be very kind if you send me some conceptual details and codes for better understanding the facility it provides.. Hope to hear from you soon.

Re: Question from New User

2001-01-26 Thread vikas m pawar
hi.. u have to set the home directory of ur JDK...assuming its c:\jdk1.3 just put the following in ur autoexec.bat: JAVA_HOME = c:\jdk1.3 hope u have also put: TOMCAT_HOME = c:\tomcat where c:\tomcat is the root directory where of ur Tomcat files. And regarding ur question about what a Java

Re: Jsp Custom Tag Library

2001-01-26 Thread Mayuresh Kadu (Aftek Infosys, Pune)
I am afraid ur suggestion although well put cannot be used by me. I already have a EJB interacting with a Oracle8i Server. I am retrieving the interface to the same thru a JNDI lookup in my Custom Tags. I am supposed to be displaying the recd object ( currently in the form of a customized class )

Re: Jsp Custom Tag Library

2001-01-26 Thread abhishek_jain
Can someone give me some information on how to use custom tag libraries (for EJBs). I am using Weblogic 5.1 as the app server. I am new to this field. TIA, Abhishek. === To unsubscribe: mailto [EMAIL PROTECTED] with body: