Re: SSI

1999-06-21 Thread Doug Turner
Isn't there a JSP include directive? -- From: Lukin Konstantin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: SSI Date: Monday, June 21, 1999 4:03 PM Hey everyone Is there a way to do a server side includes in JSP? Here is an example which is possible in ASP !--#include

Re: JavaBeans vs. Enterprise JavaBeans

1999-08-02 Thread Doug Turner
And, per a 7/12 press release, Macromedia has purchased Elemental...voila... -- From: Gillard dIon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: JavaBeans vs. Enterprise JavaBeans Date: Monday, August 02, 1999 1:22 AM FWIW, Drumbeat from Elemental has JSP support WebSphere

Re: Query on JSP !!

1999-11-23 Thread Doug Turner
IMHO, the less JSP in your application, the better. That is, no less than needed to support the presentation tier of an application, but no more. JSP pages are not an effective way to partition an application, compared to solutions based on other features of Java such as packages and

Re: What is a good Java Servlet Engine run on Netscape Enterprise 3.5 1??

2000-02-05 Thread Doug Turner
We've had no problems with ServletExec from New Atlanta (www.newatlanta.com), but we aren't really using it for anything very heavy duty. I suspect that if you want to build mission-critical, LOB applications, you want to look at an n-tier architecture, using an application server like NAS,

Re: Html - Servlet

2000-02-13 Thread Doug Turner
Check out INPUT TYPE="IMAGE" SRC="/myimageurl/myimage.gif" NAME="myImageName" as one of the options for a form INPUT element (replacing the usual INPUT TYPE="SUBMIT"... element). - Original Message - From: OG Project(Chennai) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, February

Re: My boss needs convincing.

2000-03-05 Thread Doug Turner
As has been mentioned before, there are other vendor products that use the extension .jsp to designate dynamically generated web content, so I don't think you can assume that all sites that use that suffix are using Java JSP. - Original Message - From: Jesse Clark [EMAIL PROTECTED] To:

No Subject

2000-03-27 Thread Doug Turner
Have you looked at the XML Parser for Java from IBM: http://alphaworks.ibm.com/tech/xml4j - Original Message - From: Nitin Tomer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 27, 2000 1:48 AM Hi Guys, Currently I'm working on a web-based document management system, in

Re: Socket connection quesiton

2000-05-13 Thread Doug Turner
I am doing almost exactly the same thing in a servlet, but I am using whois.internic.net as the whois server. Are you sure rs.internic.net will work? Try telnetting to it on that port? I am also using a BufferedReader to read the input, do not know if that makes any difference. Can you stick

Re: Urgent:Displaying 10 records in one page

2000-06-09 Thread Doug Turner
I think this depends on whether you are using cookies to maintain session state or url rewriting. If you are using url rewriting, then you should be able to force a new session when the user fires up a new browser. Of course, "playful" users can undermine any scheme you come up with if they

Re: JSP - servlet - JSP request scope object passing

2000-07-09 Thread Doug Turner
Could you use the HTML base tag here? You could have it conditionally generated to control its value in development, production, etc. - Original Message - From: David Wall [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 06, 2000 9:19 PM Subject: JSP - servlet - JSP request

Re: How Do I access data from LOTUS NOTES-5 database- in jsp or otherwise....***Important*** please Help

2000-08-03 Thread Doug Turner
This is from one of our classes that connects to lotus: Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con = DriverManager.getConnection(URL, odbcProps); Where odbcProps is a propert file with these entries: DSN=MYODBCDSN DATABASE=DBDIRECTORY\\DATABASENAME.NSF

Re: Correct Approach`

2000-09-04 Thread Doug Turner
Create a "singleton" object that extends Runnable and can run as a background thread that wakes up periodically to refresh the mapping of id to URL. This "singleton" would also be the object that mediates the translation of id to URL. When the "singleton" is first created, it should launch the

Re: read an excel file

2000-09-04 Thread Doug Turner
You might also look at the ExcelAccessor bean from IBM. http://www.alphaworks.ibm.com/ab.nsf/bean/excelaccessor - Original Message - From: sridhar r [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, September 03, 2000 7:08 AM Subject: read an excel file Hi Can anyone help me in

Re: write onto excel file

2000-09-16 Thread Doug Turner
If you are prepared to spend big bucks, Tidestone Technologies has the FormulaOne product (http://www.tidestone.com/home/default.jsp). IBM also has a free excelaccessor bean that you can learn about at http://www.alphaworks.ibm.com/ab.nsf/bean/excelaccessor. Good luck! - Original Message

Re: jsp with javabeans, a must?

2000-09-23 Thread Doug Turner
Technically, no, you can use jsp without javabeans or servlets. However, if you build anything but a toy application you will not get the benefits of object-oriented design/programming with a monolithic structure like jsp alone. - Original Message - From: Chin Sung Kit [EMAIL PROTECTED]

Re: I/O Exception in a JSP as well as a servlet

2000-11-26 Thread Doug Turner
I think your problem is that you are trying to use a URI in the constructor for FileInputStream, and you need to be using a name that makes sense to the native file system (in NT, for example, that means something like d:\myservletfiles\xml\students1.xml). There are a number of ways to attack

Re: [ANNOUNCE] New JSP Book

2000-11-28 Thread Doug Turner
Congratulations! Does the book deal with architecutral questions, like how/when/why to integrate JSP with servlets, Javascript, etc.? E.g., does it talk about MVC-type designs and how that can best be expressed in JSP? From a more mundane perspective, we've grappled with the issue of how to

Re: No constructor matching Ticker() found in class Ticker.

2000-12-09 Thread Doug Turner
Well, the constructor isn't marked as "public"...try that. - Original Message - From: fau k [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 09, 2000 1:48 PM Subject: No constructor matching Ticker() found in class Ticker. Hi, Can any one help me,, I am getting this

Re: (Very very urgent)Sorting a resultset after closing the connection

2000-12-19 Thread Doug Turner
Well, this really isn't a JSP response, but I find that I am much happier converting from an SQL/RDBMS model of the problem to an OO model of the problem as soon as possible in an application. That is, define an object that you are displaying in every row on your page, with get/set methods. In

Re: Url containing # data

2000-12-20 Thread Doug Turner
Try using the character entity reference for '#': '#35;' (including the semi-colon, but without the single quotes), and try finding some documentation on url encoding. You might also want to look at the URLEncoder class in the java.net package. - Original Message - From: Aravind Kumar

Re: arrays

2000-12-20 Thread Doug Turner
Here is a complete program taking your logic (after fixing the couple of typos). It works fine; I ran it from the command line with arguments Cat Chat Chen and Cat Chat Fen, and in both cases it worked. I believe your error is somewhere else, not in the code you sent us. import java.util.*;

Re: arrays

2000-12-20 Thread Doug Turner
Stupid, maybe, still the boss, definitely! The fact that most boss' can be stupid from time to time (if not all the time) doesn't change the fact that they are still the boss!!! - Original Message - From: Geert Van Damme [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December

Re: arrays

2000-12-20 Thread Doug Turner
Sorry, that is a compiler error, not a logic error (as is the misspelling of tmpString elsewhere in the program). It will not cause the error reported. - Original Message - From: Peter Zhou [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 20, 2000 5:47 PM Subject: Re:

Re: (Very very urgent)Sorting a resultset after cl osing the connection

2000-12-21 Thread Doug Turner
Has anyone benchmarked the Collection classes sort? On small datasets, is the performance really that bad? If this is being transmitted over the web, will network latency swamp any delay due to sorting? How much volume (hits/hour) would you need to get before it began to affect server

Re: double value 10.20 -10.00 = ?? HELP!

2000-12-22 Thread Doug Turner
This is seriously off-topic. Try reading up on binary vs. decimal arithmetic. As other posters have found, this is not a problem with Java, but it isn't a "bug" in Pentium processors either. As for solving your problem, to display the number in the proper format, check out the DecimalFormat

Re: funky-ass servlet forwarding

2000-12-30 Thread Doug Turner
Well, this is really a browser issue. The browser tries to figure out what the url is for the page that it is viewing, and it doesn't worry too much about what happens on the server side to generate the page. The same problem actually exists for cgi programs, where normal HTML pages are stored

Re: Servlets v. JSP

2000-12-30 Thread Doug Turner
What I've found is that it is worthwhile to separate presentation from the business logic (including database access), and from the logic that deals with the server-side environment (the servlet container, initialization, details of dispatching, etc.). There are very detailed and elaborate

Re: Servlet ISP

2001-01-13 Thread Doug Turner
Don't know what is moderate, but MMA at http://www.mmaweb.net/ offers a commerce account at $50/month that I've been happy with. Apache, Jakarta/Tomcat, your own JVM, etc., etc. Anyone else have any experience with them? - Original Message - From: Saravanan [EMAIL PROTECTED] To: [EMAIL

Re: any free web hosting out there

2001-01-31 Thread Doug Turner
Try: webappcabaret.com - Original Message - From: Ehab Taleb [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 31, 2001 5:04 PM Subject: any free web hosting out there which support jsp , servlets for personal website thanx

Re: jsp based financial sites?

2001-02-28 Thread Doug Turner
This is probably a BroadVision site: BV uses the same suffix, jsp, for it's pages. - Original Message - From: Tayler Mayer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 28, 2001 1:34 PM Subject: Re: jsp based financial sites? i'm not sure if www.citibankonline.com

Re: Best Servlet Engine for NT, IIS and SQL Server

2001-04-27 Thread Doug Turner
Well, we've had good experience with ServletExec running on NT, but as an NSAPI process, not an ISAPI process. It seems very stable, and the performance on our (low-volume) site is good. Visit their site at www.newatlanta.com for pricing. - Original Message - From: Sudheendra Hebbagilu

Re: Problems encountered with JSp in Windows NT

2001-04-30 Thread Doug Turner
You may also want to take a look at ServletExec from www.newatlanta.com. At 11:33 AM 4/30/01 -0500, Celeste Haseltine wrote: Kalyan, In order to run JSP's on a Windows machine, you will first need to install and configure a JSP complier/interpreter to run on TOP of IIS, such as JRUN Server.

Re: Help need a reliable host soon.

2001-07-17 Thread Doug Turner
I use mmaweb.net, not free, but seems to be highly reliable. $49.99/month for a commerce account with your own private JVM - http://www.mmaweb.net/commerce.html At 06:04 PM 7/17/01 -0700, Hans Bergsten wrote: Dylan del Rosario wrote: All, Any one have a reliable JSP hosting reference. I

Re: Date CompareTo

2001-12-03 Thread Doug Turner
Problem is you are comparing two strings, not two dates. Strings should be used to display the dates, not for date arithmetic. Convert id to a Date or Calendar (depending on the type of cx), and then use the before/after/equals methods of those classes to do the comparison. At 06:14 PM 12/3/01

Re: Difference between Date Objects

2001-12-03 Thread Doug Turner
This really isn't a JSP question, there are better forums for Java questions. However, how about using the GregorianCalendar.add(...) methods? At 01:49 PM 12/3/01 -0700, syed huda wrote: Is there anyway to find difference between two Date objects? For example, how to calculate age if I have

Re: Sessions and URL-Rewriting?

2002-01-06 Thread Doug Turner
Thanks. Just to clarify: I've been told that some containers will do this *automatically*, that is, they will recognize links in JSP/HTML (hey, if browsers can do it, why not servlet containers) and insert the necessary info to handle session identification. This is done, supposedly, without

Re: checkboxes from qyery ? how to

2005-09-18 Thread Doug Turner
What follows isn't based on struts, beans or any more formal technique, but it works, and I hope it helps. I find it most helpful to translate to and from objects and SQL as close to the database as possible. In other words, you might have an object called SkillSet with methods like