Re: Where Is a Proper Place To Store TEMPORARY Files?

2004-10-18 Thread Shinobu Kawai
Oops... I meant > I usually use System.getProperty("java.io.tmpdir"). http://java.sun.com/j2se/1.5.0/docs/api/java/lang/System.html#getProperties() Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED]> -

Re: Where Is a Proper Place To Store TEMPORARY Files?

2004-10-18 Thread Shinobu Kawai
the application OKay? I usually use System.getProperty("java.io.tmpdir"). http://localhost/java/jdk1.5.0/docs/api/java/lang/System.html#getProperties() Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED]>

Re: Using the checkbox tag with java.lang.Boolean

2004-10-15 Thread Shinobu Kawai
s no way of telling that a checkbox was unchecked. Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ActionError deprecated but ActionForm validate() uses ActionErrors

2004-10-14 Thread Shinobu Kawai
tionMessages.html Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Null after error message

2004-10-14 Thread Shinobu Kawai
nd the other resources stated at http://struts.apache.org/userGuide/struts-html.html#errors Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: how to send an email

2004-10-13 Thread Shinobu Kawai
a lot easier. ;) Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: linefeeds in html:textarea causes blank screen when submitted

2004-10-05 Thread Shinobu Kawai
me with plain old HTML, and still get the same problem, I'd suspect there is a bug in your browser. Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: linefeeds in html:textarea causes blank screen when submitted

2004-10-03 Thread Shinobu Kawai
xample in your struts-examples.war work? Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: 1000 separator

2004-10-03 Thread Shinobu Kawai
uts-bean.html#write If so, you can find examples in the struts-examples.war. struts-examples.war/exercise/bean-write-2.jsp Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED]> - To unsubscribe, e-ma

Re: map-backed ActionForm

2004-09-06 Thread Shinobu Kawai
is null. Are you explicitly setting it via setEnten()? If so, where? If not, set it before you use it. (Or you can just initialize it on object creation.) Best regards, -- Shinobu Kawai -- Shinobu Kawai([EMAIL PROTECTED])

Re: ActionForm: simply calling reset() or have to recreate one ?

2004-09-01 Thread Shinobu Kawai
Hi Paul, > You don't event need that. As I said - servlet is a protected instance > variable of Action, so you can just use 'servlet' in code in your Action > desdendants. I wonder why it's not private? Not very encapsulated... Best regards, -- Shinobu Kawai -- Sh

Re: How long is Action's scope?

2004-08-31 Thread Shinobu Kawai
/web-app/session-config/session-timeout. Sorry, I forgot the default value. Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Wrong ActionMessage formatting

2004-08-30 Thread Shinobu Kawai
ything? Check out the "filter" attribute in bean:write. http://struts.apache.org/userGuide/struts-bean.html#write > > > Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]> --

Re: how to reset form

2004-08-26 Thread Shinobu Kawai
Form.html#reset(org.apache.struts.action.ActionMapping,%20javax.servlet.http.HttpServletRequest) Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Re: override actionerrors header

2004-08-25 Thread Shinobu Kawai
bundle" attribute will suffice. http://struts.apache.org/userGuide/struts-html.html#errors Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL P

Re: Struts 1.2 - ActionForm.validate(...)

2004-08-25 Thread Shinobu Kawai
... Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: checkbox is not correct setted in ActionForm

2004-08-24 Thread Shinobu Kawai
h the same ActionForm's, then THAT's something strange.) Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Catching MaxLengthExceededException

2004-08-22 Thread Shinobu Kawai
o be an elegant solution. I want to catch it somewhere in the > code and log information about the user. This is the stack trace. If you are using Servlet 2.3 or higher, you could do it in a filter. Otherwise, sub-classing ActionServlet should work. Best regards, -- Shinobu Kawai -- Shi

Re: Tiles set up

2004-08-22 Thread Shinobu Kawai
ld be and the Struts > stuff alone works OK. Are you saying that it works if you change to ? I'm pretty uncomfortable with the "/do" prefixing the "/login" in your html:link tag (not that I've tried it). Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: setting a collection in my form bean usin iterate or forEach

2004-08-22 Thread Shinobu Kawai
ng me mad! I have heard that Map-backed ActionForms works in those cases. http://struts.apache.org/userGuide/building_controller.html#map_action_form_classes Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PR

Re: Problem:Tiles

2004-08-20 Thread Shinobu Kawai
Hi Mike, > > > > > > > > > I write in my jsp file > > > > > > > > when preview this jps ,why I see a blank page? Try setting a path in your definition. Best regards, -- Shinobu Kawai --

Re: Toomany Client-side validation code!!!

2004-08-19 Thread Shinobu Kawai
false and staticJavascript is set to true then only the static JavaScript will be rendered". Put this in a separate JSP and include that JSP in all of your other JSP's. > >Take a look at > >http://struts.apache.org/userGuide/struts-html.html#javascript > >2nd paragr

Re: questions about tiles

2004-08-19 Thread Shinobu Kawai
ttp://struts.apache.org/userGuide/struts-tiles.html#putList Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Toomany Client-side validation code!!!

2004-08-19 Thread Shinobu Kawai
ook at http://struts.apache.org/userGuide/struts-html.html#javascript 2nd paragraph gives you the answer. Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]> - To unsubscribe, e-mail:

Re: [OT] Date Localization

2004-08-19 Thread Shinobu Kawai
Servlet API. I can think of two solutions at the moment: 1. map users to time zones 2. map locales to time zones Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]> - To unsubscribe, e-

Re: test

2004-08-11 Thread Shinobu Kawai
Hi all, > test You know what? I was thinking about that too. ;-) http://sourceforge.net/project/showfiles.php?group_id=39190 # Haven't really got the knack of it yet, though... Have fun, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED], [EMAI

Re: [OT] HTML and Email Client: Eudora

2004-08-11 Thread Shinobu Kawai
n my advise is to encourage those people not to send them. Makes everybody happier that way. cf. http://jakarta.apache.org/site/mail.html Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]>

Re: System.out.println

2004-08-05 Thread Shinobu Kawai
j, you can Logger#setLevel() to change logging level at runtime. Never wanted to, though... Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PR

Re: System.out.println

2004-08-05 Thread Shinobu Kawai
f. And /that/ is when I would consider the trade off and clutter my code. :) if (debug) { System.out.println(veryComplicatedObject.veryExpensiveToString()); } // Of course, I use commons-logging instead. Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED], [

Re: System.out.println

2004-08-05 Thread Shinobu Kawai
/logging/api/org/apache/commons/logging/Log.html Of course, you have to measure to be sure about performance, ;) Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]> - To unsubscribe, e

Re: logging

2004-07-12 Thread Shinobu Kawai
the comment on http://logging.apache.org/log4j/docs/api/org/apache/log4j/PatternLayout.html about performance issues. Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]> - To un

Re: logging

2004-07-11 Thread Shinobu Kawai
tion or some other way > so that no need to pass the method name while logging the message ..??? I believe this is a log4j issue. Take a look at http://logging.apache.org/log4j/docs/api/org/apache/log4j/PatternLayout.html and you should see "some other way". ;) Good luck! -- Shino