important for all jsp developers

2000-01-22 Thread Ashwani Kalra
Hi all , Can any body provide some information for the following situation ? Since JSP page is compiled into the servlet class that has only one instance(normally) and initilized only once. All the variables declared using %! % tags become the part of the member variables of the servlet

Re: Session Validation.

2000-01-22 Thread Craig R. McClanahan
"Wang, Dapeng" wrote: Hi, what is the best way to do session validation? If a session times out, all objects bounded with this session get deleted. So every JSP or servlet must check whether a valid session is available. Where should this checking occur. In JSP Model2 it is easy to do the

Re: AW: Too many Objects in Session Considered HarmFul ?

2000-01-22 Thread Craig R. McClanahan
"Wang, Dapeng" wrote: Hi, Craig, Can you estimate how long a session should last to be useful. I think in Tomcat 30 min is the default, isn't it a little bit too long? One thing to remember ... the session timeout value does *not* determine how long a session lasts. It only determines how

Re: Dynamic class reloading and JRun

2000-01-22 Thread Ivan
I suppose that servlet runner checks the timestamp of the main servlet .class file (or the servlet archive) so if you change the date of that file (recompile it) EVERY servlet runner SHOULD RELOAD the servlet DK bean or servlet descends from another class you have created. However, if DK you

Using taglibs with tomcat3.0

2000-01-22 Thread Tim Fox
I'm getting the following error when trying to use taglibs with tomcat3.0 and jdk1.2.2 - has anyone got taglibs to work with this configuration? Or maybe it's a bug with tomcat? Unhandled error! You might want to consider having an error page to report such errors more gracefully

Re: Dynamic class reloading and JRun

2000-01-22 Thread Bill White
Another one to look at is Resin1.1 It is currently in beta, but I use it to develop and it seems rock solid. It is fast, small and comes with a mini-http server as well as the ability to plugin to IIS, Apache etc. Check it out at www.caucho.com Has anyone got an opinion on Drumbeat2000 from

Re: SELECT lists?

2000-01-22 Thread Jason Lee
H, Bill, your code below works great, but it's too much code in an html page for my liking. I've been really getting into the whole model 2 thing for my project and decided on another way to do the same thing - which i use pretty much thru my entire site. JSP page: - jsp:useBean

Invoking JSP page translation

2000-01-22 Thread Pafsanias Ftakas
I would like to invoke the Java translation of a JSP page. I have the JSWDK-1.0 and from the jspengine.jar file, it would seem that the entry point to the code I am seeking is in the com.sun.jsp.compiler package. Could someone please point me to the class and method that I need to call in order

multi-threading Lint-ing

2000-01-22 Thread Robert Young
since it is clear from the earlier discussion that JSP authors need be as mindful of multi-threading issues as servlet programmers, i'm wondering whether there is a tool to us. c has lint, which inspects code for semantic errors [sort of, anyway]. what i'm thinking of might be just a compiler

URL rewritting and security

2000-01-22 Thread Martin Leboeuf
Hi ! I have been following the discussion about session management ( amongst others ) and I just thought about something : if I understand correctly, one can implement session management through URL rewritting which, in a word, does nothing more than adding the session ID to the URL in the form

Re: thin driver problem in jdbc to oracle.........

2000-01-22 Thread jesus sosa iglesias
Hi: Oracle calls classes111.zip the jdbc driver file for Oracle 8.0 and also calls classes111.zip for Oracle 8.1.5 Check that you have the correct one You may have to download a classess111.zip for Oracle 8.0 not Oracle 8.1.5 Go technet.oracle.com and get the right jdbc driver Sharat Babu

Re: Application management in JSP

2000-01-22 Thread arthur alexander
Kevin Jones wrote: . . . As to the question about ServletContext - the interface will be the same regardless of the engine used (assuming they all work to the same spec), the internal implementation will obviously vary, . . . With one caveat -- that the implementing vendor can and often does

jsp:forward

2000-01-22 Thread Arannyak Ghosh
Hi all, I wanteed to know the way jsp:forward works. I am using this to forward from say page1 to page 2. But the address in the browser still says page1 despite the page2 being successfully loaded. Thanx ghosh === To

Re: How long has JSP/Servlets/JRun been around?

2000-01-22 Thread Stephen Summerfield
-Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Heske Chris Does anyone know aproximately how long Servlets, JSP, and the JRun product have been around? I've been working with servlets since around

Re: OFFTOPIC: Data Concurrency Consistency

2000-01-22 Thread Geert Van Damme
I don't know about any libraries but I did make my own components who do what you ask for (I think). The problem is that this code isn't ready to be used by other persons at all. It's not very stable yet and there might be some problems. But for my stuff it works OK. Here's more or less what I

Re: Java Packages that can return GIF or PNG imanges

2000-01-22 Thread Geert Van Damme
The package at acme.com can create GIF's for details check out my graffiti wall. http://www.darling.be/wall.html Geert 'Darling' Van Damme -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Basvi Ayuluri

fix sizeof textfield in html

2000-01-22 Thread [Your Full Name]
how can i fix the size of textfield in html - Visit http://www.niit.com for eCommerce Solutions. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be found at:

Re: OFFTOPIC: Data Concurrency Consistency

2000-01-22 Thread Michael Nash
Sanjay: This is an issue that the object/relational mapping layer in our open-source component library helps deal with. Basically, all interaction with the DB is done via "database objects", which have attributes for all columns in the table. Even if another update changes the record before the

Re: How to do a generic listbox input using JSP 1.0 for multiple pages

2000-01-22 Thread Lance Lavandowska
Have you checked out ECS at java.apache.org or my package at http://www.brainopolis.com/jsp/ ? Lance -Original Message- From: Duffey Kevin [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Saturday, January 22, 2000 9:43 AM Subject: How to do a generic listbox input using

Re: OFFTOPIC: Data Concurrency Consistency

2000-01-22 Thread Craig R. McClanahan
"Radhakrishnan, Sanjay (c)" wrote: Im wondering if there are any tools/libraries/frameworks which allows applications written in Java to easily maintain data concurrency/consistency . What you describe sounds a lot like the problems that Enterprise JavaBeans (EJB), specifically entity

Re: Multiple selected listbox form submitted to JavaBean??

2000-01-22 Thread Hui Deng
As I remember in one of my cases, I have page1 has a multiple selected listbox. After submitting to page2 which automatically sets the JavaBean with the form elements. The property(String) holding the value of the listbox is string of the selected value with "," as seperate. Hui --- Duffey

Japanese Text

2000-01-22 Thread Marco Gonzalez
Hello, I read posts in the archive regarding this question, but found no answers to it. I need to serve JSP pages containing Japanese text. I get a compilation error (UTF-8 error message). I've tried: % response.setContentType("text/html;charset=SJIS"); % but it still does not work. I'm

Re: important for all jsp developers

2000-01-22 Thread Joseph Pych
This seems similar to a problem that I had when everything seemed to be initialized on every call. My problem was that my session timeout was set to 0 (this happens to be the default in J2EE RI). So, I was losing my session between clicks. A solution is to set the timeout to -1 (never) or

Re: URL rewritting and security

2000-01-22 Thread Craig R. McClanahan
Brian Schaefer wrote: That's right, and it wouldn't seem that just encrypting the sessionID would do much good, because a session hijacker could just send back the same encrypted ID. It seems that there needs to be an applet running on the client that could take the encrypted sessionID,

Re: URL rewritting and security

2000-01-22 Thread Brian Schaefer
So assuming this is a long term client, who periodically logs in with a password, you could initially use SSL on his first sign-up to pass him his private key. Where could you store this key between sessions? Ideally this would all have to be automatic and no additional work or bother for the

Re: URL rewritting and security

2000-01-22 Thread Craig R. McClanahan
Brian Schaefer wrote: So assuming this is a long term client, who periodically logs in with a password, you could initially use SSL on his first sign-up to pass him his private key. Where could you store this key between sessions? Ideally this would all have to be automatic and no

Re: URL rewritting and security

2000-01-22 Thread Brian Schaefer
That was my point, where else could you store his key, other than in the cookie because it is sent back. (some place where it would remain on his computer only after sending it to him with SSL. -- maybe you could set a cookie with a fictitious domain name, but then could your applet read it?)