Fw: prob in reading from property file

2002-12-26 Thread Sathish
i got it guys, since am using IBM VAJ's WTE, and had imported my pkg along with resource old prop file, the appln was reading the old one only.after deleting it from VAJ, it works now. thanks. Sathish. - Original Message - From: Sathish To: Struts Users Sent: Friday, December 27, 200

prob in reading from property file

2002-12-26 Thread Sathish
hi, in my jsp i have in the property file am having the line EMSA42.PERMITTYPECODE=PERMITTYPECODE am using struts1.0 and have all the necessary classes in the app. places. am getting the exception, javax.servlet.jsp.JspException: Missing message for key EMSA42.PERMITTYPECODE unable to unders

Best Practice for Forwarding to a Tile?

2002-12-26 Thread Matt Raible
I have all my pages stores as definitions in a tiles-config.xml file. I want to setup global-forwards that will route a user to a definition. The two ways I've found that work are: 1. Adding a forward that points to a ForwardAction that has the definition name as a parameter. 2. Use a DefaultA

Re: Bean problems

2002-12-26 Thread Daniel Jaffa
public String getgeozoneID() ***888 this should be public String getGeozoneID() ** public void setgeozoneID(String geozoneID) * this should be public void setGeozoneID(String geozoneID) *** - Original Message - From: "David Rothschadl" <[EMAIL

RE: Bean problems

2002-12-26 Thread David Rothschadl
I have tried setting things up right, using all combinations that I can think of, but I still get the error, Error Message: No getter method for property geozoneID of bean org.apache.struts.taglib.html.BEAN Here is what I have now.. Relevant code from the JSP: blah, blah, blah, H

Re: Bean problems

2002-12-26 Thread mxranga
Try "geoZoneID" on your form. It is trying to look for "getGeozoneID( )" and "setGeozoneID( )" methods. Manju David Rothschadl

Re: Bean problems

2002-12-26 Thread Dan Tran
Your set/get method should be set/getGeozoneID Or change your JSP to set property as geoZoneID - Original Message - From: "David Rothschadl" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, December 26, 2002 11:34 AM Subject: Bean

RE: Bean problems

2002-12-26 Thread Karr, David
The property represented in your ActionForm is "geoZoneID", not "geozoneID". You have to make sure your case references match. > -Original Message- > From: David Rothschadl [mailto:[EMAIL PROTECTED]] > > Hello, > > I have created the action form that contains the getter > method for a

Bean problems

2002-12-26 Thread David Rothschadl
Hello, I have created the action form that contains the getter method for a property geozoneID, but when I try to run my project on the local server, I keep getting the error message: Error Message: No getter method for property geozoneID of bean org.apache.struts.taglib.html.BEAN Here is th

RE: Securing a download

2002-12-26 Thread Sandra Cann
You can find source code in Expresso (open source) that is based on Struts to secure a download at www.jcorporate.com. In the Expresso demo (admin UI) have a look at the security link then scroll down to the bottom of the form to where it says "Download File Definitions". There is also a Download L

RE: [Declarative Exception] How to access the exception text

2002-12-26 Thread Karr, David
The Exception object is just that, an object. If you want to call methods on it to pull information out of it, you can. You can call the "printStackTrace()" method to store the stack trace on a stream or writer (like a "StringWriter"). > -Original Message- > From: Jerry Jalenak [mailto

RE: DynaValidatorForm vs. DynaValidatorActionForm ?

2002-12-26 Thread Jerry Jalenak
DynaValidatorForm requires you to use the form bean name in your validator-rules.xml; DynaValidatorActionForm allows you to use the name of your action in your validator-rules.xml. I tend to use DynaValidatorActionForm since I use a fairly course-grained form bean; this allows me to only validate

Re: Problem with multi elements in a Jsp?

2002-12-26 Thread Richard Yee
Frank, The problem is that you can't have nested forms in an html page. It is not a JSP problem. As I see your JSP page, you've got two html forms inside a third form. You should reorganize your form and remove the two inner forms. You need to use a single form with multiple submit buttons. You can

DynaValidatorForm vs. DynaValidatorActionForm ?

2002-12-26 Thread otisg
Hello, I am looking at the Javadoc for DynaValidatorForm and DynaValidatorActionForm: http://jakarta.apache.org/struts/api/org/apache/struts/validator/DynaValidatorForm.html http://jakarta.apache.org/struts/api/org/apache/struts/validator/DynaValidatorActionForm.html I am wondering what exactly t

RE: [Declarative Exception] How to access the exception text

2002-12-26 Thread Jerry Jalenak
David - thanks for the reply. Using the 'o.a.s.a.EXCEPTION' in a gives me the basic exception (i.e. java.lang.NullPointerException). It would be nice to be able to provide additional information - stack trace or something similar. Do I need to write a custom ExceptionHandler to do this? Jerry

Problem with multi elements in a Jsp?

2002-12-26 Thread MINIER Frank
Hi, I have an error with a Jsp which has 2 ... tags... javax.servlet.ServletException: Cannot find bean under name org.apache.struts.taglib.html.BEAN at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:471) at org.apache.jsp.Test2MultiForms$jsp._

RE: [Declarative Exception] How to access the exception text

2002-12-26 Thread Karr, David
Unfortunately, the only thing that is really clear about this is the code (AFAICS). The default exception handler will put the exception into request scope under the key symbol "Globals.EXCEPTION_KEY", which is the string "org.apache.struts.action.EXCEPTION". > -Original Message- > Fro

[Declarative Exception] How to access the exception text

2002-12-26 Thread Jerry Jalenak
In my struts-config I have a defined to handle java.lang.Exception: On this page I want to be able to display the text from the exception (i.e. e.getMessage()). How can I get access to this? TIA! Jerry Jalenak Web Publishing LabOne, Inc. 10101 Renner Blvd.

RE: Data Access Objects

2002-12-26 Thread Deepika Malik
Hi, How can i get actionmappings object in my perform method. basucally i want to find out the form bean associated with an action object other than the one which has been currently invoked. please advise...thanks in advance, Deepika -- To unsubscribe, e-mail: For a

Re: Data Access Objects

2002-12-26 Thread Steve Muench
The best tool I know for the job is Oracle's Business Components for Java J2EE framework. It gives you a complete framework for building the business objects layer for your Struts application, provides built-in persistence handling for your business objects, and provides convenient data access com

RE: Data Access Objects

2002-12-26 Thread BASKANT
> -Original Message- > From: Alireza Fattahi [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 26, 2002 9:35 AM > To: 'Struts Users Mailing List' > Subject: Data Access Objects > > > Hi, > > Maybe I can not ask it here, but did any of you guys use any tools for > creating Data Access