jsp:setProperty, java.io.File, and I thoroughly confused
jazzdman_at_comcast.net
Date: 02/28/05
- Previous message: JScoobyCed: "Re: Image in Jar file"
- Next in thread: jazzdman_at_comcast.net: "Re: jsp:setProperty, java.io.File, and I thoroughly confused"
- Reply: jazzdman_at_comcast.net: "Re: jsp:setProperty, java.io.File, and I thoroughly confused"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Feb 2005 18:25:06 -0800
Hi,
I'm writing a webapp based on JSP technology. I've been doing
some reading and from what I've read, it isn't possible to use
jsp:setProperty to set a File property. So, I created a BeanInfo class
for the Bean I had the File variable in. I also created a class that
extended PropertyEditorSupport to assign the BeanInfo class to the
Bean. But, those don't appear to get called. I CAN, however with
Tomcat 5.0.28 on Windows XP, simply set a File property with
jsp:setProperty. The Bean ends up looking for the file in the Tomcat
bin directory, and I can thus set a relative path to the file. So, I'm
completely confused. What is going on? Is this expected behavior?
Thanks,
Jason Mazzotta
- Previous message: JScoobyCed: "Re: Image in Jar file"
- Next in thread: jazzdman_at_comcast.net: "Re: jsp:setProperty, java.io.File, and I thoroughly confused"
- Reply: jazzdman_at_comcast.net: "Re: jsp:setProperty, java.io.File, and I thoroughly confused"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]