Errors resolving html:text property attribute

2004-03-24 Thread McClung, Brian
I've tracked down the internal PD error message to the use of a bean within a bean within a bean. For some reason, html:text is no longer able to handle the following statement: html:text name=regForm property=user.user.userName / It is able to handle: html:text name=regForm

Internal error while merging PD's

2004-03-23 Thread McClung, Brian
I recently started getting this exception on code that had been working before. I have checked that the get method and set method return and accept the same type (in this case a String). I saw the earlier post indicating that the accessor methods had been mismatched, but in this case I have

RE: referrer url

2004-03-23 Thread McClung, Brian
Careful doing this. If an end user is running a personal firewall or has very high security settings, the referrer may not be set. In this case your application will need a back up plan in order to build the appropriate URL. Brian McClung -Original Message- From: MOHAN RADHAKRISHNAN

RE: ActionClass

2004-02-24 Thread McClung, Brian
- From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 4:55 PM To: Struts Users Mailing List Subject: RE: ActionClass are you saying about getRequestURL()? can you shed some light on it?? -R -Original Message- From: McClung, Brian [mailto:[EMAIL

RE: ActionClass

2004-02-23 Thread McClung, Brian
I have created a Dynamic Action class (DynaAction) that allows a page to define where resulting action states should go. You can define defaults within the actual action or struts-config.xml and then override at the page level. The one drawback that I have seen is that since you are defining

RE: ActionClass

2004-02-23 Thread McClung, Brian
informationjust curious that is it possible to identify the request url and executure block wrt that url and return the result back to that url **without using DynaAction and DispatchAction but I still wanted use simple Action class. -R -Original Message- From: McClung, Brian [mailto:[EMAIL

RE: Advantages of Struts?

2003-12-05 Thread McClung, Brian
The property file usage works well if you have an application that is deployed once and doesn't change that often. Also if there aren't several apps running off the same domain. In my case it doesn't work well because there is so much information that changes, potentially from day to day, that

RE: Disadvantages of Struts?

2003-12-04 Thread McClung, Brian
Robert, I've gone to the opposite extreme as you. I don't want the action to be responsible for where it goes, only for telling users which forward states it supports. I've removed the forward from both the Action and the struts-config.xml file. The action still returns the forward, but the

RE: Advantages of Struts?

2003-12-04 Thread McClung, Brian
/death-to-dynabeans.html I consier them a not as good as form beans, they are harder to unit test among other things. .V McClung, Brian wrote: Robert, I've gone to the opposite extreme as you. I don't want the action to be responsible for where it goes, only for telling users which forward

A Dynamic Action handler Opinons wanted.

2003-11-24 Thread McClung, Brian
I've been using struts for over two years now and enjoy the benefits that it has brought to my code. An issue that I have always had with it is the struts-config.xml file. We have a custom built registration and survey system that struts is the controller for. The backend engine supports most

Known issues with JDK1.4.1_01 and struts 1.1b2

2002-11-27 Thread McClung, Brian
I've scanned the previous messages and I know that most of the responses have been there are no issues, but I'm having a problem with a nested optionscollection pulling information. Are there any known issues between the two that anyone has encountered? Thanks for your help. Brian McClung

RE: Known issues with JDK1.4.1_01 and struts 1.1b2

2002-11-27 Thread McClung, Brian
PROTECTED] Subject: Re: Known issues with JDK1.4.1_01 and struts 1.1b2 I'm running 1.4.1 and 1.1b2 just fine. You should post a question related to your actual problem for help :-). David From: McClung, Brian [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED

RE: Known issues with JDK1.4.1_01 and struts 1.1b2

2002-11-27 Thread McClung, Brian
? -Original Message- From: McClung, Brian [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 3:14 PM To: '[EMAIL PROTECTED]' Subject: Known issues with JDK1.4.1_01 and struts 1.1b2 I've scanned the previous messages and I know that most of the responses have been there are no issues, but I'm

using logic tags and ApplicationResources values

2002-01-24 Thread McClung, Brian
I have a need to validate whether a Resource has a value associated with it. I was hoping to use the logic:messagesPresent tag but it I can't seem to get it to read from the bean:message tags. How do I nest the bean:message tag into another tag set so that the returned value of the tag is

RE: Leading slash '/' in URLs

2001-11-17 Thread McClung, Brian
I tried removing all of the / in both my actions and in the jsp pages. Now I get an error for each jsp page stating that it can't find /login. I have verified that there is no reference to /login in my page or struts-config file. Where in my web.xml file would I look to make sure I have

RE: How to customize the way Validation Error is display

2001-10-05 Thread McClung, Brian
Where do I get hold of the messages tag? I've looked in my struts-html.tld file but it isn't there? Which version is it located in? Thanks Brian McClung -Original Message- From: David Winterfeldt [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 04, 2001 1:01 PM To: [EMAIL PROTECTED]

RE: How to customize the way Validation Error is display

2001-10-05 Thread McClung, Brian
: Re: How to customize the way Validation Error is display I think you can use a factory for this. Have a look in ActionServlet.initApplication() for more detail... And do not forget to have a good WE ;-)) - Original Message - From: McClung, Brian [EMAIL PROTECTED] To: [EMAIL

Single form made from multiple form objects

2001-09-25 Thread McClung, Brian
I have a form that combines elements from mulitple form elements, some of which are represented as vectors within the main form. When I try to access some of the getters that are nested within the main form struts is not building the get reference correctly. Has anyone tried to do this? Does

Compiliation issues

2001-09-04 Thread McClung, Brian
I am running the latest version of Resin. I am able to precompile a page using the /resin/bin/httpd.sh -e command but the page will not autocompile. Has anyone encountered this problem before? I am getting the following Servlet Exception: java.lang.NoSuchMethodError at

Servlet Exception

2001-08-29 Thread McClung, Brian
I am trying to verify an installation with the struts-blank app. I am getting a 500 Servlet Exception at the taglib descriptor: The message is: /struts-blank/index.jsp:2: org.apache.struts.taglib.bean.CookieTei I'm using Resin2.0.1. I've seen this before but I don't know how I got it to go

RE: Running The Struts Example Application

2001-08-29 Thread McClung, Brian
I'm seeing the same error message running under Resin2.0.1. The odd thing is that the app works just fine on my development box (W2K running resin2.0.1) but when I move it over to the test environment (Redhat 7 running resin2.0.1) it doesn't work. I've tried recompiling and that doesn't seem to