Global connection works ok. Thanks for all your help

2002-08-15 Thread bill tao
Hello, my friends, My project was tested yesterday by students. It works ok. and response is good. I have been worried about the global connection may cause some problem. but the test has been going very well. However i think next time i should use connection pool instead of global connection. Much

disable menu bars of browser in java servlet

2002-06-07 Thread bill tao
Hi, I am writing an online program using servlet, html. How can i add some code (probably javascript) to disable all the menu bars (ie and netscape) , 'right mouse button" features so user can not save or copy the web page. any help will be really appreciated. billDo You Yahoo!? Sign-up for Video H

question about to prevent servlet page not be cached again

2002-06-04 Thread bill tao
hi, Although i have tried several ways but none of them works. I am using java servlet with IE5.0. first in doGet  i wrote res.setHeader("Cache-Control","no-cache"); // HTTP 1.1 res.setHeader("Pragma","no-cache"); // HTTP 1.0 res.setDateHeader ("Expires", -1); in html  i wrote the code as out.prin

how to make webpage with no cache ,servlet and html

2002-05-29 Thread bill tao
Hi, I am currently struggling with one problem. I am trying to make the webpage i created using java servlet having no cache, that means. user can not go back to previous page by clicking "back" button on the menu bar of browser. I wrote some code, but it donesn't work in IE. out.println("");   ou

connection reset by peer

2002-05-16 Thread bill tao
Hello, I have one  problem  which i can't figure out. Thanks in advance. I am building online application. using java servlet, html with mysql as the backend and tomcat 3.2.3 as the server solution. when i call to run some servlet, it giving me error message as follows, connection reset by peer s

socket write error, connection reset by peer

2002-05-14 Thread bill tao
Hello, I have one urgent problem which really need someone to help me out. Thanks in advance. I am building online application. using java servlet, html with mysql as the backend. when i call to run some servlet, it giving me error message as follows, connection reset by peer socket write error. al

output xls file through servlet

2002-04-15 Thread bill tao
Hi, everyone, I have one question. i am writing a servlet program to output some images which are done by microsoft excel . my idea is i store the url of these images in mysql table. and i wrote an application showplot to retrieve the address and show these plot thought html. does anybody know how

Re: pass paramters from servlet to another

2002-04-06 Thread bill tao
Hello, Michael. Thank you for your response. I am afraid to ask you one more question if i pass the parameters by url(servletname?parameter). Is there limit on the size of parameter? my approach is pass all of question body which is multiple lines of characters. Thank you in advance and have a goo

pass paramters from servlet to another

2002-04-05 Thread bill tao
Hello, everybody, I have one problem . I write a javascript program  in javaservlet application as  out.println("function preview() {"); out.println("var questioncontent=addquestion.question.value; out.println("open(\"PreviewQuestion\"?"+questioncontent+",\"Window1, \"600,500\"); addquestion is na