Internet Explorer and serving files

2006-10-29 Thread Daniel Blumenthal
I'm trying to get my server to send an MP3 file to the client, but it's just not working on Internet Explorer (Firefox works fine). The user clicks a link like this: download file And whereas Firefox opens up a "save as" window, IE forwards you to an error 404. I've read about IE mime-sniffin

Re: [s2] Interceptor init() being called multiple times per hit

2006-10-29 Thread Mark Menard
On 10/29/06 4:21 PM, "Don Brown" <[EMAIL PROTECTED]> wrote: > Ok, I should have fixed the configuration files reloading too many > times. Unfortunately, if you use the action tag, they will still > reload, as that tag doesn't fully use the ActionContext instance from > the request (where the flag

Re: javabeans with Collection (Set)

2006-10-29 Thread Martin Gainty
Biso- have u looked at implementing with StringArrayConverter.convert ? try { StringArrayConverter.convert(Class classType,Object valueToBeConvertedToclassType); } catch(ConversionException excp) { } javadoc at http://jakarta.apache.org/commons/beanutils/apidocs/org/apache/commons/beanutils/conve

Re: javabeans with Collection (Set)

2006-10-29 Thread BISO
Dear Laurie, Thanks alot for your support. my registration code: ConvertUtils.register(new SetConverter(),Set.class); BISO Laurie Harper wrote: > > I haven't tried it, but I'd assume you would have to register a > converter for String[], rather than just String. What does your > converter r

java.lang.NullPointerException: Module 'null' not found.

2006-10-29 Thread [EMAIL PROTECTED]
With the struts 1.3 distribution I get this exception. What have I to do? 22:30:10,984 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception java.lang.NullPointerException: Module 'null' not found. at org.apache.struts.taglib.TagUtils.getModuleConfig(TagUtils. java: 743)

Re: [s2] Interceptor init() being called multiple times per hit

2006-10-29 Thread Don Brown
Ok, I should have fixed the configuration files reloading too many times. Unfortunately, if you use the action tag, they will still reload, as that tag doesn't fully use the ActionContext instance from the request (where the flag to not reload is stored). If you can, check out trunk and ensure t

Re: org.securityfilter.realm.SimpleSecurityRealmBase

2006-10-29 Thread Chris Pratt
That's in the SecurityFilter project's securityfilter.jar file. It's not part of Struts, but you can find it at (http://www.securityfilter.org). (*Chris*) On 10/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello I have downloaded a sample struts app. Now I have one problem. Does anyo

Re: [s2] Interceptor init() being called multiple times per hit

2006-10-29 Thread Mark Menard
On 10/29/06 11:45 AM, "Mark Menard" <[EMAIL PROTECTED]> wrote: > Here's the log output: > > 11:35:40,557 INFO [STDOUT] 11:35:40,557 INFO [XmlConfigurationProvider] > Parsing configuration file [struts-default.xml] > 11:35:40,664 INFO [STDOUT] 11:35:40,664 INFO [XmlConfigurationProvider] > Pars

Re: [s2] Interceptor init() being called multiple times per hit

2006-10-29 Thread Mark Menard
On 10/29/06 1:59 PM, "Don Brown" <[EMAIL PROTECTED]> wrote: > Well, first, what version of Struts 2 are you using? My guess is you are > using Struts 2.0.0, which contained a bug where the configuration would be > reloaded multiple times in a request. I'm using struts2-all-2.0.1.jar, which I dow

Re: [s2] Interceptor init() being called multiple times per hit

2006-10-29 Thread Don Brown
Well, first, what version of Struts 2 are you using? My guess is you are using Struts 2.0.0, which contained a bug where the configuration would be reloaded multiple times in a request. As for your question why various struts files are loaded, that is how the new plugin system works. First, str

Re: spring jpetstore demo error (possibly O/T)

2006-10-29 Thread Martin Gainty
Good Morning Larry- the good news is that ibatis has working Jpetstore demo there are a number of deltas between the the working ibatis and spring configurations ibatis(correct) spring(proble

[s2] Interceptor init() being called multiple times per hit

2006-10-29 Thread Mark Menard
I was working on a custom interceptor that would use the init() method to configure itself. After some analysis I realized that the init() method was being called multiple times per action invocation. So, I made a very simple interceptor to test to make sure I wasn¹t crazy about this. package net.

org.securityfilter.realm.SimpleSecurityRealmBase

2006-10-29 Thread [EMAIL PROTECTED]
Hello I have downloaded a sample struts app. Now I have one problem. Does anyone know in which jar file this class is? org.securityfilter.realm.SimpleSecurityRealmBase - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: spring jpetstore demo error (possibly O/T)

2006-10-29 Thread Martin Gainty
Good Morning Larry- the stack gets as far as org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:171) /here is the SqlMapClientTenplate.java**/ public Object execute(SqlMapClientCallback action) throws DataAccessException { Asse

Re: spring jpetstore demo error (possibly O/T)

2006-10-29 Thread Martin Gainty
Information in this message, including attachments, is intended only for the confidential use of the recipient(s) named above. This message may be an Attorney-Client communication and as such is privileged and confidential. If you are not an intended recipient of this message, or an agent resp