Re: Java1.5 to 1.6

2008-06-17 Thread Kimberly Begley
Great - thanks for that Chris - I found the problem and its all working now. On Wed, Jun 18, 2008 at 11:31 AM, Christopher Schultz < [EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Kimberly, > > Kimberly Begley wrote: > | I understan

Java1.5 to 1.6

2008-06-17 Thread Kimberly Begley
) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) -- Kimberly Begley

Re: jsp session values - setting and getting problems

2008-05-28 Thread Kimberly Begley
Great - thanks! On Wed, May 28, 2008 at 5:14 PM, Pid <[EMAIL PROTECTED]> wrote: > Kimberly Begley wrote: > >> Hi, >> The starting point of the app is the user uploading a zip file the file is >> processed and a summary of the results displayed (in the form I spo

Re: jsp session values - setting and getting problems

2008-05-27 Thread Kimberly Begley
AGE- > Hash: SHA1 > > Kimberly, > > > Kimberly Begley wrote: > | Hi, > | I have a jsp form that sets session attributes as such: > | session.setAttribute("totals",totals); > | session.setAttribute("failures",failures); > | session.setAttrib

jsp session values - setting and getting problems

2008-05-27 Thread Kimberly Begley
Hi, I have a jsp form that sets session attributes as such: session.setAttribute("totals",totals); session.setAttribute("failures",failures); session.setAttribute("skips",skips); and then the form directs to the report.jsp page as follows: where the values are supposed to be retrieved li

session info

2008-05-23 Thread Kimberly Begley
Hello - I'm using tomcat 5 and was wondering how session info is stored - is it stored server side in memory? Can anyone point me to some documentation about this? Thanks, Kimberly

jsp and servlet to present zip file for download

2008-04-19 Thread Kimberly Begley
Hi, I'm stumped and was hoping someone might be able to point me in the right direction. I have an html page form that contains a series of checkboxes and radio buttons the form directs to a jsp page that processes the user's selections to determine which files to zip up for the user to download. I

permissions to read/write files outside webapps directory?

2008-04-02 Thread Kimberly Begley
Hi, I've just deployed my webapp on the remote server (tomcat5 and red hat linux) - everything is displaying properly but when the user uploads a file for processing it is failing - looking in the log files it appears that tomcat can't read or write files outside the webapps directory by these erro

Re: where to put config file in a webapp

2008-04-02 Thread Kimberly Begley
very cool - yes sorry I never seem to give enough detailed info - thanks for reading my mind! you have my wants described very clearly! I will give it a go - thanks!! On Wed, Apr 2, 2008 at 10:08 PM, Peter Crowther <[EMAIL PROTECTED]> wrote: > > From: Kimberly Begley [mailto:[EMA

Re: where to put config file in a webapp

2008-04-02 Thread Kimberly Begley
Apr 2, 2008 at 9:47 PM, Caldarale, Charles R < [EMAIL PROTECTED]> wrote: > > From: Kimberly Begley [mailto:[EMAIL PROTECTED] > > Subject: where to put config file in a webapp > > > > Currently it is in WEB-INF > > Normally, such a properties or config file would be

where to put config file in a webapp

2008-04-02 Thread Kimberly Begley
Hi, I have a config file for a web application - currently the absolute path is specified in a java class that's method's are read by a servlet to get the info in the config file - I want to deploy the webapp on a remote server so I'd like to remove the absolute path to the file but can't seem to f

Re: displaying an image from outside the webapps directory

2008-03-31 Thread Kimberly Begley
Great - got it working! Thanks so much for that again! Kimberly On Tue, Apr 1, 2008 at 12:07 AM, Christopher Schultz < [EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Kimberly, > > Kimberly Begley wrote: > | I was hoping to use the jsp

Re: displaying an image from outside the webapps directory

2008-03-30 Thread Kimberly Begley
owLinking attribute (See > http://tomcat.apache.org/tomcat-6.0-doc/config/context.html) and creating > a > soft-link inside the webapp directory to the directory which is outside of > webapp? > > ++Vamsi > > On Fri, Mar 21, 2008 at 4:28 PM, Kimberly Begley <[EMAIL PROTECTED] &

Re: displaying an image from outside the webapps directory

2008-03-30 Thread Kimberly Begley
r("Content-Disposition","attachment; filename="+ file.getName()); sendFile(file, response); } } } On Tue, Mar 25, 2008 at 9:33 AM, Kimberly Begley <[EMAIL PROTECTED]> wrote: > Thanks so much!! > The image is coming up now! > So much app

Re: deployment questions

2008-03-26 Thread Kimberly Begley
Great thanks! and sorry about that its tomcat5. On Thu, Mar 27, 2008 at 1:06 PM, Caldarale, Charles R < [EMAIL PROTECTED]> wrote: > > From: Kimberly Begley [mailto:[EMAIL PROTECTED] > > Subject: deployment questions > > > > 1) make a war file of my web app dir

deployment questions

2008-03-26 Thread Kimberly Begley
Hi, I've been devloping a web app on a virtual machine on my computer and I want to move it over to remote server. I understand that I 1) make a war file of my web app directory 2) add a context entry to the server.xml file on the remote server (Q1: where in the server.xml file do I add this entry

Re: displaying an image from outside the webapps directory

2008-03-24 Thread Kimberly Begley
Thanks so much!! The image is coming up now! So much appreciated! Kimberly On Tue, Mar 25, 2008 at 12:03 AM, Christopher Schultz <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Kimberly, > > > Kimberly Begley wrote: > | I might

Re: displaying an image from outside the webapps directory

2008-03-23 Thread Kimberly Begley
.setHeader("Content-Disposition", > ~ "attachment; filename=" > ~ + file.getName()); > > ~sendFile(file, response); > ~} > ~} > } > > -

Re: displaying an image from outside the webapps directory

2008-03-21 Thread Kimberly Begley
Wow - great - thanks for the fast response - I will try it out. Have a great weekend! Kimberly On Fri, Mar 21, 2008 at 9:12 PM, Lars Nielsen Lind <[EMAIL PROTECTED]> wrote: > Kimberly Begley skrev: > > > > Hi, > > I'm trying to make a jsp display a plot that is a

displaying an image from outside the webapps directory

2008-03-21 Thread Kimberly Begley
Hi, I'm trying to make a jsp display a plot that is a jpeg in a directory outside the catalina_home directory - I do not have the option of putting it in the webapp directory (there's 1000's of them - my page will just display one of them as selected by the user - along with some other info) - how

regarding post about servlet crashing tomcat

2008-03-12 Thread Kimberly Begley
I have no idea what the problem was other than the servlet name I suppose but I copied the entire servlet - pasted it in another file with a new name and it works, created a new file with the old servlet name and pasted the new (same) code back in it and it still doesn't work (and crashes tomcat) -

servlet crashing tomcat

2008-03-12 Thread Kimberly Begley
deallocated Mar 12, 2008 6:58:01 AM org.apache.coyote.http11.Http11BaseProtocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8080 Mar 12, 2008 6:58:01 AM org.apache.catalina.core.AprLifecycleListenerlifecycleE vent INFO: Failed shutdown of Apache Portable Runtime -- Kimberly Begley

Re: jsp calling a servlet (or at least that's the goal)

2008-03-12 Thread Kimberly Begley
th}/servlet/UploadUnzipTest" > enctype="multipart/form-data"> in jsp pages. > > --David > > Kimberly Begley wrote: > > it's in CATALINA_HOME/webapps/test > > > > On Wed, Mar 12, 2008 at 10:14 PM, Mark Thomas <[EMAIL PROTECTED]> wrote: >

Re: jsp calling a servlet (or at least that's the goal)

2008-03-12 Thread Kimberly Begley
it's in CATALINA_HOME/webapps/test On Wed, Mar 12, 2008 at 10:14 PM, Mark Thomas <[EMAIL PROTECTED]> wrote: > Kimberly Begley wrote: > > and my jsp form calls it like this: > > > method=post> > > What is the context

jsp calling a servlet (or at least that's the goal)

2008-03-12 Thread Kimberly Begley
Hi, I am stuck. I am running tomcat 5 and am trying to call a servlet from a jsp. My servlet class resides in WEB-INF/classes/packagename. My web.xml looks like this UploadUnzipTest packagename.UploadUnzipTest UploadUnzipTest /servlet/UploadUnzipTest and my jsp form calls it like t

Re: file upload servlet

2008-02-27 Thread Kimberly Begley
ah - ok - thanks for clearing that up. On Thu, Feb 28, 2008 at 4:59 PM, Bob Hall <[EMAIL PROTECTED]> wrote: > > --- 10:07PM Wed 27 Feb 2008 Kimberly Begley > <[EMAIL PROTECTED]> wrote: > > > Hi - I'm trying to compile come java code to upload > > a file

file upload servlet

2008-02-27 Thread Kimberly Begley
Hi - I'm trying to compile come java code to upload a file but am getting errors - it looks like it can't find the javax.servlet stuff to import and from what I've read online everyone talks about having the directory in the classpath but I have also read not to mess with my classpath - I'm trying

Re: not reading my /etc/tomcat5/tomcat5.conf file

2008-02-20 Thread Kimberly Begley
rk with 3rd party repackaged tomcat (or 3rd party repackaged distro > versions of anything for that matter), the Cent OS forums would probably > be the best place to ask. > > On Tue, 2008-02-19 at 21:46 -0600, Caldarale, Charles R wrote: > > > From: Kimberly Begley [mailto:[EMAIL

not reading my /etc/tomcat5/tomcat5.conf file

2008-02-19 Thread Kimberly Begley
Hi, I'm running CentOS 5 with Tomcat5 (5.5.2.0) that came with the install. If I try to run dtomcat5 stop or version etc I get the following message below - I have also pasted the tomcat5.conf file below- it is obvious that dtomcat5 is not reading the /etc/tomcat5/tomcat5.conf file - what do I have