) {
System.err.println(== Error in getting the connection: +
e.getMessage());
---end of code --
--
Rajat Pandit | [EMAIL PROTECTED]
System Analyst
Manchitra Services Pvt. Ltd (www.manchitra.com)
Tel: 011-26232696 / 26232798
Cellphone: 9818247126
B231 / C GK I
New Delhi
11:01
To: Struts Users Mailing List
Subject: db error
Hello All,
i am trying to connect a oracle database, and i get this stack trace, can someone
please tell me what is wrong with it.
!-- stack trace --
javax.servlet.UnavailableException: Initializing application data source
, Chris [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 4:46 PM
Subject: RE: db error
Check your database is up before trying to connect to it. If it is and you
can ping the database from your application server box, then check your
spelling
-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent: 25 March 2004 11:11
To: Struts Users Mailing List
Subject: Re: db error
Thanks chris,
so this is not because of any missing classes or jar files? is this a
connectivity issue? the database server isup and my other applications
sqlplusw can
Hello,
i tried your suggestion but i continue getting the same error.
javax.servlet.UnavailableException: Initializing application data source
org.apache.struts.action.DATA_SOURCE
at
org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.j
ava:1091
Subject: RE: db error
Check your database is up before trying to connect to it. If it is and
you
can ping the database from your application server box, then check your
spelling in the data source definition.
Chris McCormack
-Original Message-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent
can access it.
any pointers?
sorry about read reciept thing in my previous mail.
rajat
- Original Message -
From: McCormack, Chris [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 4:46 PM
Subject: RE: db error
Check your database
From the error log, it seems it's looking for the default logger which
comes with jdk1.4. Have you configured to use a logger like log4j, if
you havn't configured one, then Struts will try to use the logger from
jdk1.4. So, try to configure log4j, or use jdk1.4 to see how it goes.
The following
checked and double checked to make sure that they each match. Any help
would be appreciated.
java.lang.Error: PropertyDescriptor: internal error while merging PDs:
type mismatch between read and write methods
at java.beans.PropertyDescriptor.init(PropertyDescriptor.java:343
Hi ,
Now today I tried it with the Simple Log and tried to run a very simple APP using
in WSAD with Struts 1.1 and the Log file generated following error.
3/23/04 15:58:10:184 EST] 26c486ff ServletEngine A SRVE0169I: Loading
Web Module: Hello.
[3/23/04 15:58:10:512 EST] 26c486ff
a very simple APP using in
WSAD with Struts 1.1 and the Log file generated following error.
3/23/04 15:58:10:184 EST] 26c486ff ServletEngine A SRVE0169I: Loading
Web Module: Hello.
[3/23/04 15:58:10:512 EST] 26c486ff WebGroup I SRVE0091I: [Servlet
LOG]: JSP 1.1 Processor: init
[3/23/04 15:58:10
Message -
From: Jignesh Kapadia
To: Struts Users Mailing List
Sent: Tuesday, March 23, 2004 7:30 PM
Subject: RE: Error while upgrading from struts version 1.0 to 1.1
Hi ,
Now today I tried it with the Simple Log and tried to run a very simple APP
using in WSAD with Struts
Saul:
Run websphere as root or Administrator in Windows
Regards,
Martin
- Original Message -
From: Saul Q Yuan [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 9:05 PM
Subject: Re: Error while upgrading from struts version 1.0 to 1.1
Can you
in Super.init(). Is there anything I need to do other that just realcing the war files when I upgrade the Struts version.
The error file is attached in e-mail.
Thanks and Regards,
JigneshDo you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.*** Starting the server ***
IBM WebSphere
I think you need to recompile your application against the new
Struts.jar file and other jar files it depends on.
Saul
-Original Message-
From: Jignesh Kapadia [mailto:[EMAIL PROTECTED]
Sent: Monday, March 22, 2004 1:55 PM
To: [EMAIL PROTECTED]
Subject: Error while upgrading from
Struts.jar file and other jar files it depends on.
Saul
-Original Message-
From: Jignesh Kapadia [mailto:[EMAIL PROTECTED]
Sent: Monday, March 22, 2004 1:55 PM
To: [EMAIL PROTECTED]
Subject: Error while upgrading from struts version 1.0 to 1.1
Hi ,
I am upgrading my current application from
Kapadia
To: Struts Users Mailing List
Sent: Monday, March 22, 2004 7:52 PM
Subject: RE: Error while upgrading from struts version 1.0 to 1.1
Well,
All the jar files are compiled properly. do we need to add some special
parameter in in Struts-Config.xml file? It seems its looking
th e default one i.e. org.apache.commons.digester.RuleSet.
Also I have moved the MessageResources has been moved from web.xml to struts-Config.xml. From the error I had set earlier. I think its failing in ActionServlet.init().I am attaching the error file again.
Thanks,
Jignesh
Saul Q Yuan [EMAIL
Hello!
Is there a way in Struts to highlight the HTML form field that has an error?
I mean, changing the style class of the form field, for example. Is there
some feature in Struts that can help me?
Thanks,
JP
in Struts to highlight the HTML form field that has an
error?
I mean, changing the style class of the form field, for example. Is
there
some feature in Struts that can help me?
Thanks,
JP
-
To unsubscribe, e-mail: [EMAIL PROTECTED
error form field
You could modify the client-side validation stuff to do this rather
than just alerting.
An easy way of layering this on is to define a compulsory array of
fields and then loop through the form on validation. changing the
borderColor style attribute when you have a match between
I've been thinking about this myself, and the way I plan on doing it is
using
a variation on my usual theme of:
logic:messagesPresent
html:messages id=error
script language=jscriptalert('bean:write
name=error/')/script
/html:messages
/logic:messagesPresent
to using a superior jscript
BaseHandlerTag in struts need
some real refactoring!
hope this helps.
ATTA
- Original Message -
From: Joao Batistella [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 4:25 AM
Subject: RE: Way tho highlight error form field
But, how about server
In your property file after the error message specify BR
For e.g.
Your property file should look like
Validation.err = input data must be entered BR
-Original Message-
From: Jignesh Patel [mailto:[EMAIL PROTECTED]
Sent: Monday, March 15, 2004 1:30 PM
To: [EMAIL PROTECTED]
Subject
-Original Message-
From: Adedokun, Bisi
Sent: Friday, March 12, 2004 3:18 PM
To: '[EMAIL PROTECTED]'
Subject: FW: [Servlet Error]-[No form found under name logonForm,
locale en_US]:
I am getting the following errors when the servlet engine tries to load
resources bundle has a copy of the basic default error messages
like:
errors.required={0} is required.
I have validations like this:
field
property=subject
depends=required
arg0 key=viewEmail.subject /
/field
And display
Anyone has any idea? I haven't seen anyone's reply. Thanks.
-Betty
-Original Message-
From: Betty Koon [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 8:07 PM
To: [EMAIL PROTECTED]
Subject: validator validwhen error
Hi,
I got the following validator error, but not sure why
There's also header and footer properties that you can set to avoid having
this on every line. For instance in our project we display them as a list:
errors.header=font color=redul
errors.prefix=li
errors.suffix=/li
errors.footer=/ul/font
Header goes before the first error
Can anybody guide me how to show server error messages line by line rather
then in a one line.
-Jignesh
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
to highlight error form fields
I have done this by extending the struts html:text tag and using the
stylesheets - its pretty straight forward.
I overrode the getStyleClass() method to do the following:
1) Retrieve the ActionErrors from the request
2) Check if there is an error message for the name
to highlight error form fields
I have done this by extending the struts html:text tag and using the
stylesheets - its pretty straight forward.
I overrode the getStyleClass() method to do the following:
1) Retrieve the ActionErrors from the request
2) Check if there is an error message for the name/property
[EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Saturday, March 13, 2004 10:13 PM
Subject: RE: best way to highlight error form fields
Thanks Niall, I will give it a try, it sounds good :) what about other
HTML input component? Is it doable the same way?
Erez
, 2004 10:26 PM
Subject: RE: best way to highlight error form fields
Sorry but this is quite new to me: how do you use this source code? How
I integrate it? Do I write a TLD file??
Erez
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 13, 2004
Good Day,
I am getting the following errors when the servlet engine tries to load
the index.jsp of the application I'm working on:
OS: W2K, Browser: IE 5.50 App Server: WSAD with WAS Version 5 test
environment
[3/12/04 13:45:25:115 EST] f4bf269 WebGroup E SRVE0026E: [Servlet
Error
Hi all,
I have a form and I am searching for the best way to do the following:
1. In case there were errors found in the form fields, highlight those
fields (using background color of red for example).
2. If there are more than 4 fields with errors, show the user one
compact error saying
, show the user one
compact error saying that he should enter the highlighted fields.
One way I came up with is using logic:messagePresent tag for each
field and changing the style he's using thus highlighting it. Is there a
JSTL equivalent way to perform this?
there's no particularly clean way to do
I have done this by extending the struts html:text tag and using the
stylesheets - its pretty straight forward.
I overrode the getStyleClass() method to do the following:
1) Retrieve the ActionErrors from the request
2) Check if there is an error message for the name/property
3
I totally agree with you, and I am pretty sure I am not the first one to
bump into these issues.
Erez E
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 13, 2004 12:15 AM
To: Struts Users Mailing List
Subject: Re: best way to highlight error form
Hi Friends,
I am using the validator to perform the validations. I am facing the error
while perform such operations. Can anyone please help me regarding this one.
I am having FirstForm conatins phone and email. For that i am
performing the validation using validator.
Please suugest me
Hi Ramachandran:
Here's a suggestion: look at line number 63 of the servlet (in your work directory)
generated by your first.jsp. See what the code there is and that may give you an idea
of what's going wrong.. (seems like a null pointer somewhere, so try to see what may be
null in that line of
Hi all,
I am getting the following error when i tried to run the application.
Cannot find message resources under key org.apache.struts.action.MESSAGE
Can any suggest the solution for it.
regards
praveen
-
To unsubscribe
Betreff: Error in message resources
Hi all,
I am getting the following error when i tried to run the application.
Cannot find message resources under key org.apache.struts.action.MESSAGE
Can any suggest the solution for it.
regards
praveen
Hi Friends,
I am using the validator to perform the validations. I am facing the error
while perform such operations. Can anyone please help me regarding this one.
I am having LoginForm conatins username and password. For that i am
performing the validation using validator.
Please suugest me
Hi,
I got the following validator error, but not sure why.
here is my validator.xml and the exception:
formset
form name=someForm
field
property=email
depends=validwhen,email
arg0 key=email.error_label/
var
var-nametest/var-name
var-value
Hi All,
i wanted to know if it is possible to have multiple error pages in the application,
where two jsps are using the same action servlet and the form bean. the validation in
both are seperate ( NOT JAVA SCRIPT VALIDATION ) and i want them to return to two
different pages in case of errors
the problem is that the string is NOT empty but it validate it as an
empty string.
-Original Message-
From: John Fitzpatrick [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 6:51 PM
To: Struts Users Mailing List
Subject: Re: validating double causes no error on text entry
]
Sent: Thursday, March 04, 2004 9:44 AM
To: 'Struts Users Mailing List'
Subject: RE : validating double causes no error on text entry
the problem is that the string is NOT empty but it validate
it as an empty string.
-Original Message-
From: John Fitzpatrick [mailto:[EMAIL
when I use the validator on the server side to validate a double the
value is converted to 0.0 an no error is reported.
has anyone meet that problem?
I parsed the struts and commons bugzilla lists and didn't found anything
about.
thanks
thomas
Casting an empty String to a double will give you 0.0.
On 20040303 12:10 PM, thomas Sontheimer [EMAIL PROTECTED]
wrote:
when I use the validator on the server side to validate a double the
value is converted to 0.0 an no error is reported.
has anyone meet that problem?
I parsed the struts
From: thomas Sontheimer [mailto:[EMAIL PROTECTED]
when I use the validator on the server side to validate a double the
value is converted to 0.0 an no error is reported.
has anyone meet that problem?
If you use String properties in the ActionForm, you will be able to
detect a blank input
Hi,
What would be the best approach for handling the error messages?
- set in very page %@ page errorPage=error_page.jsp %?
- or to use a global mapping for handling error messages (eg. Session
timeout, db connection broken, etc).
Thanks for any hint.
Julio
/WcNoNc/Query.jsp(575): Non-matching extension tags //[ null; Line:
575]
probably occurred due to an error in /jsp/WcNoNc/Query.jsp line 575:
/html:select
What am I doing wrong? How can I get the text from my property file into one
of the html attributes?
Thanks for your help in advance.
Regards
I would like to be able to map my 404 errors to a specific Struts Action
versus mapping the error directly to a JSP page. However, unless I
configure my Struts Action to forward to a Tiles definition I can't seem to
get this to work. I am working with Tomcat 5.0.19 on Windows XP.
My config
tdhtml:text name=foo
property=time //td
/tr
/logic:iterate
Niall
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 12:11 PM
Subject: error no getter method defined while inside logic:iterate
Hi list,
I am
Hi all,
Assume that I have following struts-config.xml
action path=/receiveLine
type= ReceiveLineAction
input=/receiveLine.jsp
name=receiveLineForm scope=request
forward name=failure path=/receiveLine.jsp
Yes
- Original Message -
From: Marco Mistroni [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 10:51 AM
Subject: validation error in FormBean, where to redirect next?
Hi all,
Assume that I have following struts-config.xml
action
Hi Niall, List
thanks for you answer. I tried out you suggestion (literary and in
several variations), but it does not help: still the same error.
no getter defined.
If you have any other suggestions, I'd be happy.
Otherwise I will just try a workaround which is not such a nice
sollution
(,,,);
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 1:11 PM
Subject: Re: error no getter method defined while inside logic:iterate
Hi Niall, List
thanks for you answer. I tried out you suggestion (literary
/
where dateform is the name of my action form, and rawRecord is
the array in which the RawRecord beans reside.
However, as soon as I put this inside a logic:iterate loop, all
goes wrong: I get the following error:
No getter for property time of bean
org.apache.struts.taglib.html.BEAN
Friends,
When i do this:
select m.name, dm.name
from com.MasterTable as m join com.DetailAndMaster as dm
i get this:
outer or full join must be followed by path expression
Anybody could help me? Does this work or not?
My config files are in the end of this e-mail.
att, Paulo
global-forwards
forward name=error path=/error.jsp /
/global-forwards
in your action you can forward to error in the event that something's
gone pear-shaped.
On 19 Feb 2004, at 01:58, Russ Baker wrote:
I am having a real issue with the way Tiles handles an error page. I
am
setting up
Hi Russ,
I had the same problem and ended up including the error page in the body
of the tiles layout. This way the user could continue in the app, but be
informed that an error occurred. So, all of my body tiles have an error page
directive. If the error occurs elsewhere (header, menu, footer
Hi all,
I am new to the group and new to Struts, working on my first application. I
am using Struts 1.0, and tomcat 4.1.27.
I get the following error:
org.apache.jasper.JasperException: org/apache/struts/action/ActionForm
With root cause
javax.servlet.ServletException: org/apache/struts/action
: Re: FileUploading Error
At 9:35 AM -0500 2/16/04, Mark Shifman wrote:
In trying to bulletproof file uploading I noticed something odd.
If I type some junk in the field for the file name and hit Submit, I get
a file of size 0. I can deal with that. If I type in a directory name
in my home
I am having a real issue with the way Tiles handles an error page. I am
setting up the following jsp directive in the base layout:
%@ page language=java errorPage=/error.jsp %
But when I do this, the page shows the error, something like:
[ServletException in:/somePage.jsp] / divide by zero
TagLib Struts - Found word(s) list error
e-mail in the Text body.
I have started working successfully on the Display TagLib in Struts.
There are no issues except that the export to .xls, .csv format gives
following errors in Tomcat.
Exception
Actually, it's www.displaytag.org, not displaytaglib. :)
Regards,
David
-Original Message-
From: Gagné Jean-Christian [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 8:09 AM
To: 'Struts Users Mailing List'
Subject: RE: [SPAM] - Display TagLib Struts - Found word(s) list error
http://displaytag.sf.net/
On 2004-Feb-17 14:02, Gagn? Jean-Christian wrote:
Sorry to ask this, but where do you get the Display Taglib ? The url
mentionned [www.displaytaglib.org] is not found.
JC
--
Nick Heudecker
System Mobile, Inc.
Email: [EMAIL PROTECTED]
Web:
I tried google, and I found this mailing list's archive :-)
-Message d'origine-
De : Oliver Thiel [mailto:[EMAIL PROTECTED]
Envoyé : mardi 17 février 2004 14:40
À : 'Struts Users Mailing List'
Objet : [SPAM] - [OFFLIST] - Found word(s) list error e-mail
in the Text
body.
Hi
Can't figure out why this code is giving me an error:
import java.io.Reader;
import com.ibatis.common.resources.Resources;
Reader reader =
Resources.getResourceAsReader(properties/sql-map-config.xml);
The error I'm getting is:
java.io.IOException: Could not find resource
And this is struts related how?
-Original Message-
From: Barnett, Brian W. [mailto:[EMAIL PROTECTED]
Sent: 17 February 2004 17:22
To: 'Struts Users Mailing List'
Subject: Could not find resource error
Can't figure out why this code is giving me an error:
import
: Paul McCulloch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 10:26 AM
To: 'Struts Users Mailing List'
Subject: RE: Could not find resource error
And this is struts related how?
-Original Message-
From: Barnett, Brian W. [mailto:[EMAIL PROTECTED]
Sent: 17 February 2004 17:22
error
Good point! :) The only reason it is struts related is because it's
happening my struts app. (A pretty weak link I must admit.) I
suspect it's
more of a general java development environment issue. Got any
good java
development environment issue mailing lists?
-Original
build jars to your servlet
container rather than the struts 1.1 jars?
Niall
- Original Message -
From: Betty Koon [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, February 16, 2004 6:20 AM
Subject: Error Start Tag Exception
Any one has any idea why
Hi all,
I have a form which contains a reset button (html:reset) and
whenever I submit the form and got errors from Action class, it seems
that
the reset button does not work properly, since when I click on it it
does
not reset anything.. no matter if I specify my own custom javascript
this error in my log file.
ERROR 2004-02-13 14:09:18,679 handleRequest(CommonsMultipartRequestHandler.java:241)
Failed to parse multipart request
org.apache.commons.fileupload.FileUploadException: Processing of
multipart/form-data request failed. Stream ended unexpectedly
...
This error seems
thing to type) nothing seems to
happen and I get this error in my log file.
ERROR 2004-02-13 14:09:18,679
handleRequest(CommonsMultipartRequestHandler.java:241)
Failed to parse multipart request
org.apache.commons.fileupload.FileUploadException: Processing of
multipart/form-data request failed
message=false
td class=small3 colspan=2
html:messages id=error message=false
c:out value=${error} escapeXml=false /br /
/html:messages
/td
/logic:messagesPresent
HTH,
Curtis
--
c dot tee at verizon dot net
Betty Koon wrote:
Any one has any idea why this exception happens?
I am using
Subject: Re: Error Start Tag Exception
Hi Betty,
I think you need to set the 'message' attribute to false here, as the tag is
looking for an ActionMessage instance, not an ActionError one (which is what
you
get in the loop created by the html:errors / tag).
Here's a snippet of an implementation
using?
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 17 February 2004 00:13
To: Struts Users Mailing List
Subject: Re: FileUploading Error
At 9:35 AM -0500 2/16/04, Mark Shifman wrote:
In trying to bulletproof file uploading I noticed something odd.
If I
Any one has any idea why this exception happens?
I am using 1.2 nightly build currently.
My jsp is simply using the following:
logic:messagesPresent
html:errors /
/logic:messagesPresent
java.lang.ClassCastException
at
Hi,
My error:
javax.servlet.jsp.JspException: No getter method available for property ids for bean
under name org.apache.struts.taglib.html.BEAN
at org.apache.struts.taglib.html.MultiboxTag.doEndTag(MultiboxTag.java:247)
I do have a getter in my form bean:
private String[] ids
This error was as one of the classes in the project had a mismatch between
the field type and return for the getter.
What's interesting is that the error was not caused when run with jdk1.3.
thank you,
--a
- Original Message -
From: Anand Stephen [EMAIL PROTECTED]
To: Struts Users
Hello All,
I am using validation framework for the validations on the page.
When i click on submit button, it shows me the validations(required
messages) which are required, That's what it is suppose to do. But
unfortunately after clicking on the ok button on the javascript popup
window. The
Has anyone had problems getting the Struts1.1example to work with Tomcat
5.0.18? I have been getting the following errors (only first 2 lines each
shown here, for abbreviation - entire error message at bottom):
exception:
org.apache.jasper.JasperException: Unable to compile class for JSP
Subject: PropertyDescriptor: internal error while merging PDs: with jdk1.4
Greetings,
I get the following error when I run a web app with:
java version 1.4.2_01
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode
/auth-method
form-login-config
form-login-page /Login.do/form-login-page
form-error-page /Login.do?error=true/form-error-page
/form-login-config
/login-config
When the servlet is called with ?error=true query string it displays
additional warning besides the login form.
It was working perfectly
Greetings,
I get the following error when I run a web app with:
java version 1.4.2_01
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)
It works without any problems with:
java version 1.3.1_02
Java(TM) 2 Runtime
Hello
For some time now I have had a problem when dealing with errors and the resulting
different forwards:
When action3 generates an error (for instance in the form validator) and forwards
to action2 to deal with it (display it) but this action2 deals with errors and forwards
to action1
Hello Lukas,
***
LÖ Hello
LÖ For some time now I have had a problem when dealing with
LÖ errors and the resulting different forwards:
LÖ When action3 generates an error (for instance in the form validator) and forwards
LÖ to action2
Am 03.02.2004 10:48:10, schrieb Dirk Markert [EMAIL PROTECTED]:
It's not the action recognizing the error but your addtrackForm.
Validate is called on forwarding to your action2.
Ah, right. I was half aware of this but now that I thought of this
I found a solution:
at the end of each form
Hi,
I'm experimenting a simple form, adding a group (3 fields) to a simple, one
group table database, following some examples from the Struts book by James
Turner. All classes built (with Torque and mysql) and deployed. I couldn't
bring up the form and kept getting the error below. I think
To:Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject:error- no getter method for property of bean
Hi,
I'm experimenting a simple form, adding a group (3 fields) to a simple, one
group table database, following some examples from the Struts book by James
Turner
From: Frank Nguyen [mailto:[EMAIL PROTECTED]
javax.servlet.ServletException: No getter method for property
group_name of bean org.apache.struts.taglib.html.BEAN
I didn't look at anything you attached, but based on this message I'd
encourage you to stick to property names like 'groupName' and
],
[EMAIL PROTECTED]
cc:
Subject:RE: error- no getter method for property of bean
From: Frank Nguyen [mailto:[EMAIL PROTECTED]
javax.servlet.ServletException: No getter method for property
group_name of bean org.apache.struts.taglib.html.BEAN
I didn't look at anything you
Hey all, still new with the validator.. I'm using the emailAddress validator
and I just want it to put the value of the field in the error message if its
not valid.. ie:
blah!blah.com is not a valid email address.
however I can't seem to make that happen.. here's what I've tried:
form name
to put the fields value in the resulting error
message?
Hey all, still new with the validator.. I'm using the emailAddress
validator
and I just want it to put the value of the field in the error message if
its
not valid.. ie:
blah!blah.com is not a valid email address.
however I can't seem
to use underscore in DB (thus Torque) as recommended.
-Frank
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 03, 2004 2:30 PM
To: Struts Users Mailing List
Subject: RE: error- no getter method for property of bean
There is a reason why
I might be missing something obvious here, but is there an easy way to get the
submitted value to become part of the your error message?
So, for example, if the user enters abc in an email field, I'd like a message saying
:-
Address abc is not a valid email address.
I can get
in the resource file where the error message is defined use {0} to
parametize it.
eg
address.invalid=Address {0} is not a valid email address.
When you construct the actionError add the parameter to the constructor ie.
new ActionError(address.invalid, address)
Regards
Steve
-Original
1 - 100 of 2520 matches
Mail list logo