Hi, all
I have a session problem in my struts applications.
How do I share session context between two different web applications?
BR
xlen
Dear Struts users,
I am trying to get my html:optionsCollection to work with a TreeMap. I
don't
know if this is possible but on the Struts API page for the class
OptionsCollectionTag I read the following:
"The collection may be an array of objects, a Collection, an
Enumeration, an
Iterator, or a
Hello,
i want to parse a date from a inputfield and write it to DB (MSSQL Server)
is there a method to format a date for MSSQL ? or for ODBC Datasources ?
something like:
DateFormat df ...,
date = df.parse() ...
date = df.FormatForODBC() .
Mit freundlichen Grüßen
Christian Reps, D
You can use a PreparedStatement, so you don't have to change your code for
every database.
queryString =
"insert into table (column) values (?)";
preparedStatement = connection.prepareStatement(queryString);
i = 1;
* Calendar c =
In validate, if you add an error to the message list, validator returns
without forwarding. Has anyone done anything with an alternate message file
or prioritized messages, so you can add a message yet still forward.
Thanks in advance.
Edgar
-
This is a simple class I use to format date from VOs to Form and vice
versa. Hope it's helpful
import java.text.DateFormat;
import java.text.Format;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
public class FormatUtility
{
public FormatUtility()
{
Edgar,
What is your aim in doing this? If there is a validation error, the Struts
framework sends the user back to the input page to inform them of the
problem, and possibly allow them to fix it and resubmit. If the request
still gets passed to the action, the action will need to do conditional
pr
I think you should not use this class.
I has some bugs in it
"Mohd Amin Mohd Din" <[EMAIL PROTECTED]>
09/15/2003 12:11 PM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
"'Struts Users Mailing List'" <[EMAIL PROTECTED]>
cc
Subject
RE: Dateformat for MSSQL DB
Hi,
I'm displaying my data on my page row by row and each row containing
Itemname, id, and quantity. I'm displaying this by the Struts Iterate tag.
It is working fine but I want to change the quantity field, suppose there
are 10 quantity on a certain row and I want to change its value to 5 and
Hi,
I have a master page that have a small pop up page. I change some value of
here. For taking affect the change in the master page I have to call the
master page action again, but I want it to be done automatically.
For example, after completing my child page's work I want to call the master
I am making a simple JSp which have single text item.I have to retrive this
text item value on another JSp page using Struts(not by
request.getParameter("textname") ).
I tried with ,but it won't work .
Pls help
naveen
-
To uns
Then set it inyour action that refers to the second jsp page by
request.setAttribute...
F.
- Original Message -
From: "Naveen Mudgal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 2:33 PM
Subject: Session Tracking in Struts
> I am making a simple JSp whic
See the servlet specification, section 7.3 Session scope.
The short answer is that its non trivial to implement a
solution for this problem.
You may want to search the archives because this sort of thing
has been discussed here. You may also want to do a Google search
on sharing sessions in web a
I have a jsp page that is using to show a list of
records, based on some input on the same page. The first time I press
the submit button to get the records, everything works like it should.
But if I try to get the records one more time, I get this exception:
javax.servlet.ServletException: BeanU
if you are getting an error related with FileAccess error,, you can try another HTTP
Client Api ,
if you are using SUN Http Client api ,
when you want to access some sites such as www.google, www.mdb you would get
FileAccess error,,
-Original Message-
From: Henry Voyer [mailto:[EMAI
What bug? The formatDate( String date ) changes a format to another
format. In this instance, changes from "-MM-dd HH:mm:ss.S" to
"dd-MM-"
getDate( String dateStr ) is used to convert a string to a
java.util.Date object.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PRO
Can't I just do something like:
<%= cColor = "content_tbl_blue" %>
test cellColor
But this does not work either. The logic _does_ find the cColor as
"content_tbl_white"
---
Thanks
Mick Knutson
http://www.baselogic.com
+001(805) 563-0666 Office
+001 (708)
Hi,
i'm just moving an app from struts 1.0x to 1.1: The App runs on weblogic
6.1: I'm developing on a windows box and deploy it to solaris: On
windows everything runs fine, but on solaris i get lots of Invalid class
file format - Exceptions from the Taglibs when I recompile my jsp's:
error: Un
No, I wouldn't necessarily use modules, I was just wondering because it
looked like the action path that your app was looking for added the extra
path names ("/wireless/micro_browser"). I think if you are using modules,
the paths resolve themselves to be module relative instead of application
r
Hi -
I am having trouble with my DynaValidatorForm and Multi-page
validation. It does not seem to utilize the page property.
I tried putting in a page property but I get Struts errors. When I add
the page property to the struts-config file for that form, and I add the
page property as an integer
>
> >Rob,
> >
> >Thanks for your response.
> >
> >I ended up with changing the validator-rules.xml file myself to add
> >support for multiple radios, checkboxes and selections (just for the
> >validateRequired(form) function)
> >
> >
> If you would like to post a BugZilla report and provide a patc
Hi,
considering the class file versions, 45 stands for JDK 1.0/1.1,
46 is 1.2/1.3 (and 48 is 1.4):
http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#75
883
Seems your server still runs under JDK 1.1, or am I wrong?
The Struts 1.1 binaries seem to be compiled under JDK 1.
You have defined the user bean between the logic:equal tag this will visible if it is
out of scope.
Like
If(something==true)
{
User userName = someUser;
}
if(something!=true){
userName
}
if you try to use user it is out of scope
Hello,
I have a problem with my map backed form.
When I try to validate the form, when I try to retrieve value it throws a null pointer
exception, as if the map was null.
I am successful going through my jsp and populating the bean, so i am not sure what is
going on.
What might be the proble
I would like the action to perform (not fail as validator specifies) but
give feedback to the user about the entered data. For example in certain
fields you can use a table as a select but override the selection, and other
input would be added to the selection. You would want to let the user know
Hi,
Does anyone know ways to dynamically load application properties file so
that we donot have to reload container when a change has been made in the
properties file. I have seen the Message-Resources DB application (using
OJB) by James Mitchell using which we can put the properties in a database
Hi Susan,
Are you certain that no exceptions are being logged for your setup? Note, it
appears to work for me other than the exceptions that are logged upon every
request.
A few more things:
I am able to reproduce the problem with the tiles-blank-struts1-1 example
app.
I have reproduced the pro
Hi There,
I am using tag at top of my page to display any
validation errors when a form is submitted, but for some reason, I
couldn't see any errors message even I have left some mandatory fields
blank. I am not getting any errors in server log as well.
I have added the validation logic in valid
Hi,
I have a web page with 2 vertical frames.
I have the following link in my left hand frame and I want the users to view the
results
in the right hand frame when they click on the link.
Contact
List
Basically I want to do copy the below functionalitywith my target being the
rig
Hi,
Where can I find resources(tutorials, ides, articles & etc..) to learn?
Thanks.
Isaac
Here's an important resource, probably one of the most important of all:
http://www.catb.org/~esr/faqs/smart-questions.html#intro
-= J
> -Original Message-
> From: Isaac [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 15, 2003 9:46 AM
> To: [EMAIL PROTECTED]
> Subject: Newbie looking
> Where can I find resources(tutorials, ides, articles & etc..)
> to learn?
I've found Google to be a pretty good resource.
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=Struts+Tutorial&btnG=
Google+Search
-TPP
-
garrgh! too slow tonight!
You beat me to the draw James.
;->
-Original Message-
From: James Childers [mailto:[EMAIL PROTECTED]
Sent: Monday, 15 September 2003 22:48
To: Struts Users Mailing List
Subject: RE: Newbie looking for resources to learn
Here's an important resource, probably one
On 09/15/2003 10:16:50 AM Dan Snider wrote:
> Hi Susan,
>
> Are you certain that no exceptions are being logged for your setup?
Note, it
> appears to work for me other than the exceptions that are logged upon
every
> request.
>
No, I am not getting any kind of socket errors, or any errors log
onjava.com is pretty good.
---
Thanks
Mick Knutson
http://www.baselogic.com
+001(805) 563-0666 Office
+001 (708) 570-2772 Fax
---
- Original Message -
From: "Isaac" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 7:46 AM
Subject: Newbie looking for resources
Contact List
Where "targetAction" exists in some scope and has a value of
"viewcontactlist".
http://jakarta.apache.org/struts/userGuide/struts-html.html#link
robert
> -Original Message-
> From: Mehran Zonouzi [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 15, 2003 10:39 AM
Hi Christian,
no, unfortunately not:
System.getProperty("java.version"): 1.3.1
System.getProperty("java.vendor"): Sun Microsystems Inc.
I'm currently trying to find out if bea somehow tweaked the "magic" -
has anybody gotten struts 1.1 to run on weblogic 6.1 on solaris?
(Solaris is important, as
This is some code that I used in an actionForm.
public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
ActionErrors errors = new ActionErrors();
if ((userId == null) || (userId.length() < 1)) {
errors.add("noUser", new ActionError
("adresses.insertUser.noUser"));
}
retur
As you've seen from other replies google can be a very useful resource - as
can:
http://marc.theaimsgroup.com/?l=struts-user
Try some searches for various topics - I'd recommend the following one,
particularly for a tutorial:
http://marc.theaimsgroup.com/?l=struts-user&m=10612052
We are working on a portal site that has integrated content management for admin
users. We are trying to use Struts together with a portal framework... use the portal
framework to deliver the pages for end users, and use the Struts framework to process
our submit forms. So our interaction wil
I have been reading "Programming Jakarta Struts" from O'Reilly to ramp up, and it's
fantastic IMHO...
Scott
-Original Message-
From: Hue Holleran [mailto:[EMAIL PROTECTED]
Sent: Monday, September 15, 2003 10:07 AM
To: Struts Users Mailing List
Subject: RE: Newbie looking for resources to
Hello,
I have a separate Data Object and Action Form bean. In my form beans have a attribute
which corresponds to Data Object. And had written a separate setter and getter methods
for each attribute of Data object and some addition required for working of struts.
Like this.
e.g.
public class Co
"Struts in Action" is another great one.
(Do I get a signed copy now Ted??? ;-> )
-Original Message-
From: Mark, Scott [mailto:[EMAIL PROTECTED]
Sent: Monday, 15 September 2003 23:10
To: Struts Users Mailing List
Subject: RE: Newbie looking for resources to learn
I have been reading "Pr
I am having a problem with the Validator. I am not getting my messages
back when I have a List of html:selects. The first error message is at
property[0].message, but it does not show up for the next select boxes.
Any thoughts?
jsp:
What exactly does this mean?
Where "targetAction" exists in some scope and has a value of
"viewcontactlist".
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please notify the sender
immediat
On Monday, September 15, 2003 at 3:22:27 PM, Ritvik wrote:
R> Hi There,
R> I am using tag at top of my page to display any
R> validation errors when a form is submitted, but for some reason, I
R> couldn't see any errors message even I have left some mandatory fields
R> blank. I am not getting a
Hi,
I am using Weblogic 5.1 and if I'm not wrong it is implementing J2EE
1.2, in which the HttpSession interface does not specify the
getServletContext() method. I need to get to the application context via :
request -> session -> application.
My issue is the following :
Hi,
I am new to Struts and I am using Struts1.1 and my question is How to display an Error
Message in my Login JSP (Which is having two fields 1. Login ID & 2. Password)
So When User enters LoginID and incorrect password ., I should display a message in
my JSP something like "The password you
Ted,
Thanks for your reply but I am still confused about how I can store
information about which node of my menu was expanded and which node was
contracted in a menuBean. I am not using struts-menu.tld, do I need to use
it?
Thanks again.
-Original Message-
From: Ted Husted [mailto:[EMAI
Hello,
We are using struts and tiles for view component of our application.
We are facing the problem of setting the title for the jsp. The title has to be taken
from the properties file and it depends upon the body of the tiles. Any pointer how to
do this.
my jsp file is as follows.
<%@ tagli
Hi There,
Please have a look at html:errors tag posting earlier today.. There are couple of
responses th that thread. They will help you.
Ritvik
Dhanunjaya Gotur wrote:
> Hi,
>
> I am new to Struts and I am using Struts1.1 and my question is How to display an
> Error Message in my Login JSP
I had posted the following as a solution for you:
Contact List
This should render as something like the following:
Contact List
> What exactly does this mean?
>
> Where "targetAction" exists in some scope and has a value of
> "viewcontactlist".
This means that there exists some value
Hi all,
Where I have to put property files? I am using Tomcat and Struts. I suppose
I have to put them in WEB-INF directory, but my application cannot find
them. Maybe I have to add something in struts-config.xml
Could you help me, please?
_
Mariano García
Ingeniero de Sistemas
Optiva
Ok, this is probably a dumb questio, but here it goes...
I am trying to iterate over a portion of a list. I have calculated the
portion (the offset and length) in my action. I have two entries in my
DynaValidatorForm:
And I am doing a myform.set("pageOffset", String.valueOf(myCa
That's a subjective question. I can only offer my opinion.
I usually have my forms only contain Strings. I do this because
it gives me more flexibility for validation. It also offers an
additional layer of abstraction which reduces the coupling
between my business tier and presentation tier. I'll
Hi Rthvik,
Thanx ..and is it possible to do the same thing with validator.xml
Cheer's
Dhanu.
- Original Message -
From: "Ritvik" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 9:20 PM
Subject: Re: Displaying Errors in JSP !!
> H
Mariano wrote:
> Where I have to put property files? I am using Tomcat and Struts.
> I suppose I have to put them in WEB-INF directory, but my application
cannot
> find them. Maybe I have to add something in struts-config.xml
Try putting it in WEB-INF/classes. It needs to be on the classpath.
T
Tiles should be cumulative in that you shouldn't repeat HTML,BODY,etc. tags
in each one. Only the outermost. You might consider using a Tiles controller
to selectively choose the title, the controller would be called before any
other tiles are called if you define it at the definition level.
-
I don't believe that is "smart" enough to know that
if the value for the offset or length attribute is not an integer then
attempt to "find" the named value in all scopes.
You can do something like this:
Or you could use Struts-EL which provides a JSTL like syntax.
robert
> -Original
1st, Thank you, I didn't realize the logic:Iterate tag had those two
properties, so you've indirectly saved me some effort.
2nd, After looking at the source code for the iterate tag, it looks like it
tries to look up those two values straight out of the pageContext. This
would imply to me, that i
Good afternoon helpers,
I've started a new application using struts 1.1 and I'm having some problems with some
new concepts.
I want to use XML form validation (DynaValidatorForm) using validator-rules.xml and my
validaton.xml. Right now my application is working fine. Now I want to use differ
Damn! I hate being lazy. Thanks Mike for correcting my sub-par answer.
I should have looked at the source before responding.
robert
> -Original Message-
> From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 15, 2003 12:26 PM
> To: 'Struts Users Mailing List'
> Subject:
Anyone having the same problem? My images are cut off vertically sometimes...
Thanks!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
The exception is occurring when the struts preprocessor tries to
populate your form bean with request parameters. I expect you have
indexed properties and you have not initialized your form bean with an
array to accept them.
Adam
On 09/15/2003 02:04 PM Bj?rn T Johansen wrote:
I have a jsp page
I have a similar problem. This one class of mine doesn't work sometimes.
From: "Yansheng Lin" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: Image half loaded?
Date: Mon, 15 Sep 2003 11:03:41 -0600
Any
This is not a Struts issue, but I've also had similar problems with
images getting corrupted on occasion when I use Tomcat. I don't know
the cause or fix, but thought I'd just mention it.
--
James Mitchell
Software Engineer / Struts Evangelist
http://www.struts-atlanta.org
678.910.8017
AIM:jmit
On Sep 15, 2003, "Mainguy, Mike" <[EMAIL PROTECTED]> wrote:
|1st, Thank you, I didn't realize the logic:Iterate tag had those two
|properties, so you've indirectly saved me some effort.
:
Thanks for the answers...
As a first go-round, I'm trying the bean:define suggestion from Robert.
On (
On Sun, 14 Sep 2003, Max Cooper wrote:
> Some design changes are needed to make the switch to the https port in
> what I consider to be an acceptable manner.
One avenue to explore is using one particular capability of container
managed security, and declare a security constraint requiring SSL on
On Mon, 15 Sep 2003, Chang, Henrique wrote:
> Date: Mon, 15 Sep 2003 11:32:38 -0400
> From: "Chang, Henrique" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: ActionForm validate() - How to get ServletCon
Hi,
Does anyone know ways to dynamically load application properties file so
that we donot have to reload container when a change has been made in the
properties file.
I have seen the Message-Resources DB application (using OJB) by James
Mitchell using which we can put the properties in a databas
> Please suggest some ideas or code which will help in creating
> an extension
> so that the properties can be loaded from database dynamically.
Extend the message resources class you're currently
using and implement a reload() (or whatever) method
in your extended class. Call the reload() method
No, it's not a Struts issue. I almost cancelled the msg while I was posting it,
but thought would mention it here anyways.
Should I try Tomcat mailing list? Tomcat somehow displays images
'over-eagerly', maybe because image is binary data and contains a terminating
charater or some other weird c
That's one way to do it. Although doing so will create a compile-time
dependency on using that class (whether you actually use it or not).
By default, the Struts MessageResources API does not allow for reloading
and given the nature of the implementation. Since the returned messages
from your su
Am Montag, 15. September 2003 17:03 schrieb Stefan Frank:
> Hi Christian,
Hi Stefan,
> no, unfortunately not:
> System.getProperty("java.version"): 1.3.1
> System.getProperty("java.vendor"): Sun Microsystems Inc.
Now this is interesting. Still, obviously the JSP compiler
can't cope with Platform
Well, the problem seems to be that I initialized the array too much...
Thx...
BTJ
On Mon, 2003-09-15 at 19:30, Adam Hardy wrote:
> The exception is occurring when the struts preprocessor tries to
> populate your form bean with request parameters. I expect you have
> indexed properties and you
One way is to make the title a separate tile attribute instead of setting it inside a
tile like you are doing. Have a single section in your layout tile (layout.jsp)
and parametrize it as a tile attribute, something like:
layout.jsp:
---
...
Now in your actual JSP
Sometimes views need special information to display correctly, like a bean
with the values needed to render a dropdown list. Is it considered a Struts
best-practice to include this information in the ActionForm or should the
Action which prepares this information store the information in the reque
Check out
http://jakarta.apache.org/struts/userGuide/dev_validator.html
Under "Pluggable Validators" there is a section called "Multi Page Forms".
I've not done this before, but I think this wizard-like functionality you
are trying to build is built directly into Struts and the Validator.
Matt
-
What you're looking for is a way to validate a form with multiple
"pages". Read this, paying special attention to "Multi Page Forms"
http://jakarta.apache.org/struts/userGuide/dev_validator.html
K.C.
Ruben Carvalho wrote:
Good afternoon helpers,
I've started a new application using struts 1
Hi,
just a simple Question:
1.) does Google follow links to Struts actions (ending with .do)?
2.) if so, does it make a difference if the ;jsessionid thing is
appended to the URL?
Background is that I'm working on a larger site that uses
Struts for request processing and content delivery, with
m
Thank you Matt and K.C. for being so helpful.
Sorry everybody for posting such a basic question. I'll try to open my eyes next time
(and the userguide).
Ruben Carvalho
Come on now sugar / Bring it on bring it on yeah / Just remember me when / You're good
to go / Come on now honey / Bring it
On 09/15/2003 01:36:51 PM "Gregory F. March" wrote:
> On Sep 15, 2003, "Mainguy, Mike" <[EMAIL PROTECTED]> wrote:
>
> |1st, Thank you, I didn't realize the logic:Iterate tag had those two
> |properties, so you've indirectly saved me some effort.
> :
>
> Thanks for the answers...
>
> As a first
Dear Struts users,
I am trying to get my html:optionsCollection to work with a TreeMap. I
don't
know if this is possible but on the Struts API page for the class
OptionsCollectionTag I read the following:
"The collection may be an array of objects, a Collection, an
Enumeration, an
Iterator, or a
Google certainly crawls my site, which uses .do actions, and does a
pretty good job; I get a number of visitors referred straight into the
.do pages (which are all eg showTopic.do?topic=nn) from Google
searches. On the other hand, I don't do URL rewriting, so don't have
the jsessionid thingies.
I
Yes, Tomcat's handling of the is very complementary to
the use of sslext. Unfortunately, unless this has changed recently, not all
containers behave in this way.
Weblogic, for instance, just creates a response that outputs a message to the
browser stating that a particular URL is available only
On Sep 15, 2003, "Susan Bradeen" <[EMAIL PROTECTED]> wrote:
|I think this might be one of those cases where you go through "comment out
|parts of your JSP code and try again" iterations to find what is causing
|the error. Not very elegant, but it has worked for me.
Thanks Susan, that's wh
I haven't used maps with so I don't know if I
can give you a definite answer on this.
The optionsCollection tag is expecting a collection of objects that it
can call .getLabel() and .getValue() on (by default but it can be
changed with parameters). To get a list of objects from a map you
nor
I am testing file upload using Struts and FormFile but the upload seems
really slow. Uploading a 1,5MB file takes about 15-20 sec. and I am
running both the server and the browser on the same PC. Is this normal
or should the upload be faster?
BTJ
Just wondering if anyone offhand knew of a open source java class for
matching state abbreviations with their full name.. I could write something
to do it myself easily enough but I'm not encredibly interested in doing it
=)
Thanks
David
---
Hello all.
Is there any way to decide if I want to validate the jsp within the action rather than
in struts-config ?
Thank you,
Stephane
Gregory F. March wrote:
On Sep 15, 2003, "Susan Bradeen" <[EMAIL PROTECTED]> wrote:
|I think this might be one of those cases where you go through "comment out
|parts of your JSP code and try again" iterations to find what is causing
|the error. Not very elegant, but it has worked for me.
Hi,
I was also having the same problem, and I dropped validation frame work for
multi page validation and using for regular validation. If you get answer,
please let me know at [EMAIL PROTECTED]
Thanks,
Anand
From: Natalie D Rassmann <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[E
Anand,
The DynaValidatorForm already has a getPage()/setPage()
set of functions. Just use those. My common two problems
were a little different:
a) forgetting to use the 'page="X"' in my
html:javascript tag
b) forgetting to use the formName="someFunctionName"
in the html:javasc
http://tinyurl.com/ngnc
HTH,
Matt
-Original Message-
From: David Erickson [mailto:[EMAIL PROTECTED]
Sent: Monday, September 15, 2003 3:07 PM
To: Struts Mailing List
Subject: [OT] Java Class to match US state abbreviations with their full
name?
Just wondering if anyone offhand knew of
There are APIs which handle wizard-based forms in Struts, such as Struts
Wizard (http://sourceforge.net/projects/strutswizard/) or Struts WorkFlow
(http://www.livinglogic.de/Struts/introduction.html)...
HTH,
Thomas
At 23:15 15/09/2003, you wrote:
Hi,
I was also having the same problem, and I d
You have to put it/them under WEB-INF/classes
Regards,
Marco
From: =?iso-8859-1?Q?Mariano_Garc=EDa?= <[EMAIL PROTECTED]>
Hi all,
Where I have to put property files? I am using Tomcat and Struts. I =
suppose
I have to put them in WEB-INF directory, but my application cannot find
them. Maybe I
I have a form with multiple selects all with the same name and indexed
values (i.e myValue[0]. myValue[1]...). When I sumbit my form to
validate, validation quits when first select validation fails.
Has anyone had this problem? And how did you solve it?
Thanks
George
-
In your action mappings in struts-config, you can set validate=false,
and do your validation in the action class. Not sure if this is what you
want.
Saul
> -Original Message-
> From: Stephane Grenier [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 15, 2003 5:12 PM
> To: Struts Users
WEB-INF/classes ...
WEB-INF/classes/resources
say you have application.properties, configuration.properites
in your web.xml
org.apache.struts.action.ActionServlet
application
resources.application
configuration
resources.configuration
Rather than print the whole set of errors at the top of the page I'd
like to print each error next to the field that generated it. My
problem is that when using the tag I find
that the errors.header and errors.prefix values are prepended to each
error and the errors.suffix and errors.suffix are a
1 - 100 of 126 matches
Mail list logo