What is resources.properties default character encoding? Is it depend on operation
system or java or both?
Thanks,
PeterB
On Sun, 8 Jun 2003, florian wrote:
Date: Sun, 8 Jun 2003 20:00:31 +0200
From: florian [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: endless actionforms and valueobjects questions
hi!
i dont want to start the discussion again.
snip
Except for boolean properties that back a checkbox field, you should NOT
be using other than strings in your form beans.
/snip
Id go all the way and say you should use Strings for these too. I dont see
any reason to treat checkboxes differently (well apart from the reset
issue) - and while
This is not a bug. The applet creates a request and receives the
response. The browser doesn't know anything about this. You need to call
getAppletContext().showDocument(URL) in your applet. Of course, you
could create an URL from an ActionForward, serialize it to your applet,
and then call
On Mon, 9 Jun 2003, Barry Volpe wrote:
Date: Mon, 9 Jun 2003 14:24:11 -0700
From: Barry Volpe [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: [OT] Tomcat 4.0 and JSP page over 64k
Hi,
Wanted to know if the
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 8:56 AM
Subject: Re: endless actionforms and valueobjects questions
On Sun, 8 Jun 2003, florian wrote:
Date: Sun, 8 Jun 2003 20:00:31 +0200
On Tue, 10 Jun 2003, Hibbs, David wrote:
Date: Tue, 10 Jun 2003 16:15:24 -0500
From: Hibbs, David [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts-Users (E-mail) [EMAIL PROTECTED]
Subject: RE: Best practive for presenting a search result to a user
Hi Everyone,
I have many functions in my system that are to be very similar in their
actions, forms and view pages.
What is the best way of going about generating a common template for these
functions at least from view perspective.
Of course as long as this is to make my life easier not more
On Wed, 11 Jun 2003, Dan Tarkenton wrote:
Date: Wed, 11 Jun 2003 14:44:49 -0700 (PDT)
From: Dan Tarkenton [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Can we 'hot swap' the struts-config.xml?
Is it possible, with an instance of a
On Wed, 11 Jun 2003, Chip Paul wrote:
Date: Wed, 11 Jun 2003 17:14:11 -0500
From: Chip Paul [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Struts User [EMAIL PROTECTED]
Subject: Contents of directory on server?
I've seen the posts on
You would probably benefit from investing some time into trying to learn
tiles.
-Original Message-
From: Alen Ribic [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 17 June 2003 15:36
To: Struts Users Mailing List
Subject: Same boring copy/paste technique
Hi Everyone,
I have many functions in
I've got big problem!!!
How to display simultaneously ISO-8859-2 characters on JSP page getting from DB and
ApplicationResources.properties file?
When I set in my JSP %response.setContentType(text/html; charset=iso-8859-2);%
then data from DB is displayed correctly, but all words from
On Wed, 11 Jun 2003, Van Riper, Mike wrote:
Date: Wed, 11 Jun 2003 16:04:31 -0700
From: Van Riper, Mike [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: PHP version of Struts
At JavaOne this week one of
-Original Message-
From: Alen Ribic [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 9:36 AM
To: Struts Users Mailing List
Subject: Same boring copy/paste technique
Hi Everyone,
I have many functions in my system that are to be very similar in their
actions, forms and
On Wed, 11 Jun 2003, Igor Shabalov wrote:
Date: Wed, 11 Jun 2003 19:46:24 -0700
From: Igor Shabalov [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: PHP version of Struts
Why PHP when I have Java? What
On Thu, 12 Jun 2003, Mark Galbreath wrote:
You can access Java objects from JavaScript
For the purposes of this JSR, we're talking about server-side objects, not
client-side objects.
Craig
-
To unsubscribe, e-mail:
Thanks!
I was terribly confused. It was too simple... sometimes I can get a
complex solution when the simple one is the best. Thanks a lot for wake me.
Reinhard Nägele wrote:
This is not a bug. The applet creates a request and receives the
response. The browser doesn't know anything about
Hi Andrew
Aaaa, nice.
It seems like I haven't looked through all the features that Struts has to
offer.
I'm reading through tiles feature now and it sounds like it will do the job
from view perspective.
Thanks
--Alen
- Original Message -
From: Andrew Hill [EMAIL PROTECTED]
To: Struts
Hi,
i'm pretty new to Struts Menu and have one simple question before i start:
is it possible to display menuitems depending on some conditions. e.g. only
displaying an admin-menu if the user is logged on as Administrator?
thanks in advance
Filip Polsakiewicz
Sorry i had a mistake. of course it should be:
public abstract class UserAction extends Action {...}
and then
public abstract class UserCreateAction extends UserAction{...}
Filip
-Original Message-
From: Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
On Thu, 12 Jun 2003, Igor Shabalov wrote:
Date: Thu, 12 Jun 2003 11:13:47 -0700
From: Igor Shabalov [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Struts Action Scripting
It's not about compilation
thanks Filip for your reply.
For the actions and forms, abstraction will definitely do the trick in many
places for me.
As for view, I'm looking into Struts tiles.
--Alen
- Original Message -
From: Filip Polsakiewicz [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
-Original Message-
From: Alen Ribic [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 10:03 AM
To: Struts Users Mailing List
Subject: Re: Same boring copy/paste technique
thanks Filip for your reply.
For the actions and forms, abstraction will definitely do the
trick in
I picked it up, but I got the idea.
Thanks
--Alen
- Original Message -
From: Filip Polsakiewicz [EMAIL PROTECTED]
To: Struts Users Mailinglist [EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 10:02 AM
Subject: Same boring copy/paste technique
Sorry i had a mistake. of course it should
hi,
I had a good search on the user group and could not find any answer for this
one. I have a DispatchAction class, called ShowLogsAction that goes away and
returns a list of LogItem items. All the properties on LogItem are public eg
public String auditDate
ShowLogsAction
snippet
It would be bad HTML. A form is only allowed form elements inside its
tags. You might find the browser won't display it.
Adam
Filip Polsakiewicz wrote:
IMHO yes. The only thing is: you can (of course) only submit one form at a
time
Filip
-Original Message-
From: Ken [mailto:[EMAIL
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 12:31 PM
To: Struts Users Mailing List
Subject: Re: nested form
It would be bad HTML. A form is only allowed form elements inside its
tags. You might find the browser won't display it.
I am getting a null pointer exception on the following line:
DynaActionForm reviewRecordForm = (DynaActionForm)form;
My form in my struts-config.xml file looks like this:
form-bean name=reviewRecordForm
type=org.apache.struts.validator.DynaValidatorForm dynamic=true
form-property
Natalie D Rassmann rta:
I am getting a null pointer exception on the following line:
DynaActionForm reviewRecordForm = (DynaActionForm)form;
This line could not throw NPE.
The proper way of retrieving the values stored in dyna form
is via beanutils package eg PropertyUtils.getProperty(form,
Sorry, that line isn't throwing the null pointer exception. It is
returning a null as the form. The line throwing the null pointer
exception is
reviewRecordForm.set( "dispatchAction", "createPeerRec" );
Gemes Tibor wrote:
Natalie D Rassmann rta:
>I am getting a null pointer exception on the
I think you want to do a
html:form action=/showLogs.do ?
also, check to see what your html source is for this
form line and verify that it is using the name
element from your struts-config.
sandeep
--- RALPH ROPER [EMAIL PROTECTED] wrote:
hi,
I had a good search on the user group and could
I had trouble with this as well. Hopefully, the answer you're looking for
was as simple as the one I was. The action is looking for a form and can't
find it. Make sure you are submitting the form from the jsp page its coming
from? If not, you'll need to add the form somewhere in the action.
How do you add the form somewhere in the action?
Ben Anderson wrote:
I had trouble with this as well. Hopefully, the
answer you're looking for
was as simple as the one I was. The action is looking
for a form and can't
find it. Make sure you are submitting the form
from the jsp page its coming
It's not recommended. If you have to use more than one form in the same
page, do it separately. You don't want to mess with forms;)
-Original Message-
From: Ken [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 11:05 AM
To: [EMAIL PROTECTED]
Subject: nested form
Counld i use nested
code
DynaActionForm addressForm=(DynaActionForm) form;
addressForm.set(oAddress,str);
addressForm.set(oCity,str);
addressForm.set(oState,data[0][2]);
addressForm.set(oZip,data[0][3]);
addressForm.set(oZipExt,data[0][4]);
addressForm.set(oPhoneArea,data[0][5]);
Filip,
You can definitely do that.
Your menu definitions are in the xml configuration file, but the logic for
determining which ones to display and how to display them is handled by the
MenuDisplayers. The MenuDisplayers can have a PermissionsAdapter which
encapsulates entitlement logic.
Look at
Not true. Struts always creates the form for you if it is configured
correctly. It doesn't matter if the request is submitted from a JSP or
results from clicking a link. IMHO you should never create forms
yourself. I presume this is a configuration problem.
Reinhard
Ben Anderson wrote:
I had
Cool. Thanks alot
Filip
-Original Message-
From: El Harouchi, Jaafar [IT] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 2:01 PM
To: 'Struts Users Mailing List'
Subject: RE: Struts Menu question
Filip,
You can definitely do that.
Your menu definitions are in the xml
Hi
Im very new with this struts thing,
I've got an action path /login now I want it to use my own Controller
Servlet... this is what I've got
?xml version=1.0 encoding=UTF-8?
!DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts
Configuration 1.0//EN
Struts Console does not claim or try to solve these interdependence
issues you mention. It's just a nice, simple tool for editing all of
the Struts config files.
-James
Struts Console
http://www.jamesholmes.com/struts/
-Original Message-
From: Sergey Smirnov [mailto:[EMAIL PROTECTED]
Your Action should look something like
action path=... path to formbean ...
type=... form bean type as complete packagename
name=... form bean name
scope=... scope for this action ...
input=... jsp to handle input ...
Internet Mail Message
Received from host: daedalus.apache.org
[208.185.179.12]
Sorry,
action path=/login name=myformname type=package.class
forward name=key(sucess, for example) path=/path/
/action
Internet Mail Message
Received from host:
Hello everybody,
I want to map multiple URLs that match a pattern e.g. having
path=*/myAction to the action MyAction.
From what I have understood wildcards are not allowed on the path attribute
of the action element in the struts-config.xml file.
Is there a known and tested work-around? (or any
Hi All,
I've few things to ask that i couldnt find in archive..
1.I'm in design phase of a project that is supposed to use struts.We will be recieving
plain HTML forms(GUI) from our frontend designer and then we'll be converting that in
struts jsp(jsp with struts tags)
During demo we found
Check in your validation.xml if the messages (arg0, in this case) that are
binded with your error message is correct...
maybe it always returns the same error... (have you checked filling other form
fields and checking if messages change)?
Without the xml validation rule it is the best i can
Well, one possibility (although I'm not sure how feasible) would be to run
the JSP's through an XSLT stylesheet. Although the pages need to have
well-formed tags. I'm not sure you can entirely automate this type of
process.
-Original Message-
From: Adwait B [mailto:[EMAIL PROTECTED]
I think the functionality was removed... but strutsconsole does that.
http://www.jamesholmes.com/struts/console/. You might want to talk to James
Holmes about that. Email him...cuz he has dealt with this issue. Also, have
you considered customizing dreamweaver. It's fairly easy to set up the
About... 1. Replacing html tags...
I dont know any tool that does this... you could use a unix command (dont
remember the name but i can check it out) to change
your files automatically but you got to specify the rules to be matched (i think
this would be the best one because
you would only need
1.) I vaguely recall seeing somewhere that Camino does this?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 17 June 2003 21:31
To: Struts Users Mailing List; Adwait B
Subject: Re: few questions from new struts user
About... 1. Replacing html tags...
Hello everyone,
I am having a weird error with one of my Map based forms. I have these
fields in my form:
html:text property=value(getKostenstelle)/
html:text property=value(getBezeichnung)/
And I have the corresponding get-/set-methods in my form bean:
public void setValue(String key, Object
Hallo Nadja,
perhaps you have 2 forms in different scopes? Session and request?
Regards,
Dirk
***
NS Hello everyone,
NS I am having a weird error with one of my Map based forms. I have these
NS fields in my form:
NS html:text
Hello Dirk,
perhaps you have 2 forms in different scopes? Session and request?
No, all my forms are in request scope.
(And sorry about sending that email to your email address, I seem to
continually forget about checking the reply-to...)
Greetings,
Nadja
Been searching the archives, but with little luck. I even found a
thread about this
(http://www.mail-archive.com/[EMAIL PROTECTED]/msg68779.html),
but it didn't have an answer, so I'm reposting.
If I use bean:message key=foo/ and foo is not present
in my application resources file, the tag throws
I think if you set the null attribute of the message-resources tag to
false, you can avoid this exception if I'm not mistaken.
http://jakarta.apache.org/struts/userGuide/configuration.html#resources_conf
ig
See this link for more info
-Original Message-
From: José Ventura [mailto:[EMAIL
Not sure if this feature is a 1.0, 1.1 or both
-Original Message-
From: Mike Jasnowski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 10:05 AM
To: Struts Users Mailing List
Subject: RE: Display key itself when not found in MessageResources
I think if you set the null attribute
Hello,
I decided to try a DispatchAction in my application but quickly ran into a
question.
Background:
As everyone knows, we typically define an Action class as,
action path=/foo
type=com.action.Foo
scope=request
name=fooForm
input=foo !-- using
You could check if this key is there using logic:messagesPresent or
logic:messagesNotPresent and then
either use bean:message with that key or bean:write with some text
-Original Message-
From: José Ventura [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 4:03 PM
To:
hi! all
Can we get the property/Field names of the current jsp page with out introspecting
the the form bean, coz the form bean may have more attributes than used in the current
jsp page.. so how can i get the only fields used in the jsp page and also present in
the form bean
rgds,
Dinesh.
Hello!
I tried that (I found I needed to change Collection c
to java.util.Collection c, so the compiler would not
complain) but I'm still experiancing the same problem:
org.apache.jasper.JasperException: Cannot create
iterator for this collection
I added some print statements to help me debug,
Maybe I'm confused (wouldn't be the first time) but the input attribute
determines where the action goes on validation failure. Your forwardss
determine where you go on a successful action completion.
So, even if I don't understand what you are saying this is how
DispatchAction works:
1.
Hello Everyone,
How can I include an action-mapping in a jsp include directive ? I want to
achieve something like this:
jsp:include page=Test.do /
Is there any solution using TILES or something else ?
Thanks,
BS
-
To
Hi,
i am looking for a way to implement a search function that searches my whole
webapp somehow like a searchengine. Did anybody do that before. Are there
any useful tools? Any answers appreciated.
Thanks
Filip Polsakiewicz
-
Hello again,
I found out what hindered it from working. I still don't understand why that
would be a problem - or more correctly why it this problem would show the
symptoms I got - but it was the only thing I've changed so it had to be this.
public String getValue(String key){
String temp;
I'm not quite sure what you mean - do you want to search the data that
underlies you webapp, or do you want to search the source of your
application?
If it is text searching of data you are after then check out Lucene
(http://jakarta.apache.org/lucene)
Paul
-Original Message-
From:
That's strange, I've just implemented a map based form and am taking and
returning String in my setter getter with no problems. Having said that
I'm accessing my form in my action directly - not via the BeanUtils.
Paul
-Original Message-
From: Nadja Senoucci [mailto:[EMAIL PROTECTED]
-Original Message-
From: Paul McCulloch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 4:38 PM
To: 'Struts Users Mailing List'
Subject: RE: Implementing Applicationwide search
I'm not quite sure what you mean - do you want to search the data that
underlies you webapp, or
my 2 cents worth is that the best way for a front-end designer to work
with programmers was not to share the code at all.
In my experience, webpage designers know nothing about programming,
sometimes not even HTML, but they're great at putting creative graphic
ideas together. What I would do -
Hey,
When i'm running this struts-application on a applicationserver,
the validate method will be executed (i see the println's). But i don't
see the println's from the action class listStudenten . Will the perform
method in the Action object be executed or not ?? I think that my
If i were you, i would check like this in my jsp:
%@ page import=java.util.Collection %
%@ page import=java.util.Iterator %
%
Collection c = ...getProductLines();
Iterator it = c.iterator();
out.print(it);
%
do not logic:iterate yet util the above code run
ok.And then you can be
Thanks a lot for all the replies!
Unfortunately, all the solutions appear to work only on
Struts 1.1. I'll not start the discussion again, but I can't
use 1.1 just yet, even though I want to ;)
Oh well. I'll try extending the Struts bean:message tag.
BTW, in JSTL the behavior is the same as
You should be able to use logic-taglib in 1.0 too. It's not included in the
package but you can download it seperately.
Filip
-Original Message-
From: José Ventura [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 4:54 PM
To: Struts Users Mailing List
Subject: Re: Display key
Try
public ActionForward perform(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
...
}
- Original Message -
From: Peter Bosmans [EMAIL PROTECTED]
To: Struts Users Mailing List
%
Collection c = ...getProductLines();
Iterator it = c.iterator();
out.print(it);
%
This worked as expected. It wrote:
[EMAIL PROTECTED] to the HTML, which
leads me to belive that the collection is returning an
iterator.
I then tried this (after deleting the above):
%
Hello,
Try to put your collection in the pageContext and not in the request...
Strut's tags works a lot with the pageContext...
-Original Message-
From: Matt E [mailto:[EMAIL PROTECTED]
Sent: mardi, 17. juin 2003 17:09
To: Struts Users Mailing List
Subject: Re: logic:iterate problems
Yes, ofcourse
You can do this in your actions or in jsp (using struts logic tags, or use
JSTL).
Cheers,
Harm de Laat
Informatiefabriek
The Netherlands
Filip Polsakiewicz [EMAIL PROTECTED]
06/17/2003 10:01 AM
Please respond to
Struts Users Mailing List [EMAIL PROTECTED]
To
Struts
Hi all,
I've a quick question.
I have an object stored in the http session. The object has about 20
parameters.
I want to display this object's values in a page. At the moment I was
using the
bean:write
approach passing in the scope being session and the name and parameter
values.
Hello!
Changed the code to read:
%
Collection c = ...getProductLines();
Iterator it = c.iterator();
out.print(it);
pageContext.setAttribute(colName,c);
%
However it still fails with the same problem.
Cheers.
--- Valery Jacot [EMAIL PROTECTED] wrote:
Hello,
Try to put your
Dear All,
I solved the problem I had, below is the solution.
Regards,
Athanassios
__
Problem:
Use wildcard * in the path attribute of the of the action element in the
struts-config.xml file.
or
Map multiple URLs to a single action
Requires Struts 1.1-rc1
Solution (I do not
logic:iterate id=productLines name=colName
Next element is bean:write name=productLines property=blah/
/logic:iterate
Doesn't matter what scope you put it in.
-Tim
-Original Message-
From: Matt E [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 11:23 AM
To: Struts Users
It seems Struts ALWAYS prefix application context to the map target
/myapp/http://www.cnn.com
I am pretty sure there is a bug in Struts Action. I tried all possibilities
and all failed. If you through action, Struts ALWAYS prefix the context
path. Does anybody has the same problem?
--
Best
What version are you using? This problem was fixed a while back.
David
It seems Struts ALWAYS prefix application context to the map target
/myapp/http://www.cnn.com
I am pretty sure there is a bug in Struts Action. I tried all possibilities
and all failed. If you through action, Struts ALWAYS
Jason wrote:
It seems Struts ALWAYS prefix application context to the map target
/myapp/http://www.cnn.com
What JSP code are you using that produces this link? (Or what code in the
Action?) Perhaps you shouldn't use a Struts tag at all, just a plain old a
href if you want the link to to
I don't think this optimalisation will have some significant effect.
But of course, you could store the object in the page scope.
I do the same in some of my actions:
in BlahAction.java
perform() // there are more arguments here normaly
{
School school = new School();
Worked like a charm. I noticed that you removed the
collection argument and changed it to a name argument.
For the archives, here's the complete code:
%
Collection c =
org.ellism.tir.util.DatabaseConstantsAdapter.getInstance().getProductLines();
Your ActionMapping should look as follows to do forwarding
!-- Page fowarding --
action-mappings
action
path=/login
type=org.apache.struts.actions.ForwardAction
parameter=/pageyouwanttogodo.jsp/
/action-mappings
If you want to define an Action class to use do the
Thanks Harm,
Appreciate it.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 17 June 2003 16:33
To: Struts Users Mailing List
Subject: Re: Displaying an object stored in the http session
I don't think this optimalisation will have some significant effect.
Brandon Goodin wrote:
Netbeans is not easily upgraded as new Tomcat releases become available and
the Swing environment can be burdensome and buggy unlike SWT (which is what
eclipse is built on).
Kind of FUD there -- SWT and Swing are equally burdensome/buggy on
MacOSX. That said, on Windows
*Sorry if this is a repeat, I posted from my newsgroup client early this
morning, but have not seen the message appear yet, so I'm sending this again
through mail*
Hi,
I'm looking for help on something that I thought would be pretty simple.
Here's a short example of what I'm trying to
Hi
I wrote this one time to process dream weaver code to Struts/ JSP.
It only really does the image tags and the message bean stuff.
Not finished and not very well tested but if it does you any good use it.
(Please forgive/ ignore the GUI I was playing with swing as well :) )
Hi, everyone,
Am I crazy? I have been trying to get recursion to work using Arron's
examples at keyboardmonkey and it absolutely will not recurse. It just
repeats the very first element.
Here's what I get displayed in my HTML results:
--
USA - productTree
Hi,
I'm new to Struts and maybe I've got something completly wrong... but I
didn't find what..
So, that's my problem:
I've got to actions defined, one logon-action forwarding to my homepage (-
action) on success. Since I also want to change the URL, I want to use a
forward with redirect=true
Hallo Philipp,
I tried your Strutinizer, such a tool would be of enormous help. Unfortunately I
cant process any HTML-files. I am using JDK1.4.1.
Peter
---
Exception occurred during event dispatching:
java.lang.NoSuchMethodError
at
I want to be able to pass multiple parameters for a message resource
so that i can define common message resources in one properties file and the
module specific message resources on another.
I think Struts doesnt support this (tried and it didnt work)... so do i need to
extend the
For those of you who are using DispatchAction and are having difficulty
with the validation framework, I have an idea to propose. Up to this
point the two practices seemed to conflict, namely because the validator
cannot distinguish between
EditUser?method=save
EditUser?method=delete
I can't seem to figure this one out. My action class is getting a request coming from
a form that has the enctype of multipart/form-data. From looking in the JavaDocs, I
see that what ends up in the Action method is a MultipartRequestWrapper which wraps
the HttpServletRequest. The Javadocs
I am working on an e-commerce piece and am trying something new with the
ActionErrors. Usually when I use add() I am pulling an key that exists in my
properties file already. I see that ActonError has a couple of constructors
one of which takes a key and a value and I since I do not know what the
For those of you who are using DispatchAction and are having difficulty with
the validation framework, I have an idea to propose. Up to this point the two
practices seemed to conflict, namely because the validator cannot distinguish
between
EditUser?method=save
EditUser?method=delete
I am working on an e-commerce piece and am trying something new with the
ActionErrors. Usually when I use add() I am pulling an key that exists in my
properties file already. I see that ActonError has a couple of constructors
one of which takes a key and a value and I since I do not know what the
Unless I misunderstood your question, why don't you just define two message
resources? One as the base/default w/o a parameter att, and one
app-specific with your parameter attr?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 1:02 PM
To:
1 - 100 of 163 matches
Mail list logo