Problem with Resin, database and JSP/Servlets

2002-06-28 Thread Patrick Fong
Hi I have a problem with my resin server. It is very unstable and tends to loose persistence(?). What happens is that database connection is ok for a while, but as soon as I change a class, or a jsp, it throws the error mentioned below. What I do is delete all the *.jsp and *.class files form the

Logging using Log4j with JSPs

2002-06-23 Thread Patrick Fong
Hi I need help logging my JSPs using Log4j. I can make it work for servlets and my java beans. However when I try to do the same thing for JSPs it throws errors like 'Statement required' for variables declared and 'Missing }' errors for variables which do not really need them. Here is a list of t

Sessions and Cookies part 2.

2001-09-24 Thread Patrick Fong
Hi I think I left out something with my last email. (I have my last email appended to this email, so that people have a reference to it.) My question is can we stop the session from going to null/timing out? If the session times out, building a web site around session variables would be very uns

Session and cookies

2001-09-23 Thread Patrick Fong
Hi I have a problem with using session object and cookies with jsps. The problem is that I have set the session max inactive interval to 5 hours (300 mins * 60 secs) and after a certain time - the shortest being 5 mins, the session times out. When I access a session variable using people_id = (S

Problems with adding files to a DB and uploading files

2001-08-21 Thread Patrick Fong
Hi I have a JSP which has three forms in it. One form which has the normal encoding scheme (ie application/x-www-form-urlencoded), the other which is where the file element is at has the encoding scheme of (ie. multipart/form-data) and the other has just one element which is the button which call

Re: Free server that accepts JSP files???

2001-05-14 Thread Patrick Fong
tomcat from the Apache Jakarta project. and the general consensus here says that JBOSS from www.jboss.com is another one. P. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. ==

Re: How can I expire a JSP FORM

2001-05-07 Thread Patrick Fong
I dont really follow the "token" concept. Can you illustrate your explaination with some code? Thanks in advance. P. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. =

Re: Which Server to Use-URGENT

2001-05-06 Thread Patrick Fong
Hiya Kalyan >1.I tried using Apache Web Server to run my JSP >application.The server did not recognize JSP tags. Is >this a problem with the Apache Web Server. Use TomCat for Java stuff. Apache has a JServ, but I think there are no newer versions. Use TomCat. >2.As a solution to this I thought

Re: VERY VERY URGENT.SESSION TIME OUT PROBLEM WHEN USING COOKIES ALONG WITH SESSION

2001-05-05 Thread Patrick Fong
post your code. P. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. === To unsubscribe: mailto [EMAIL PROTECTED] with body:

Re: JavaBeans vs EJB !!

2001-04-19 Thread Patrick Fong
Hiya I recently read/went through a EJB tutorial, available from IBM developerWorks (http://www-106.ibm.com/developerworks/). I have a hard copy of the JavaBeans tutorial, and I will go through it after my project is due next Tuesday. The JavaBeans Tutorial is available from jGuru.com. I find th