Re: redirectig to WORD files

2005-01-26 Thread Guillaume Cottenceau
the action that has to redirecting me to > that file. Any idea? Regards Try response.setContentType( "whatever_suitable_for_msword" ); response.setHeader( "Content-Disposition", "attachment; filename=foo.doc" ); Then write

Re: url in address bar

2005-01-19 Thread Guillaume Cottenceau
- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional command

Re: Displaying images with dynamic names

2005-01-19 Thread Guillaume Cottenceau
Dakota Jack writes: > Just write the response with dynamic code that puts the correct name > in the HTML, assuming that you are talking to a browser with response > objects that are HTML. > > For example, might come from src=''>. Whatever you do, it has t

Re: Wiwit Tjahjana/HQ/FHLMC is out of the office.

2005-01-18 Thread Guillaume Cottenceau
r CSX Reuse > opportunities for projects in Freddie Mac outside PE. > > Thank you. > > wiwit > -a proud father of two, a 4-yr old and a newborn baby Vry interesting! -- Guillaume Cottenceau - To unsub

Re: and char encoding

2005-01-13 Thread Guillaume Cottenceau
talking about, more precisely? As far as I know, there is no explicit encoding/decoding when using tomcat. The results of HttpServletRequest#getParameter is a String, not an array of bytes, therefore it has already been decoded by tomcat (HttpServletRequest#getCharacterEncoding can show which encodin

Re: and char encoding

2005-01-13 Thread Guillaume Cottenceau
he link and whatever the content-type of the GET request is set to. You can use connector parameters to change this behaviour. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html Warning, if you still use tomcat4.1.

Re: Struts 1.1 UTF-8 problem

2005-01-10 Thread Guillaume Cottenceau
sgroup.com/?l=struts-user&m=110175805321521 -- Guillaume Cottenceau - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-07 Thread Guillaume Cottenceau
upgrading from tomcat4 to tomcat5 and using UTF8 encoded GET parameters). -- Guillaume Cottenceau - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-06 Thread Guillaume Cottenceau
J.Patterson Waltz III writes: > On 6 janv. 05, at 17:44, Guillaume Cottenceau wrote: > > > J.Patterson Waltz III writes: > > > >> Notice in the third line of the form data: > >> &personTO.comments=%C3%A9t%C3%A9 > >> That's &#x

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-06 Thread Guillaume Cottenceau
ilter will set the character encoding of the HttpServletRequest before data is retrieved from it, and when it's retrieved it should be correctly decoded. Are you sure the filter is up and running? -- Guillaume Cottenceau - To unsubscribe,

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-06 Thread Guillaume Cottenceau
encoding of the data. Typically, browsers will encode in UTF-8 if the page containing the form was using UTF-8 itself, but accept-charset can do no harm, but as you noticed they don't set the charset in the Content-Type header they use (according to mozilla's bugzilla, it's b

Re: How to avoid "Missing message for key "my.key" exception...

2005-01-06 Thread Guillaume Cottenceau
"Ilja Smoli" writes: > Thx for reply: > but problem is that I'd like to check it in jsp at runtime... Create an ActionMessage object. -- Guillaume Cottenceau - To unsubscribe, e-mail: [EMAIL PROT

Re: How to avoid "Missing message for key "my.key" exception...

2005-01-06 Thread Guillaume Cottenceau
"Ilja Smoli" writes: > Hi > How to check is a message present for particular key in message resources > before displaying it? To avoid exception? Use null="false" in

Re: How to implement OR functionality in STRUTS

2005-01-05 Thread Guillaume Cottenceau
Neil Erdwien writes: > How about: > > >... > > >... > Are you serious? When "..." is longer than say 1 or 2 lines, this leads to duplicated source-code, one of the thing I think programmers should avoid with the most

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-05 Thread Guillaume Cottenceau
rily modify the URL where to post the form to something like http://localhost:/ then a simple `nc -l -p ' in a console listens to the connection and dumps received data. -- Guillaume Cottenceau - To unsubscribe, e-mai

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-04 Thread Guillaume Cottenceau
ver articles are also available by clicks, no form post needed. and then it's even worse, searching for SetCharacterEncodingFilter seems to trigger a bug in their search engine, no answer is shown, only the list of all archives sorted by month -- Guillaume Cottenceau - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: test

2004-12-13 Thread Guillaume Cottenceau
"Frank W. Zammetti (MLists)" writes: > Please ignore me. Just seeing if my web host fixed the webmail problem > I've been having. Thanks! No offense, but is it not possible to test that from one email of yours to another one? --

Re: html:options and collections

2004-12-09 Thread Guillaume Cottenceau
Erik Weber writes: > I often write a Struts plug-in that sets static collections (such as > select box values) as ServletContext attributes in the init method. That becomes more complicated when you handle i18n (e.g. in labelProperty). -- Guillaume Cott

Re: ValidatorForm ???

2004-12-08 Thread Guillaume Cottenceau
ly unsecure. > Thank you. NOVA Information Systems, Inc. Lawyers have said that these notices have no legal value. Thus, it's simply annoying. -- Guillaume Cottenceau - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: i18n input

2004-12-06 Thread Guillaume Cottenceau
umeric keypad key "." outputting always "," when using the appropriate locale, but this made the users quite frustrated because many of them are used to using this key to really mean ".", not always "decimal

Re: i18n and the database...

2004-12-03 Thread Guillaume Cottenceau
CharacterEncoding to UTF-8 (because browsers usually don't say that the data they send is UTF-8 encoded - there are been many discussions on that topic on this list). Please keep us updated about your project; I would be curious to know about the performance, if you really go to using the databas

Re: Where to store and how to retrieve Images for web app

2004-12-01 Thread Guillaume Cottenceau
age content when giving a proper id. -- Guillaume Cottenceau - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: disable validation of validator.xml & validator-rules.xml

2004-12-01 Thread Guillaume Cottenceau
s down, > then code > Won\t work. (meaning, I am using WAS Studio, and it complaints that it > cannot validate the two files... and without tht I cannot build my > webapp..) > > Any help? Substitute the URL pointing to the DTD by a URI pointing

Re: UTF-8 encoding in html form

2004-11-30 Thread Guillaume Cottenceau
there is something which reads input before you set the request encoding. > In the case where I have a non-multipart form, I have consistently > gotten suitable results simply by making sure that the form page is > delivered to the browser with the character encoding I want to use. Good to know! -- Guillaume Cottenceau - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: UTF-8 encoding in html form

2004-11-30 Thread Guillaume Cottenceau
you can try it to specify the encoding of the html page in which you have your form as UTF-8, it seems that mozilla will send GET/POST parameters in UTF-8 in such a case, but that's really a hack and I don't know browse

Re: DTD resolution

2004-11-26 Thread Guillaume Cottenceau
Emmanouil Batsis writes: > Hi, > > My jboss tries to resolve the DTDs for the validator plugin. Can > anyone tell me how to avoid this? Have it locally. See thread: http://thread.gmane.org/gmane.comp.jakarta.struts.user/96922 -- Guillaum

Re: Post Validation

2004-11-24 Thread Guillaume Cottenceau
you were answering (the References: header) in the email you send, therefore it appears inside the appropriate thread when we receive the message, instead of at top of a new thread, which is misleading. -- Guillaume Cottenceau - To unsu

Re: Validator : network unreachable

2004-11-24 Thread Guillaume Cottenceau
u're paranoid about connections behind your back, you can log every connection attempt with an appropriate setting of netfilter in your kernel. -- Guillaume Cottenceau - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: XTag problem

2004-11-24 Thread Guillaume Cottenceau
t;, this will make the sentence correct, and your signature look way more awesome. -- Guillaume Cottenceau - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: XTag problem

2004-11-24 Thread Guillaume Cottenceau
ant/WEB-INF/jsp/jrun__employeelist2ejsp > 11.java": > > 85. _tag1.setReader( xml ); > <> > *** Error: No match was found for method "setReader(java.lang.String)". ^^ -- Guillaume Cottenceau --

Re: using JSTL with struts (stupid question?)

2004-11-17 Thread Guillaume Cottenceau
"Gareth Meyrick" writes: > hi, > > Guillaume Cottenceau wrote: > > > > Any place to check where this feature could be turned off > > inadvertandly? > > try inserting the page directive > > <%@ page isELIgnored="false" %> >

Re: using JSTL with struts (stupid question?)

2004-11-17 Thread Guillaume Cottenceau
Guillaume Cottenceau writes: > Wendy Smoak writes: > > > From: "Neil Erdwien" <[EMAIL PROTECTED]> > > > The ability to use "${expr}" in the text of a JSP page is new to JSP > > > 2.0. Does your container support JSP 2.0? Tomcat 5 does,

Re: using JSTL with struts (stupid question?)

2004-11-17 Thread Guillaume Cottenceau
#x27;re not on JSP 2.0, then try: > > (Assuming the 'user' object has a 'getLogin' method.) Yes, that does work. However, this much longer than I expected :) Still, as I'm using tomcat-5.0.27, I guess I should be able to use the shorter form. Any place to check where

Re: using JSTL with struts (stupid question?)

2004-11-17 Thread Guillaume Cottenceau
Neil Erdwien writes: > The ability to use "${expr}" in the text of a JSP page is new to > JSP 2.0. Does your container support JSP 2.0? Tomcat 5 does, > Tomcat 4 doesn't. Ah. My container tomcat-5.0.27 so I guess it should.. -- Guillaume Cottence

Re: Using commons HttpUtils to call an Action, but it doesn't work.

2004-11-17 Thread Guillaume Cottenceau
equest.getRequestURL().toString(); > String webAppUrl = requestUrl.substring(0, requestUrl.lastIndexOf("/") ); > String loadStateFormsUrl = webAppUrl + "/initAction.do"; > > HttpClient client = new HttpClient(); This is not a thread-safe HttpClient. Any chance the code

using JSTL with struts (stupid question?)

2004-11-17 Thread Guillaume Cottenceau
he user "test" logged in, renders as: -=-=---=-=---=-=---=-=---=-=---=-=-- 1 2 3 4 5 6 7 8 9 10 loggedin as user: ${user.login} test -=-=---=-=---=-=---=-=---=-=---=-=-- Any help would be appreciated. And sorry again if this is real stupid.. -- Guillaume Cottenceau - http://zarb.org/~gc/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] [Way OT] recommended site to pick up a cheap computer and flat panel?

2004-11-15 Thread Guillaume Cottenceau
nd sorry for > the lazy OT post, but I need to order this stuff real soon. You want us to select a site which runs Struts? -- Guillaume Cottenceau - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AW: problem with unicode

2004-11-15 Thread Guillaume Cottenceau
th what you explain. > My character table says \u0119 is ? and not ê. My > test-html-file contains ê, but ? was displayed. But if I use > message tag it is wrong. Please note that "ê" was just an example in latin1. -- Guillaume Cottenceau -

Re: problem with unicode

2004-11-15 Thread Guillaume Cottenceau
uot; > t.p [EMAIL PROTECTED] /tmp] native2ascii -encoding latin1 -reverse t.p \u0119 - ê Check the html sourcecode in the browser to see what's actually being transmitted. Verify the encoding/charset specified in the document he