Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jack1971

    http/https switch

    Thanks, Pete! The problem is that if you redirect http to https (or reverse), you will get a new session, which results in the loss of the previous session, and all the objects bound to that session are reset to null. Then definitely you will get NullPointerException. If I force...
  2. jack1971

    http/https switch

    I am trying to switch between http and https using jsp/servlet. Application server is Tomcat 4.1.18. Say, I have a login page. When submitting the userid and password, I hope to switch to https (port 443 or 8443). Then the page will either stay with https or switch back to http (port 80 or...
  3. jack1971

    Log off time

    Thanks, guys! Those gave me enough thoughts! Jack
  4. jack1971

    Log off time

    I was supposed to record the log-off time for users. We can do it by creating a log-off button to do the record. What if user simply ignores it and closes the browser? Thanks in advance for any advice. A piece of sample codes will be more helpful. Jack
  5. jack1971

    window sizing trouble

    did you try using GridBagLayout to work things out? That is very powerful, can do anything you want.
  6. jack1971

    Print problem

    I was trying to print one form by Java Program. I have used Graphics2D to construct one grid (22X6, say). Since the form needs 1cm margin on both left and right sides, I made the grid from point(28,230) to (584,590). The form looks fine on the screen exactly the way I want it. Now the problem...
  7. jack1971

    transaction and IC of mysql

    Don't bother. I have solved this prob by myself.
  8. jack1971

    transaction and IC of mysql

    By the way, I forget to mention that I am using mysql 3.23 and myOdbc 2.50. Thanks!
  9. jack1971

    transaction and IC of mysql

    hi, I just installed mysql on Windows NT and followed the tutorial to run mysqld-nt --install to get server running. However, when trying to insert data into the tables from application by means of Jdbc-odbc, I found transaction is not supported. I may have to set up server by running...
  10. jack1971

    jdbc odbc use: no suitable driver

    hi, There are two ways to work it around. 1. Use mm.mysql driver and set CLASSPATH properly. But it may cause some problem with the javac. 2. Use MyODBC as driver. set up DNS and database source and leave other fields blank. Then use DriveManager.getConnection("jdbc:odbc:test") where...
  11. jack1971

    to Steve

    Steve, Thanks for the help. Well, let me put my question in the following way: 1'2"3/16 is the length (US system), which means one foot two inches and three sixteenth. there are one single quote and one double quote involved. My SQL would be like: INSERT INTO table VALUES ('string',...)...
  12. jack1971

    string conversion

    Steve, Thanks for the help. Well, let me put my question in the following way: 1'2"3/16 is the length (US system), which means one foot two inches and three sixteenth. there are one single quote and one double quote involved. My SQL would be like: INSERT INTO table VALUES ('string',...)...
  13. jack1971

    string conversion

    I am using JDBC to insert data into MS Access. Now I have to deal with length like 1'2"3/16. What I did was to escape ' and " by preceding them with \, but got syntax error. Anybody can help? By the way, Thank you very much, Burgess, for your suggestion. It did work.
  14. jack1971

    Date comparison

    Hi, I am using JDBC to do query from Access 2000. If I need data on some specific day, say,24/05/02, or between 01/01/02 and 24/05/02, how to put "WHERE" clause? And I have converted string to java.sql.Date. Thanks! Jack

Part and Inventory Search

Back
Top