Re: How to disable Backspace Button in the Keyboard

2001-05-31 Thread Mike Haberman

 
 Whenever the user presses backspace key in the keyboard the browser goes to
 the previous page, which crashes our site when the user tries to save its
 contents once again or he loses data which have been typed.
 
 I think its remedy is to disable backspace button by JavaScript, but how
 should I do it ?
 If anybody know this code snippet please let me to know

The remedy is to fix your site.  Even if you could capture the key stroke
events,  ignoring the backspace is not the solution.  This advice falls in
the same category as NEVER rely on javascript for something that is 
critical to your site.

mike 
(thanks for nothing, right :)




jar placement (clarification needed)

2000-11-01 Thread Mike Haberman


There was a thread a while back about where to place
application specific jar files.  I read the thread but
the solution has not worked.


I have a jar file (myApp.jar)

I have tomcat 3.2 running

I place myApp.jar in $TOMCAT_HOME/lib  it works!
   (but I don't want it to live there)

I place myApp.jar in webapps/myApp/WEB-INF/classes
   (it does not work unjarred or jarred)

I place myApp.jar in webapps/myApp/WEB-INF/lib
   (it does not work unjarred or jarred)


1.  What's up do I need to do something to server.xml or web.xml ?

2.  It is true that once this works, if I update the myApp.jar file
I won't need to restart tomcat ?  (unlike if I do it the 1st way)


thanks to anyone who can help!!!


mike





freebsd, jdk1.2, tomcat 3.1 help

2000-10-30 Thread Mike Haberman


I can't get tomcat 3.1 to run under freebsd 

3.4-RELEASE FreeBSD 3.4
Classic VM (build Linux_JDK_1.2.2_RC4, green threads, sunwjit)


Here's the message I get When I try to connect 

Error reading request Resource temporarily unavailable: Resource temporarily una
vailable

It seems to run fine under jdk1.1.8.

Has anyone gotten it to work ?


thanks

mike






clarification of my understanding of tomcat

2000-10-27 Thread Mike Haberman

Can someone tell me if it's possible to mix web applications
that have been build with different jdks than what jvm tomcat
runs under?

 Can tomcat run under jvm 1.1.x and serve up jdk1.2 apps? 
 Can tomcat run under jvm 1.2 and serve up jdk1.1.x apps? 

 What is the recommended jvm to use with tomcat?

 I just installed 3.1 under freebsd.  Seems to work under 1.1.8
 but not 1.2.


 Thanks to those who can clarify this for me.




Re: clarification of my understanding of tomcat

2000-10-27 Thread Mike Haberman

So that means that if tomcat is run under 1.2, then the servlets
that it runs are also run under a 1.2 jvm ?

Is there any thing in tomcat that depends on 1.2 ?



thanks!


mike




On Fri, Oct 27, 2000 at 02:20:48PM -0700, James House wrote:
 
 All of this depends more on your code than on tomcat.
 
 A 1.2 jvm should be able to run any 1.1 code.
 A 1.1 jvm should be able to run most 1.2 code, but it first has to be
 compiled with a 1.2 compiler.
 
 It sounds as if your java 1.2 for freebsd is buggy, nearly everyone uses a
 version of java 1.2 with tomcat.
 
 James
 
 -Original Message-
 From: Mike Haberman [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 27, 2000 3:08 PM
 To: [EMAIL PROTECTED]
 Subject: clarification of my understanding of tomcat
 
 
 Can someone tell me if it's possible to mix web applications
 that have been build with different jdks than what jvm tomcat
 runs under?
 
  Can tomcat run under jvm 1.1.x and serve up jdk1.2 apps? 
  Can tomcat run under jvm 1.2 and serve up jdk1.1.x apps? 
 
  What is the recommended jvm to use with tomcat?
 
  I just installed 3.1 under freebsd.  Seems to work under 1.1.8
  but not 1.2.
 
 
  Thanks to those who can clarify this for me.