Re: Reading from a text file in JSP

2000-01-04 Thread Hu, Jeffery X (Jeff)
Title: RE: Reading from a text file in JSP URL class can do the trick URL url = new URL( http://yourserver/yourdirectory/file.txt ); DataInputStream stream = new DataInputStream(url.openStream()); Hope this helps J.H -Original Message- From: Gong Anna [mailto:[EMAIL

JSP vs Applet discussion

1999-12-07 Thread Hu, Jeffery X (Jeff)
Title: JSP vs Applet discussion Hello friends, In my net-basesd application (heavily on DB record manipulation/display), I use servlet to receive client requests and dispatch requests to various beans for data processing (3 tier and model 2, references - java.sun.com and www.javaworld.com,

how to displaying in browser

1999-12-03 Thread Hu, Jeffery X (Jeff)
Title: how to displaying in browser Hi friends, I am using lt and quot' to display and double quote () respectively. Everything is fine in IE4 but not in netscape. Can anyone give me some tips. Plus, how can my server side servlet/jsp detect what browser the clients are using? Any helps

Re: Sending email from JSP

1999-10-29 Thread Hu, Jeffery X (Jeff)
Sun has the JavaMail API available to download. Java developer's Journal (Oct 99 issue) has articles on how to implement JavaMail. (not sure website Javadevelopersjournal.com) hope this helps J.H -Original Message-From: Jacob Madsen [mailto:[EMAIL PROTECTED]]Sent: Friday,

XML Api document?

1999-10-29 Thread Hu, Jeffery X (Jeff)
Title: XML Api document? There is a xml.jar in lib of JSWDK1.0 Can anyone tell me how to get the document (or spec) of xml api Many thanks Jeff

Re: Help...

1999-10-27 Thread Hu, Jeffery X (Jeff)
Title: RE: Help... Check out www.serverpages.com www.servercentral.com -Original Message- From: Se Hee Lee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 27, 1999 9:33 AM To: [EMAIL PROTECTED] Subject: Help... I have one particular question which regards to IIS more than

Re: Getting the Locale from the Browser

1999-10-27 Thread Hu, Jeffery X (Jeff)
Title: RE: Getting the Locale from the Browser Enumeration e = request.getHeaderNames() while (e.hasMoreElements()) { String KeyValue = (String) e.nextElement(); if (KeyValue.equals(Accept-Language) // e.getHeader(KeyValue) is the locale, ie, en-us } -Original Message- From:

EJB-Interest@JAVA.SUN.COM News group

1999-10-26 Thread Hu, Jeffery X (Jeff)
Title: [EMAIL PROTECTED] News group Mail to : [EMAIL PROTECTED] Content: Subscribe [EMAIL PROTECTED] -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 26, 1999 10:27 AM To: [EMAIL PROTECTED] Subject: Re: Servlet interest list?

Re: when to use Bean !!!

1999-10-25 Thread Hu, Jeffery X (Jeff)
Title: RE: when to use Bean !!! This is what I think . First, let me explain the design model I implement (say, a DB query application) 1. Client sends (HTML) request to servlet asking for data from db. Client submit userid password. 2. Servlet conducts db access authentication - if

Re: Supporting Web Browsers

1999-10-22 Thread Hu, Jeffery X (Jeff)
Title: RE: Supporting Web Browsers it should be www.serverpages.com sorry, it was my mistake. -Original Message- From: Telmo Sá [mailto:[EMAIL PROTECTED]] Sent: Friday, October 22, 1999 5:08 AM To: Hu, Jeffery X (Jeff) Subject: RE: Supporting Web Browsers -Original

Can I forward a resultset from Servlet to JSP

1999-10-21 Thread Hu, Jeffery X (Jeff)
Title: Can I forward a resultset from Servlet to JSP Hi Java gurus, Can some on give me any suggestion on how to forward a Result from servlet to jsp. I am using JSWDK1.0. I have a servlet that accesses a database and generates a ResultSet (rs). This rs is stored in a Vector (vec) and

FW: Supporting Web Browsers

1999-10-21 Thread Hu, Jeffery X (Jeff)
Title: FW: Supporting Web Browsers Checkout www.severpage.com -Original Message- From: Telmo Sá [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 21, 1999 11:52 AM To: [EMAIL PROTECTED] Subject: Supporting Web Browsers Hi! I'm newbie to JSP and i'm trying to find out what web

Passing a ResultSet from Servlet to JSP

1999-10-19 Thread Hu, Jeffery X (Jeff)
Title: Passing a ResultSet from Servlet to JSP JAVA Gurus, Can some one help me ? I am using JSWDK-1.0 (downloaded from Sun Website) to play with JSP and Servlet. I generated a ResultSet (rs) in a servlet and I would like to pass this resultset rs to a JSP. The code I wrote as: public

ASP vs JSP

1999-07-03 Thread Hu, Jeffery X (Jeff)
Title: ASP vs JSP Can anyone tell me where I can find some technical information comparing ASP and JSP. Personal experience is welcome as well. Thanks in advance J.H

Re: Converting ActiveX objects into Beans

1999-01-17 Thread Hu, Jeffery X (Jeff)
Title: RE: Converting ActiveX objects into Beans For your information, Java developers journal (OCT 1999, issue) has in-depth example in writing JAVA-COM object. -Original Message- From: Ian [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 18, 1999 11:41 PM To: [EMAIL PROTECTED]