RE: Best way of implementing application-specific config objects

2003-06-27 Thread Josh Rayls
e in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. Josh Rayls <[EMAIL PROTECTED]> 27/06/2003 11:53 Please respond to "Struts Users Mailing List" To: 'Struts Users Mailing List' <

RE: Best way of implementing application-specific config objects

2003-06-27 Thread Josh Rayls
I have my config factory's init method called in an init servlet as defined in the web xml. I also have a dev admin portion of the web app that has useful actions for reinitializing key components of the system. It's particularly useful in a development environment. So try initializing it in a s

RE: how to access hidden field value

2003-06-13 Thread Josh Rayls
You can't (assuming you mean actually accessing the ). You could always set the value into a page scoped variable with JSTL: -Josh -Original Message- From: Kommana, Sridhar [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 5:16 PM To: Struts Users Mailing List Subject: how to acces

RE: Newbie- needs help again!!

2003-06-13 Thread Josh Rayls
+1 For the O'Reilly book. That's a great one. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 8:34 AM To: 'Struts Users Mailing List' Subject: RE: Newbie- needs help again!! Get Monson-Haefel's "Enterprise JavaBeans, 3rd ed." (O'Reilly 2002)

RE: [OT] Java Trivia

2003-06-12 Thread Josh Rayls
Doesn't compile for me either. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:28 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Java Trivia yes it will - I've been doing it all morning. -Original Message- From: David Gr

RE: unit test in presentation layer

2003-06-11 Thread Josh Rayls
Check out the StrutsTestCase for JUnit from SourceForge. http://strutstestcase.sourceforge.net/ -Josh -Original Message- From: Peng Zhao [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 7:31 PM To: [EMAIL PROTECTED] Subject: unit test in presentation layer As the presentation lay

RE: need all info. regd Tags in Struts..

2003-06-11 Thread Josh Rayls
If you're wanting to use EJB, you'll need to add an app server like JBoss to the equation. Tomcat is only a servlet/JSP container. http://www.jboss.org -Josh -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 8:21 AM To: Struts Users Mailing Li

RE: Loop In JSP Page

2003-06-11 Thread Josh Rayls
Create a Map in your action class, put it into the request, and then use the html:select tag. Specify the collection as the one you put into the request. -Josh -Original Message- From: Anurag Garg [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 7:11 AM To: Struts Users Mailing L

RE: Checkbox problem?

2003-06-10 Thread Josh Rayls
public ... execute (..., , ) { BeanUtils.setProperty(actionForm, "checkboxPropertyName", "true" ) } or something similar, I believe. -Josh -Original Message- From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 3:38 PM To: Struts Users Mailing List Subj

RE: html:errors tag lost?

2003-06-10 Thread Josh Rayls
I believe the answer to your question is that a redirect causes a new request to be made. Because of this, the errors object in your request is gone. It was a part of the old request. When redirect is set to false, it's merely forwarding a request and therefore keeping all of the attributes inta

RE: Using Bean Tag inside html Tag. Urgent

2003-06-09 Thread Josh Rayls
You can't nest tags as properties in other tags. -Josh -Original Message- From: Anurag Garg [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 11:20 AM To: [EMAIL PROTECTED] Subject: Using Bean Tag inside html Tag. Urgent Hi, I am facing problem in using tag inside .

RE: struts-el question

2003-06-04 Thread Josh Rayls
Is there a property in class MyForm named "columns"? -Josh -Original Message- From: David Chelimsky [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 6:52 AM To: Struts Users Mailing List Subject: Re: struts-el question Can you post the block using tags and the error? Matthew Va

RE: out-of-memory exp

2003-06-04 Thread Josh Rayls
You could raise the memory size of your VM via the -Xms128m -Xmx128m arguments. It's just Weblogic, the memory hog, telling you that it has run out of memory. It seems to me that there's some sort of memory leak when hot deploying. -Josh -Original Message- From: Nagendra Kumar O V S [

RE: Collection Implementation

2003-06-03 Thread Josh Rayls
Don't use class scoped variables. Only use local variables on the stack, and everything will be fine. Generally speaking, you're returning a new Collection for each request anyway. In that case, each user will still have their own copy of the Collection. -Josh -Original Message- From

RE: Collection Implementation

2003-06-03 Thread Josh Rayls
Do you specifically need a synchronized Collection? If not, then it's needless overhead. An ArrayList will be faster than a Vector. A Vector is synchronized, while an ArrayList is not. As for which implementation of Collection to use, there are many different reasons for using various types of

RE: [OT] slackers

2003-05-30 Thread Josh Rayls
Don't forget Otter Creek, Rapscallion, and the Cambridge Brewing Company! :) -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 8:46 AM To: Struts Users Mailing List Subject: Re: [OT] slackers Mark Galbreath wrote: > Hey! Don't forget those slacker

[OT] RE: [ANN] Barracuda 1.2.0 Released!

2003-05-28 Thread Josh Rayls
I don't suppose it was Kurtz Shiraz from the Barossa Valley, was it? (Although McCrea is pretty good as well!) That is most certainly one of my favorite Aussie wines. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 1:38 AM To: 'Struts Users M

RE: Indexed Properties with DynaActionForm Problems

2003-03-18 Thread Josh Rayls
happens at the point of the error (and before). > -Original Message----- > From: Josh Rayls [mailto:[EMAIL PROTECTED] > > Hello, > > I have been struggling with this for a couple of days now. I've scoured > the > archives from top to bottom, and I've

RE: Indexed Properties with DynaActionForm Problems

2003-03-18 Thread Josh Rayls
truts tags, just Struts-EL. > -Original Message- > From: Josh Rayls [mailto:[EMAIL PROTECTED] > > I have been struggling with this for a couple of days now. I've scoured > the > archives from top to bottom, and I've found some useful tidbits, but > nothing

RE: Indexed Properties with DynaActionForm Problems (forgot versions)

2003-03-18 Thread Josh Rayls
JDK 1.4.1 Struts 1.1 Nightly JSTL 1.0.3

Indexed Properties with DynaActionForm Problems

2003-03-18 Thread Josh Rayls
Hello, I have been struggling with this for a couple of days now. I've scoured the archives from top to bottom, and I've found some useful tidbits, but nothing that directly addresses my dilemma. Then again, maybe I'm just not getting it! I get an IndexOutOfBoundsException each time. I want to

RE: Rendering in XHTML

2003-03-03 Thread Josh Rayls
Thanks. The declaration was choking it. :( That's pretty rediculous. -Original Message- From: Miller, Jason [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 11:31 AM To: 'Struts Users Mailing List' Subject: RE: Rendering in XHTML One other thing I forgot - the XML declaration al

Rendering in XHTML

2003-03-03 Thread Josh Rayls
Hello, I'm having problems getting my browser to render the XHTML properly. My doctype is correct, and my page is well formed. For some reason, when I hit the page, the DOM is shown in IE 6.0. I'm running Struts 1.1 on Weblogic 7.0. Thanks in advance! -Josh

Struts-EL

2003-02-28 Thread Josh Rayls
Hi, Is there a property that I can use to get the size of a collection? Basically, I want to do this: ${resultBean.result.length} Where result is a Collection. Thanks for any help! -Josh