Re: Fw: (is servlet really faster?) Php VsServlet,unexpectedresult,why?

1999-07-18 Thread Alvin, lau
hi,I spent almost 4 hrs to setup ibm vm (because I have to upgrade my glibc).After that, I started to do the test again. This time, I got an exceptionfrom jmeter and some error in my jserv's log. I tried to use jswdk insteadof jserv, I still got that exception(I forget the name). I didn't h

Servlet FAQ & Resource Information

1999-07-18 Thread James Davidson
This is a weekly informative posting about the servlet-interest list. Before asking questions of a general nature, please check out the resources available online to see if your question already has an answer. The best place to

Re: query on Netscape enterprise server

1999-07-18 Thread akashmaheshwari
Hi Sandip, even NES 3.61 not supports any thing above java servlets API 1.0 . so use any servlet Engine else it is really painful . akash -Original Message- From: MSANDIP [mailto:[EMAIL PROTECTED]] Sent: Monday, July 19, 1999 11:24 AM To: [EMAIL PROTECTED] Subject: query on

query on Netscape enterprise server

1999-07-18 Thread MSANDIP
> Hello, > > Netscape enterprise server version 3.51 supports java servlets API 1.0 . > I want to know which Netscape server supports servlet API 2.0 . > > Secondly Netscape server has built in servlet engine. Is it advisable to > use in server's built in engine or use add-on servlet engine. > > T

Servlet to Link directly to Exchange Rates

1999-07-18 Thread Brahm van Niekerk
Has anyone so far been able to link live to currency exchange markets to use them in servlets. For example, let's say the value of an item is stored in US$. When the page is served, the current exchange rate is looked up and the value is displayed in UK Pounds, Euros, DM, FF, Yen, etc. Where wo

query on Netscape enterprise server

1999-07-18 Thread MSANDIP
Hello, Netscape enterprise server version 3.51 supports java servlets API 1.0 . I want to know which Netscape server supports servlet API 2.0 . Secondly Netscape server has built in servlet engine. Is it advisable to use in server's built in engine or use add-on servlet engine. Thanks, Sandip

Re: Comments on 2.2 Public Review Draft

1999-07-18 Thread James Duncan Davidson
> James, part of the problem may be that to the rest of the world the > "official alias" looks like a black hole. Yes. I've heard that before. It's a one way address where the world posts and we read. But I understand that people can feel that this means that their messages go nowhere -- even if

Re: Can some explain/confirm

1999-07-18 Thread Mukul Gandhi
Thanks Craig for sharing ur experiances. I'll put more questions if I have some doubt. -mukul >> The lines below which Craig has written seem to be quite important to >> understand. But here I have a confusion. Say in doGet() method I write a >> statement creating a session object [ HttpSession

Re: Where to put the HTMl files in the Webserver ?

1999-07-18 Thread roopa
In Java webserver the html files are to be public_html directory, under javawebserver directory Nitin Kulkarni wrote: > Hi all, > we are developing a web based search application with HTML as the front end. > > Can you tell me where to store the html files in the java web server ? As of

Re: SmptClient

1999-07-18 Thread Srinivasan S (Systems Engineering Group)
okay people like me who are unable to read those books pls suggest me where to get that class files. On Tue, 13 Jul 1999, Andy Bailey wrote: > > I read the book "Java Servlet Programming" by Jason Hunter about sending > > emails. He uses the > > sun.net.smtp.SmptClient class. Where can I get tha

Re: How do I set the current date thru JDBC.

1999-07-18 Thread Andy Bailey
> Sorry to disturb u again.. > > That Date() comes under util.* but, since I have included Java.sql.*, It is giving > compilation error, like no > constructor matching the Date() .If I include util.*, then agin the problem. > > So, I need the same Date() under ..java.sql.* > Simple one, when cla

Re: Servlet

1999-07-18 Thread Robert A. Crawford
On Tue, Jul 13, 1999 at 03:54:49PM +0900, Won, Taewoong wrote: > My servlet need to send e-mail message via remote SMTP servler. The > environment is Solaris 2.6, ServletExec 2.0, Netscape Enterprise > Server with Sun JDK 1.2 VM. At first I looked into JavaMail API, but > it is too complicated for

Re: Comments on 2.2 Public Review Draft

1999-07-18 Thread Preston L. Bannister
From: James Duncan Davidson > You may be assuming that the specification group reads each and every > email to this list with the attention that is given to feedback that > comes into the official alias. Unfortunately this is not the case. Mail > to this list gets read and possibly responded to. M

Re: Comments on 2.2 Public Review Draft

1999-07-18 Thread James Todd
we listen ... all the time. we learn as well ... all the time. there are (at least) two tracks going on regarding serlvets these days: servlet interest a means by which any and all (sun and the world) can share ideas regarding servlets and

Re: Difference between JDBC and ODBC

1999-07-18 Thread James Duncan Davidson
> I have just subscribed here and I see some chaos. Read some f..ing Java > tutorial before sending so basic questions to SERVLET list. Please be a bit more polite. There's no need to use that kind of language here. Yes, we've got an off-topic problem here. However, being a prick about it isn't g

Re: Comments on 2.2 Public Review Draft

1999-07-18 Thread James Duncan Davidson
> As a servlet developer that's invested a lot in servlet technology I'm here > to tell you that statements like this make me froth at the mouth. I expect > Sun to seriously listen to the opinions of the developers on this list. We do. But please, read the JCP documentation. The feedback for the

Re: Difference between JDBC and ODBC

1999-07-18 Thread Srinivasan S (Systems Engineering Group)
Hello, First of all may i request to maintain the dignity of this forum, i read that so called f...king java tutorial in which place of it there is a difference mentioned Please be polite to this forum i too know certain things can provoke since this i

doPost dosen't working on Linux

1999-07-18 Thread À±ÀÏÈÆ
Hi everyone! Could someone help me please? I am using computer like below. 1. Linux radhat6.0 +apache+ jdk1.2pre + jsdk2.0 2. winNT IIS + jdk 1.2.1 + jsdk2.0 3. win98jdk 1.2.1 + jswdk1.0ea I found problem on linux. The Problem is a doGet

Re: Session objects

1999-07-18 Thread James Duncan Davidson
> 1) As we're storing actual objects in the HttpSession object, if we use > getValue and modify the object (properties) do we still need to use > putValue? Why, aren't we dealing with another reference to the same object? No need to use putValue. When you use getValue you are getting a reference

JDBC PreparedStatement

1999-07-18 Thread Shaheen Hussain
Hey all, I have just noticed odd behaviour with prepared statements in JDK1.2. I have a preparedStatement which I create at the beginning of a function. However if I substitue the place holders for values, within a loop, I get the following error on second iteration: java.sql.SQLException: Inva

Re: How do I set the current date thru JDBC.

1999-07-18 Thread Eytan Seidman
You need to be careful because different database request the format in different ways. I do teh following. Calendar currentCalendar = Calendar.getInstance(); int a = currentCalendar.get(Calendar.YEAR); int b = currentCalend

Re: Can some explain/confirm

1999-07-18 Thread Craig R. McClanahan
Mukul Gandhi wrote: > Hi, > The lines below which Craig has written seem to be quite important to > understand. But here I have a confusion. Say in doGet() method I write a > statement creating a session object [ HttpSession session = > request.getSession(true) ]. Lets assume sessions are manage

Re: Getting a session by ID?

1999-07-18 Thread Geoff Soutter
Milt, I didn't mean to turn this into a flame war. I think the Servlet API is great. That doesn't mean it's perfect though. This is a case where it could have been done better, and it could still be improved. Geoff -Original Message- From: Milt Epstein <[EMAIL PROTECTED]> To: [EMAIL PRO

Re: AW: Can some explain/confirm

1999-07-18 Thread Craig R. McClanahan
"Scheiderer, Stephan" wrote: > [snip] > SO, do I have to synchronize session object access??? (If a user > makes 2 requests at one time...) > Does that anybody of you? Is this really necessary? > I will offer a few brief comments about my own practices ... your mileage may vary.

Re: Hashtables in Java

1999-07-18 Thread Rishi Asthana
Hi Yogesh, If you could slightly modify your code and store an Employee object instead of just name in the hashtable then you could use the attributes of the employee class to get all the info that you might need for a particular employee. While retrieving encapsulate the data in an Employee objec

Re: Fw: (is servlet really faster?) Php VsServlet,unexpectedresult,why?

1999-07-18 Thread Alvin, lau
hi, I spent almost 4 hrs to setup ibm vm (because I have to upgrade my glibc). After that, I started to do the test again. This time, I got an exception from jmeter and some error in my jserv's log. I tried to use jswdk instead of jserv, I still got that exception(I forget the name). I didn't hav

Re: session probleoom

1999-07-18 Thread Arjan Houtman
>every time I click "refresh" button, the counter will add one, but I >found that wehn I open another browser, the sessionID is still the >previous sessionID, and the counter is not 1 but the previous number >adding one. The browser I use is IE4.0, and Netscape4.5, they have the >same probleom.

Re: RE2: Servlet Applet Communication

1999-07-18 Thread Cezar Totth
Hi, An applet, trusted or not, can not read directly any file from the server. It can only make some network requests to network servers (like requesting HTTP GETs to an HTTP server.) Cezar. On Mon, 12 Jul 1999, NitinS wrote: > Hi Andy, > If I use trusted applet to read file from local director

Re: Servlet

1999-07-18 Thread Matt Tucker
Taewoong, I would suggest checking out the CoolServlets.com email package (http://www.coolservlets.com). It sounds like it's exactly what you're looking for. We think the documentation is pretty decent too. Good luck! -Matt Tucker "Won, Taewoong" wrote: > > My servlet need to send e-mail messag

Re: RE2: Servlet Applet Communication

1999-07-18 Thread Andy Bailey
Title: Servlet Applet Communication   - Original Message - From: NitinS To: [EMAIL PROTECTED] Sent: Tuesday, July 13, 1999 12:25 AM Subject: RE2: Servlet Applet Communication Hi Andy, If I use trusted applet to read file from local directory of serv

JWS Admin question

1999-07-18 Thread Marian Corcoran
HI, I am trying to get the use the Admin tool with JWS 1.1.3 on Windows 95. I start up JWS with .\httpd in a DOS box. I run a HelloWorld servlet successfully with http://localhost:8080/servlet/HelloWorld I get to the admin tool login page with http://localhost:9090 After typing admin

Re: servlet profiling tools

1999-07-18 Thread Stein M. Eliassen
http://www.optimizeit.com Byte Code wrote: > > Hi. > > I was intersted in profliling servlet performance ...in the same way as > Jprobe does for applications. > > Are there any tools or products that do the same ??? > > -Sam > > _ >

ending a Login session

1999-07-18 Thread Tom Kochanowicz
I am trying to get a Login Servlet to work (like the one on p230 & 231 of Jason Hunters book) The redirection works fine but after I log in I stay logged in. What can I do to end the session or Log Out? Thanks, Tom K. ___ T

LET US CONTROL THE SUBJECT

1999-07-18 Thread Aleksander Grzebyta
Dear Collegues ! I have just subscribed to the list and I see some chaos here. Please: if it is SERVLET list do not post completly other subject messages here. I think there are various courses and tutorilas to get basics in Java and not send basic questions on it to servlet group. There are also

Re: Primary Key value

1999-07-18 Thread Thor Heinrichs-Wolpert
If you mean which columns form the primary key attribute for a table, then I believe it is db specific, since the data dictionary is not a standard item describe in any of the ISO SQL drafts. Which db are you using? Thor HW - Original Message - From: Srinivasan S (Systems Engineering Grou

Re: servlet engine ???

1999-07-18 Thread Thor Heinrichs-Wolpert
It does not per-say cache the class, as per the documentation, the class is instantiated into memory and runs from there. It is not a CGI which has to load from disk everytime. If JRun has the reload of modified servlets turned on, it just keeps track of the files timestamp. It should, and maybe

secure servlet

1999-07-18 Thread Jonathan Dick
If I'm running servlet securely, does this prevent me from establishing URL connections from within the secure servlet? I tried setting up a connection and apparently it lets me send through the connection but it doesn't let me create an instream from the URL. I am using Websphere and IIS. - Jona

servlet profiling tools

1999-07-18 Thread Byte Code
Hi. I was intersted in profliling servlet performance ...in the same way as Jprobe does for applications. Are there any tools or products that do the same ??? -Sam _ World's First FREE 800# U.S. Toll Free Voicemail to Email Serv

Re: SSL, keys and certificates

1999-07-18 Thread Aleksander Grzebyta
Dear Brian, I think the subject has nothing to do with servlets so I think you could reply me to: [EMAIL PROTECTED] -Original Message- From: Brian Silberbauer <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Date: 18 lipca 1999 19:08 Subject: SSL, keys and certificates >Hi all > >I am devel

Re: How to implement a slider?

1999-07-18 Thread Erik Hanson
dave biggar <[EMAIL PROTECTED]> wrote: >There are applets which incorporate a " slider". >An example is a Color Selector with 3 horizontal >scrollbars and a slider to set RGB values. > >I want to write a servlet to duplicate the applet >but I don't find the necessary HTML4 elements. HTML doesn't

Re: Difference between JDBC and ODBC

1999-07-18 Thread Aleksander Grzebyta
-Original Message- From: Srinivasan S (Systems Engineering Group) <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Date: 18 lipca 1999 18:24 Subject: Difference between JDBC and ODBC >can anyone please suggest some urls for the differences between a JDBC and >ODBC stuff. Please help me. > I

resend: security error in communicating with servlet from applet

1999-07-18 Thread andy
I am sending this again because I saw no replies & I got several messages regarding sending problems... If anyone knows what to do to fix this, please send me a message ([EMAIL PROTECTED]) (I want to work on this over the weekend) Thanks ! I have a servlet that seems to work well on it's own, bu

About compatible code of Java2

1999-07-18 Thread 박승렬
My name is SungYeul, Park Title : About compatible code of Java2 Hello, I encounterd some compatible problem. I am using Jdk1.2.1 , Jsdk2.1. I compiled the code in the circumstance of VJ++1.1, while i'm running the program with jre1.2, I got this error message. >>> Invalid

SSL, keys and certificates

1999-07-18 Thread Brian Silberbauer
Hi all I am developing a site for a group of clients who will be connecting to our site via SSL for security reasons. I have decided to use client authentication instead of manual login for added security and will allow the client to add users to the system via an admin certificate. ie All client

servlet engine ???

1999-07-18 Thread DragonTown
Hello ALL, I use Personal Web Server, Windows98, JRun to run my servlet, I compiled my servlet, copy .class into JRun's servlet directory, and then use the browser to run it, of cause I see a page the servlet made, but at the next step, I delete the .class, close the browser, and then re-open the

session probleoom

1999-07-18 Thread DragonTown
Hello All, I am a servlet new one. In my sample servlet, I use session to count the client number. here is my servlet: import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class SessionServlet extends HttpServlet { String sessionId= null; public void d

Difference between JDBC and ODBC

1999-07-18 Thread Srinivasan S (Systems Engineering Group)
can anyone please suggest some urls for the differences between a JDBC and ODBC stuff. Please help me. ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". A

Re: Can some explain/confirm

1999-07-18 Thread DragonTown
Hello Craig, ÐÇÆÚËÄ, 1999Äê7ÔÂ8ÈÕ, you wrote: CRM> Mukul Gandhi wrote: >> Hi Craig, >> u said regarding HttpSession object created in doPost() or doGet(). I know >> these facts(Pl correct if I am wrong) - >> 1. If many users are invoking the same servlet, then a Httpsession object >> is created

Re: Can some explain/confirm

1999-07-18 Thread DragonTown
Hello Mukul, ÐÇÆÚÁù, 1999Äê7ÔÂ17ÈÕ, you wrote: MG> Hi, MG> The lines below which Craig has written seem to be quite important to MG> understand. But here I have a confusion. Say in doGet() method I write a MG> statement creating a session object [ HttpSession session = MG> request.getSession(tru

Re: When is destroy() called?

1999-07-18 Thread DragonTown
Hello Nitin, ÐÇÆÚÎå, 1999Äê7ÔÂ16ÈÕ, you wrote: NK> Hi All, NK> This is regarding the calling of the destroy method. I am a bit confused NK> I do not think that browser has anything to do with calling of destroy method. the destory method is not call by browser, it is called by servlet engine, w

Re: How do I set the current date thru JDBC.

1999-07-18 Thread Chris Pratt
When you create or alter the table, use DEFAULT SYSDATE something like this: CREATE TABLE EMPLOYEES ( ID CHARACTER VARYING(21) NOT NULL, NAME CHARACTER VARYING NOT NULL, CREATIONTIME DATE DEFAULT SYSDATE ); Then you don't have to do anything in the java program,

Re: JRUN + RMI on Solaris?

1999-07-18 Thread Srinivasan S (Systems Engineering Group)
> public interface MessageReceiver extends Remote { > boolean takeMessage(String s) throws RemoteException; > } > > server/Server.java: -- > package server; > String name = "test"; > try { > MessageReceiver server = new Server(); Since

IlllegalArugumentException - Pl. Help

1999-07-18 Thread Gaurav Kishore
Hi, Following is a servlet, which is being invoked by a cgi-script at the server. The servlet should pick up a jpeg image from the server's hard disk, manipulate it and save it back as jpeg on the hard disk. Also, it should send back the control to the cgi-script. Moreover, I must mention that th

Counting sessions

1999-07-18 Thread tomas zeman
Hi all, I would like to write a webchat using servlets and I want to have names of users which sessions didn't expired(which soo a chat page in last 15 minutes) on the bottom of the page. So how exactly I count and get all sessions informations from all users who "are still in chat"? and how ser

Re: Servlet Applet Communication

1999-07-18 Thread Muhammad Azam
Hi, This is regarding Applet-Servlet communication, good article, enjoy it. http://www.j-nine.com/pubs/applet2servlet/Applet2Servlet.html Azam ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the

Writing to an abstract resource with jsdk2.1

1999-07-18 Thread Chuck Li
Hi. I am trying to use getResource() of jsdk2.1 to write output to the URLConnection's OutputStream, and I got following error. Can anyone tell me what is the problem? Error: 500 Internal Servlet Error: java.net.UnknownServiceException: protocol doesn't support output at java.lang.Exce