Is there an event my object that I have created and stored in the servlet
context to know when the servlet context is being destroyed or refreshed?
Tomcat 3.3
Apache 1.3.22
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list:
I have a database pooling class that I wrote. When the class is created it
is stored in the servlet context so that my jsp and servlets can use it.
However when I change a class everything gets reloaded. Is there and event
or something that my database pool class can listen to when this reload
jspSmartUpload can be found at http://www.jspsmart.com
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
Well I am reposting this message since I haven't got any response and hoping
that the lack of response was because everybody had something better to do
than work all weekend.
When I try and use an html form to upload a file I get the flowing error in
jk.log file:
[Sat Mar 16 10:30:32 2002]
Right now I finally got the file uploading to work properly using
jspSmartUpload. Now I need to have my servlet send an email with the file
as an attachment. I believe I wont have a problem saving the file to disk
and then attaching it to an email. However saving it to disk just to reread
from
When I try and use an html form to upload a file I get the flowing error in
jk.log file:
[Sat Mar 16 10:30:32 2002] [jk_ajp12_worker.c (503)]:
ajpv12_handle_response, error reading header line
The webserver then gives me a 500 Internal Server Error
I don't get this error if I dont use browse
When I update a bean in my webpages that handles reports, everything seems
to reload. The database bean reloads that has nothing to do with the report
bean. This causes my database connections to be reestablished. The scope
of the database bean is application. Also all valid sessions are now
I have a database pooling bean that I use. Is there a way to tell when the
bean is being destroyed becuase the bean has been replaced with a newer
version or is being unloaded for some reason? I need to know so that I can
close the database connections that the bean is controlling. I dont want
Is there anyway to get rid of about 10 newlines that show up before my
output actually begins? I have looked all through my code and I don't
believe that they are coming from my code. Anybody else have this problem?
Any suggestions appreciated. It is now a problem now that I am writing csv
I am trying to insert the output of a servlet into cells in a html table. I
am getting the above error. Here is a sample of the code:
../servlet/RevGeocodeBlockServlet writes to the outputstream a string which
represents the location given by the lat and lon specified.
I am setting up a site where I want to allow a user to create their own
username. The username and passwords are stored in an Oracle database. If
the username is already taken I want to be able to give them some choices of
alternate usernames like Yahoo and some other places do. What is the
I have a few servlets and some jsp pages. Right now the both have their
own database pool. What is the best way to make the pool avalible to
JSP pages and servlets that I have created myself. These are in the
same context. Right now I have database bean that has scope of
application and my
I want the browser to download the file and not display a CSV file that
I have created. Right now I issue the following commands, but it
doesn't seem to work.. Any ideas are appreciated.
String file;
...
response.setHeader(Content-length,file.length());
Does anyone know of a database pooling bean or soemthing that will aloow
me to share connections among many jsp pages. Preferably something that
is free.
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL
I am using Cookies to keep the sesison information. I am using servlets
to preform some autheication for a standalone program. From the
standalone program(which is in Java), I also pop up a browser window and
want it to login automatically to some JSP pages, in other words I want
the session to
I have written an standalone application that is using servlets to login
to the application and to get different data from a database behind a
firewall. I want to limit the password and username from going over the
net more often than necessary ( I use a MD5 hash of the password to get
it
Is there anway to prevent this:
http://xxx.xxx.xxx.xxx/Website/m/index.html;jsessionid=beflc8b3d1
I am using Tomcat 3.3 and mod_jk. I have it setup in the config file to
do cookies first. How can I stop this becuase Apache doesn't know about
the semicolon and to ignore whats after so I get 404
Is there any way that I can make it so that I can use JSP pages in my
apache document root but keep the tomcat document root seperate that
contains the servlets and other class in web-inf?
I just want to be able to have my jsp pages with my normal html pages
and image files sort of like I used
18 matches
Mail list logo