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
-
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
>
> ---------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional command
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
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
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
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.
sgroup.com/?l=struts-user&m=110175805321521
--
Guillaume Cottenceau
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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]
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
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,
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
"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
"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
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
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
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]
"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?
--
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
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]
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
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
age content when giving a proper id.
--
Guillaume Cottenceau
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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]
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
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
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
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]
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]
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
--
"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" %>
>
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,
#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
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
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
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]
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]
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
-
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
39 matches
Mail list logo