Well, how do the files compare to each other? Is one longer by a byte, a lot of bytes,
did it do \n - \r\n conversions on you, or what?
-Original Message-
From: Tingleff, Sam [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 12:24 PM
To: '[EMAIL PROTECTED]'
Subject: File
safe?
-Original Message-
From: Jeff Martin [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 5:56 PM
To: Struts Users Mailing List
Subject: RE: Formatting Dates, Integers...
Be very careful about using DateFormatter's that way. I learned a hard
lesson in a previous
Be very careful about using DateFormatter's that way. I learned a hard lesson in a
previous project that DateFormater (and even just the format method) is not thread
safe.
Jeff
-Original Message-
From: Peter Pilgrim [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 7:23 AM
I earlier JDKs (1.0, 1.1), reflection was slow. Since java 1.2, reflection is fine.
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 22, 2002 11:34 AM
To: Struts Users Mailing List
Subject: Re: using struts for larger apps
Reflection will likely
Yes, html:messages should be missing from 1.01. The messages is a new tag that is not
included in the 1.01 bug fix version, only in the nightly builds and what will be
struts 1.1.
-Original Message-
From: Hai Hoang [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 19, 2002 6:32 PM
To:
Out of curiosity, does % mybean=bar; % work?
Jeff
-Original Message-
From: Moritz Petersen [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 11, 2002 12:47 PM
To: Struts Users Mailing List
Subject: RE: multipe bean:define's in one page?
That's what I've thought. But there must be a way
Another way to get this would be to have defined the scope of the action (in
struts-config.xml) to application instead of request or session.
Jeff
-Original Message-
From: Chris Birch [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 08, 2002 5:36 AM
To: Struts Users Mailing List;
Is there any other data on the form that needs posted when they click the button? If
not, you could make a separate form for just that button. If yes, I (like many) use
a hidden variable in the form to hold the action (or button name, etc) that they
clicked on, and set a separate forward for
You're close but not quite correct.
As an optimization, Netscape 4.x busy-waits for the response from the web server. When
the web server/servlets/JSPs/etc and Netscape are on the same box, Netscape's
busy-waiting (as the foreground application) will suck up almost all available cpu
time from
What kind of error do you mean? Does it parse and validate against the provided DTD?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 2:14 AM
To: Struts Users Mailing List
Subject: struts-config.xml-Is there a tool to find errors in
I had something like this the other night. I figured out that tomcat had
saved the servlet generated off of my JSP and was checking the
last-modified times between the servlet and the JSP file (like it
should). The problem was that I was doing tag development and thus had
to touch the JSP file
Have you tried putting the contentType in the JSP page directive like I
had previously suggested? The html spec at http://www.w3.org/TR/html4/
section 5.2.2 says:
To sum up, conforming user agents must observe the following
priorities when determining a document's character encoding (from
Are you sure it has found the file? If, for example, you change the
Chinese to English (i.e. expression_input.ok=ok), does the ok come
out?
If yes, does Chinese have to be quoted or somehow escaped within the
file? Also, check that you are setting the page content type correctly
(%@ page
This is a HUGE source of user error. Is there a chance we can make
html:errors work WITHOUT the special properties in the
ApplicationResources.properties file?
-Original Message-
From: Jonathan James [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 10, 2001 8:40 AM
To: Struts Users
On a similar topic, what is the recommended way to move data from the
form beans [subclass of ActionForm] to my business objects. Is it:
A) in each getter and setter, such as:
No member variables
public String getFirstName() { return customer.getFirstName(); }
public void setFirstName(String
Along those lines, is there a struts debug var (in the servlet's config
params for example) that will print/log messages when it gets a request
param that it can't map to an ActionForm setter? It seems this would be
very helpful when developing pages. Optimally, output could look
something like:
Send them to an html page with a meta-refresh tag to automatically
transfer him to the pdf-generating page.
-Original Message-
From: Frédéric Houbie - ABSIS-GROUP [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 10:09 AM
To: Struts-User
Subject: Quickly change page to prevent
Exactly. Forward them to a JSP page that looks like:
html
head
META HTTP-EQUIV=Refresh CONTENT=0;
URL=http://pdf_generating_servlet_or_jsp; /
/head
body
Some nice please wait message here.
/body
/html
Note the odd quoting of CONTENT and URL is intended. The browser will
display this temporary
You make an Action error with error.detail but your messages file has
errors.detail?
Jeff
-Original Message-
From: Strichartz, Beth [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 2:11 PM
To: Struts Users Mailing List
Subject: RE: Help with Html errors not showing errors
I
19 matches
Mail list logo