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...
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
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...
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...
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',...)...
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.
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.