Re: Help with Scriptlet within jsp - Oops i know.

2001-12-16 Thread MP
use ActionErrors / ActionErrors classes and html:errors tag instead of wot ur doing... its the *Struts* way of achieveing wot ur attempting to do... At 04:21 PM 12/15/2001 -0500, you wrote: Chuck Amadi wrote: Hi all, I know that this goes against the idea of Struts , but nevertheless please

using MySQL as a datasource

2001-12-16 Thread Marcus Blackhall
Hi All, I am attempting to use MySQL as a datasouce for struts to make use of the Connection Pool. I have in my struts-config.xml file the floowing for the datasource data-sources data-source set-property property=autoCommit value=false/

Question about Ron Smith's Struts Transformer pkg

2001-12-16 Thread ltorrence
I just started looking at the Transformer package, which seems to fill a major hole in the Struts Framework. (I'm new to Struts as well, coming over from the Dark Side (MS)). My initial impression of the Transformer pkg is that it would not be called from the .jsp, but only from the Action,

Re: Using BeanUtils.populate()

2001-12-16 Thread Tadashi Ishikawa
I think you need commons-collections.jar. [EMAIL PROTECTED] wrote: Hi, I looked at Ted Husted's example (Ted's catalogue) for using BeanUtils.populate() to populate beans from a database query, and put them into an ArrayList. I am working on some code which queries an LDAP Directory and

Re: dynamic images

2001-12-16 Thread antony
Thanks for the reply. You cay I will most likley not want to serve the images from the database, where do you suggest I serve them from? In my case I am not using Apache, so I cannot serve them with Apache. Cheers Tony I'd recommend a custom tag for URL's that get pulled from the DB for a

Where should I store image files?

2001-12-16 Thread antony
Hi Folks I have a jsp/servlet web app and am not sure where I should keep the image files. The image files are constantly getting added to, ie people can upload new images and they should be stored somewhere, either in a database or in a directory somewhere. I am not sure which is the best

RE: Where should I store image files?

2001-12-16 Thread Phase Communcations
I would suggest a directory. Databases can handle the binary info. But, it is not good for performance. Both will work but I would place a file path/url in the database to reference the images and store them in a directory. Brandon Goodin Phase Web and Multimedia P (406) 862-2245 F (406)

Re: Where should I store image files?

2001-12-16 Thread antony
Where is a good place to put this directory. Should I put it in the directory structure which contains my webapp, ie, using tomcat, /var/tomcat4/webapps/mywebapp/images would this be ok? Or is there somewhere else which is better? Cheers Tony Phase Communcations wrote: I would