Re: How to handle this.
See this link http://www.javascript-page.com/onunload.html I just found that by doing a normal google search. In the future cant you do this rather then wasting an email when it takes less than a minute to find it? - Original Message - From: Wang, Jianming [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 30, 2001 12:12 PM Subject: RE: How to handle this. Do you know how? -Original Message- From: Tsinwah Lee [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 2:57 PM To: [EMAIL PROTECTED] Subject: Re: How to handle this. Yo ucan use javaScript to do that. Wang, Jianming wrote: Hi everybody, I have an web application and I want to handle the event of user's clicking on the Back button. Does anybody know how to do it? Thanks in advance. JW.
Re: How can i get all table's name from JDBC driver?
What kind of database? If Oracle there is a table all_tab_columns you can select table_name,column_name from. Thanks Mike - Original Message - From: João Folha To: [EMAIL PROTECTED] Sent: Monday, July 23, 2001 7:48 PM Subject: How can i get all table's name from JDBC driver? Hi there, I need to get all table's name from JDBC driver and all column's name from any table. Can you help me? cheers João Folha
Re: WML
Hi, I am running some wireless apps via tomcat. What do you mean they dont work? Is the browser not finding them? Are you getting a content type error? Let me know Thanks Mike - Original Message - From: Mike Sanders To: [EMAIL PROTECTED] Sent: Friday, July 20, 2001 7:58 AM Subject: WML Hi, I set the web.xml in the WEB-INF directory with the correct mime types and it works. The problem is that when I put the files in a directory inside the ROOT they do not work. In other words, the same file that works in /webapps/ROOT/ does not work in: /webapps/ROOT/test/ Any ideas? Regards, Mike Sanders Developer AireWeb Technologies
Fw: [seajug] Micosoft to drop support for java
Sorry this isnt pertaining to Tomcat but thought it worthwhile it sure ticks me off! - Original Message - From: ayman E. To: [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 3:17 PM Subject: [seajug] Micosoft to drop support for java On the fist page of Wall Street Journal today there is an article stating that Microsoft is dropping support for java in its WindowsXP. XP customers will have to download java plugin to execute java code (applets I supposethe article means). Not only that, Windows will tighten security so much so that even java applets might be viewed as possible security threats! Once I read that , I could not remember reading any thing this stupid for a long time: 1. How on earth is java a security threat? Compared to word and other Microsoft Macros any thing is secure, I think!! 2. Microsoft says that users can change security settings on their XP/Browser and can just download a java support. Is Microsoft OR any one in his/her right mind expect users to do this. A process that requires computer savvys and more time than it might be worth it for some. 3. I feel this is the end for client side java. Do you agree? AME Get your FREE download of MSN Explorer at http://explorer.msn.com To unsubscribe from this group, send an email to:[EMAIL PROTECTED]Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Authentication help
Hi, I was wondering if someone could help me with authentication. I have set up my tomcat-user.xml file and in my web.xml in my $TOMCAT_HOME/conf directory I have security-constraint web-resource-collection web-resource-nameProtected/web-resource-name url-pattern/ROOT/url-pattern url-pattern/ROOT/jsp/url-pattern http-methodGET/http-method http-methodPOST/http-method /web-resource-collection auth-constraint role-nametest/role-name /auth-constraint /security-constraint login-config auth-method BASIC /auth-method realm-name Default /realm-name /login-config security-role role-nametest/role-name /security-role Am I missing something here or do I need to have it in each web.xml file in each of my application directories. Currently I am getting no login window at all? Thanks in advance for your help!! Mike
web.xml
Hi can someone please send me a copy of the web.xml file that goes in the $TOMCAT_HOME/ROOT/WEB-INF/ directory, I seemed to have destroyed mine. Thanks so much!!
Tomcat Startup Error
Hi, Sorry for the beginner question but at least it is a tomcat question ;) Anyway when I try to start tomcat on port 80 I get a java.net.BindException: Permission denied Error and it fails can someone please tell me why? Thanks in advance for yor help!
Tomcat/JSP Question
Hi, Forgive me for the beginner question but I am trying to instantiate a class for a JSP. I am using: jsp:useBean id = "EX" class = "Example" scope = "session" / Thus I am under the assumption that my "Example" class is being instantiated and the constructor is called, is this incorrect?Basically I am trying to instantiate a class for a session and was wondering if this is the way to do it. And so if it is can I access class objects, I am assuming I am supposed to use jsp:get_property jsp:set_property rather then EX.counter where counter is a property of the "Example class" Once again sorry for the newbie question and thanks for any help you can give!! Mike
Re: Tomcat/JSP Question
Actually I was wondering if you can do this Class Example { public Object myObject; public Example() { this.myObject = new myObject(); } // end constructor } then acess it via my JSP jsp:useBean id = EX class = Example scope = session / % int my_object = EX.myObject % It says that this doesnt exist? Is there no way to do this? Thanks so much for your help! Mike - Original Message - From: Purcell, Scott [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 01, 2001 12:47 PM Subject: RE: Tomcat/JSP Question I think you may have the syntax for jsp:get_property jsp:set_property wrong. It is jsp:getProperty() and jsp:setProperty() Here is a textbook example from Fields and Kolbs book. Hope it helps #JSP % page import = com.taglib.wdjsp.components.CompoundIntrestBean % jsp:useBean id=calculator class=CompoundInterestBean / jsp:setProperty name=calculator property=principal / /jsp:useBean jsp:getProperty name=calculator property=principal / Hope that helps, Scott -Original Message- From: Mike Alba [mailto:[EMAIL PROTECTED]] Sent: Friday, June 01, 2001 2:47 PM To: [EMAIL PROTECTED] Subject: Tomcat/JSP Question Hi, Forgive me for the beginner question but I am trying to instantiate a class for a JSP. I am using: jsp:useBean id = EX class = Example scope = session / Thus I am under the assumption that my Example class is being instantiated and the constructor is called, is this incorrect? Basically I am trying to instantiate a class for a session and was wondering if this is the way to do it. And so if it is can I access class objects, I am assuming I am supposed to use jsp:get_property jsp:set_property rather then EX.counter where counter is a property of the Example class Once again sorry for the newbie question and thanks for any help you can give!! Mike
Re: Tomcat/JSP Question
Oops it is supposed to be % Object myObject = EX.myObject % - Original Message - From: Francisco Areas Guimaraes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 01, 2001 3:22 PM Subject: Re: Tomcat/JSP Question I could be wrong, but 'int' is a primitive type, I don´t know if it extends Object, have you tried 'Integer my_object = EX.myObject' ? Francisco - Original Message - From: Mike Alba [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 01, 2001 7:17 PM Subject: Re: Tomcat/JSP Question Actually I was wondering if you can do this Class Example { public Object myObject; public Example() { this.myObject = new myObject(); } // end constructor } then acess it via my JSP jsp:useBean id = EX class = Example scope = session / % int my_object = EX.myObject % It says that this doesnt exist? Is there no way to do this? Thanks so much for your help! Mike - Original Message - From: Purcell, Scott [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 01, 2001 12:47 PM Subject: RE: Tomcat/JSP Question I think you may have the syntax for jsp:get_property jsp:set_property wrong. It is jsp:getProperty() and jsp:setProperty() Here is a textbook example from Fields and Kolbs book. Hope it helps #JSP % page import = com.taglib.wdjsp.components.CompoundIntrestBean % jsp:useBean id=calculator class=CompoundInterestBean / jsp:setProperty name=calculator property=principal / /jsp:useBean jsp:getProperty name=calculator property=principal / Hope that helps, Scott -Original Message- From: Mike Alba [mailto:[EMAIL PROTECTED]] Sent: Friday, June 01, 2001 2:47 PM To: [EMAIL PROTECTED] Subject: Tomcat/JSP Question Hi, Forgive me for the beginner question but I am trying to instantiate a class for a JSP. I am using: jsp:useBean id = EX class = Example scope = session / Thus I am under the assumption that my Example class is being instantiated and the constructor is called, is this incorrect? Basically I am trying to instantiate a class for a session and was wondering if this is the way to do it. And so if it is can I access class objects, I am assuming I am supposed to use jsp:get_property jsp:set_property rather then EX.counter where counter is a property of the Example class Once again sorry for the newbie question and thanks for any help you can give!! Mike
Tomcat configuration
Hi, I am new to Tomcat and am looking to configure it for WML and Bitmaps, etc. How do I configure it to use these types. I have read some emails that the web.xml file is not read? Thanks in advance for your help! Mike
Tomcat Image Errors
Hi, I am currently getting this type of error from Tomcat when I try to display an image in my app: 2001-05-29 09:19:22 - Ctx( ): 404 R( + /images/qc.bmp + null) null Anyone have any ideas? Thanks so much in advance for your help!! Mike
Connection/Database pooling
Hi, I was wondering if someone can give me a little advice. I am currently using Apache webserver, Tomcatserver, and an Oracle database. I have created a wireless app using JSPs/WML. Basically I was wondering how best to architect it to take full advantage of Tomcats connection and database pooling? Should I be using servlets versus JSPs? Sorry if this is a dumb question. Thanks for your help in advance!