Karr, David wrote:
Yes, I should have mentioned that. If you're using a JSP 2.0 container,
you should NOT use Struts-EL. It will cause more trouble. If you
configure your webapp correctly, you can use the EL natively in
attributes, and even in template text.
-Original Message-
Fr
Hi all,
I want to write a Swing front end for one of my struts applications.
Basically keeping everything besides the view. I would be nice if I
can keep the validation framework and my controller components probably
wrapped in some kind of interface. I am wondering if there's already a
project d
Doh, scatch that; the 'name' attribute in the action mapping is, of course, the
form name, so what I said is true of ValidatorActionForm only. Yawn. Bed time!
L.
Laurie Harper wrote:
Yes, that's the point of ValidatorForm / ValidatorActionForm. The
validation rules are looked up according to
Yes, that's the point of ValidatorForm / ValidatorActionForm. The validation
rules are looked up according to the action mapping 'name' or 'path' attribute,
respectively. It shouldn't make any difference if the actions use the same form.
L.
Lucas Bern wrote:
Hi guys
does anybody know if
From: "Grzegorz Stasica" <[EMAIL PROTECTED]>
>
> The problem is that after I validate values in the method, the
> controller forwards me to input page. Since I use tiles in my
> application I'd like to be forwarded to tiles definition not input page
> (I need to preserve header, menu etc).
>
>
Michael Jouravlev wrote:
1) In action mapping: validate = "false"
2) Validate manually from Action class
3) Forward where you need.
On 6/23/05, Grzegorz Stasica <[EMAIL PROTECTED]> wrote:
hi,
The problem is that after I validate values in the method, the
controller forwards me to input pag
1) In action mapping: validate = "false"
2) Validate manually from Action class
3) Forward where you need.
On 6/23/05, Grzegorz Stasica <[EMAIL PROTECTED]> wrote:
> hi,
>
> The problem is that after I validate values in the method, the
> controller forwards me to input page. Since I use tiles in
hi,
The problem is that after I validate values in the method, the
controller forwards me to input page. Since I use tiles in my
application I'd like to be forwarded to tiles definition not input page
(I need to preserve header, menu etc).
The question is: Is it possible to use validate meth
I don't see the need for a new type of Action, there is no limitation to
what methods you ADD to an ActionForm, so you may choose to do your business
logic implementations in the ActionForm itself and then the various
Action::execute() methods would just marshal the arguments and call the
methods o
On 21/06/2005 17:44 Tony Smith wrote:
Hi, Can I run Tomcat 5.0 on port 80? After setting 80
as port number in the server.xml and starting tomcat,
I got the following error message:
SEVERE: Error starting endpoint
java.net.BindException:permission denied:80
As many other posters have pointed
WebWork actions are somewhat like Struts Action and ActionForm
combined: they can transfer request parameters and can be stateful,
like ActionForm, but they also can process input events, like Action.
I created several rather generic action classes, like DialogAction or
CRUDAction, and now working
I added some new modules to an existing working struts application. When
trying to access an action in the original application, I get the following
in the logs with DEBUG on org.apache.struts
I have made no changes to the original webapp, only added some new modules.
I checked the libs and tl
so struts is dead? we must be haunting you, right?
On 23/06/05 19:52 Mark Galbreath wrote:
Your sure did: C#.NET makes stuff like this soo easy! Struts is dead.
~mark
-Original Message-
From: Vicky [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 2:48 PM
But having differ
You might be interested in checking out ValidatorLookupDispatchAction
(http://struts.whoisandy.com/archives/2005/05/27/validatorlookupdispatchaction.php).
I stumbled across, but never actually used it.
~ Andrew Tomaka
On 6/23/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "Vicky" <[EMAIL PRO
From: "Vicky" <[EMAIL PROTECTED]>
>
> But having different actions in struts-config. how
> would I call them in my jsp html:form ? because right
> now I have only one action in jsp action="myAction"> and then for each button i have
> property="method".. in jsp
>
> in struts-config for this action
Your sure did: C#.NET makes stuff like this soo easy! Struts is dead.
~mark
-Original Message-
From: Vicky [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 2:48 PM
But having different actions in struts-config. how
would I call them in my jsp html:form ? because right
now I h
That would be the "Friggin' Ignorant Newbie Encyclopaedia?"
;-)
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 2:30 PM
To: Struts Users Mailing List
Subject: Re: running tomcat on port 80[Scanned]
and yes I agree with Mark please
read the F
Hi Tony,
try something like this:
ps -ef | grep httpd
this will show you where the process is running (from which directory) -- to
shut down this process,
become root, and you should have somewhere in your computer the apachectl
program -- do a
./apachectl stop
from the directory where this
Wendy,
But having different actions in struts-config. how
would I call them in my jsp html:form ? because right
now I have only one action in jsp and then for each button i have
property="method".. in jsp
in struts-config for this action mapping I have
parameter="method"
Did I miss anything in
server.xml
grep for 'Coyote HTTP/1.1 Connector' change port from
to
and yes I agree with Dave please
read the FINE Manual
Martin-
- Original Message -
From: "Mark Galbreath" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, June 23, 2005 1:18 PM
Subject: RE: running
Thank you, Last time I tryed it tomcat was buggy and left me frustrated! May
be it is OK now!
Cheers
Arash
On 6/23/05, Nitesh <[EMAIL PROTECTED]> wrote:
>
> And...
>
> http://www.jroller.com/page/tomdz/20041215
>
>
> Nitesh
>
> Googling results...
>
> http://jakarta.apache.org/slide/howto-j
Yes, I should have mentioned that. If you're using a JSP 2.0 container,
you should NOT use Struts-EL. It will cause more trouble. If you
configure your webapp correctly, you can use the EL natively in
attributes, and even in template text.
> -Original Message-
> From: Mark Diggory [mail
Hi guys
does anybody know if the java script validation of validator framework can be
used with ValidatorActionForm, I need to perform diferent validations in
diferent action that used the same form i would like these validations be
performed in the client...
Thanks
Lucas
Hi Martin...
I´ve been using display tag and struts for a long time, and, I can say that it
works beautifull, no limitation in any functionality provided by both
frameworks...
I tell you this because if you think something can not be done, may be you are
wrong...
The problem with the checkb
If your using a JSP 2.0 container (Tomcat 5.x), I think you should be
able to use EL right on top of Struts taglib without any third party
contibs. Others, correct me if I'm wrong here.
-Mark
Karr, David wrote:
Use the Struts-EL taglib, provided in the "contrib/struts-el" subdir of
the Strut
It's been awhile since I ran Tomcat with a web server (IIS or Apache), but the
documentation that comes with Tomcat (including the comments in the *.xml
config files) is comprehensive. The docs address your issues in particular.
I am preparing to integrate Tomcat 5.5.9 with Apache httpd 2.0.54
Hi,
you can configure apache to pass all requests containing *.jsp to your
tomcat. This setup requires an extra connector, such as jk2.
Tom
Tony Smith wrote:
Or, can I move my tomcat under apache so now port
number is necessary in the address?
--- Tony Smith <[EMAIL PROTECTED]> wrote:
T
Hi Tony,
try this:
/etc/initd/apache stop
if this does not work, do this:
ps -ef | grep -i apache
This will give you the PID, which can be used to kill the process:
kill - 9 PID
The next time you restart your server, apache will be started again,
though - so you have to disable it. How to dis
Or, can I move my tomcat under apache so now port
number is necessary in the address?
--- Tony Smith <[EMAIL PROTECTED]> wrote:
> Thank all for response.
>
> I loged on as root and changed server.xml to use
> port
> 80. When I start tomcat, it now compained that "80
> is
> already in use". Bu
Thank all for response.
I loged on as root and changed server.xml to use port
80. When I start tomcat, it now compained that "80 is
already in use". But I can not find out who is using
it. I ran "netstat -a", but I did not see anything
like "80". Should I look at something else?
I also tried "t
On Tue, 2005-06-21 at 18:54 +0200, mario nee wrote:
> in Unix system you must have root permission to open a port under 1024.
>
Hello,
While this is right, I would not recommend to run Tomcat as root. Better
run Tomcat with another port just like the default 8080 and use a
firewall application s
Use the Struts-EL taglib, provided in the "contrib/struts-el" subdir of
the Struts distribution. It's a port of most of the Struts tags (except
the ones that provide functionality that the JSTL provides directly),
but it uses the JSTL expression evaluator for attributes. Search the
archives for "
On 6/23/05, Ciaran Hanley <[EMAIL PROTECTED]> wrote:
> Can somebody help me or propose a solution to the following please.
>
> I wish to create a form dynamically. Depending on the business logic there
> could be 0 to N rows in the form.
...
> I also need to iterate over a bean containing informat
Thanks for reply Aleksandar!
You are right bout ANT, but how about sharing thoses common files under
WSAD?...
I think I am oblige to have them duplicated between my workspace and be
careful when I update one of thoses files...
Thanks again!
- Original Message -
From: "Aleksandar Matijac
I would probably use ValidWhen
test
( (method!= "validateMe")
or (*this* != null) )
Than
From: "Vicky" <[EMAIL PROTECTED]>
> My action class extends LookupDispatchAction, which
> has different methods in it. In struts-config.xml i
> have parameter method as we all know. My problem is;
> in my validation.xml i do have to perform different
> validations for different methods, how do I
>
Following code would give you the missing keys..
InputStream is = null;
Properties props1 = new Properties();
Properties props2 = new Properties();
ClassLoader classLoader =
Thread.currentThread().getContextClassLoader();
if (classL
All files are included
-Original Message-
From: klute [mailto:[EMAIL PROTECTED]
Sent: June 23, 2005 10:11 AM
To: Struts Users Mailing List
Subject: RE: ApplicationResources.properties vs Validator framework
Just a sanity check, did you open up your war and
ensured that the ApplicationRes
I have been introduced to the marvels of the displaytag
(http://displaytag.sourceforge.net) by someone from this list and it is
really worthwhile!
Now I am encountering a problem where I need help.
I have a rather large list of items to be shown in a table managed by
displaytag using the automati
My action class extends LookupDispatchAction, which
has different methods in it. In struts-config.xml i
have parameter method as we all know. My problem is;
in my validation.xml i do have to perform different
validations for different methods, how do I
distinguish or find out which method is called
Just a sanity check, did you open up your war and
ensured that the ApplicationResources.properties is in
fact there in WEB-INF/classes? Perhaps, your pkg/war
task might have excluded it by mistake?
--- "Gilbert, Antoine" <[EMAIL PROTECTED]> wrote:
> Only message-resources tag is
>
> parameter=
Hi all,
Is there any tool to compare property files based on their keys only ? I
have some really huge ones for different locales but the number of keys
is different and i need to find the missing ones...
Thanks,
Manos
-
To
Only message-resources tag is
-Original Message-
From: Marsh-Bourdon, Christopher
[mailto:[EMAIL PROTECTED]
Sent: June 23, 2005 10:01 AM
To: 'Struts Users Mailing List'
Subject: RE: ApplicationResources.properties vs Validator framework
In that case does it contain (or path similar) wi
Yes, under WEB-INF/classes
-Original Message-
From: klute [mailto:[EMAIL PROTECTED]
Sent: June 23, 2005 10:05 AM
To: Struts Users Mailing List
Subject: Re: ApplicationResources.properties vs Validator framework
btw, where exactly is your
ApplicationResources.properties located under
WEB_
btw, where exactly is your
ApplicationResources.properties located under
WEB_INF/classes?
--- "Gilbert, Antoine" <[EMAIL PROTECTED]> wrote:
> Hi
>
>
>
> I have a strange problem.
>
>
>
> I have an application using validator on server side
> and client side
> (javascript), I have an
> App
>From the log, it seems that struts is finding "application.resources" from
your config file.
Just check if you have a "." in the config..
Thanks and Regards,
Nitish Kumar
-Original Message-
From: Gilbert, Antoine [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 7:28 PM
To: Str
In that case does it contain (or path similar) within the struts-config.xml:
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: Gilbert, Antoine [mailto:[EMAIL PROTECTED]
Sent: 23 June 2005 14:58
To: Struts Users Mailing List
Subject: RE: ApplicationResources.pro
Does there is a way for me to set in direct code (ex in a servlet
filter) this default bundle, so I can have a work around for now
-Original Message-
From: Gilbert, Antoine
Sent: June 23, 2005 9:58 AM
To: Struts Users Mailing List
Subject: RE: ApplicationResources.properties vs Validator
yes
-Original Message-
From: klute [mailto:[EMAIL PROTECTED]
Sent: June 23, 2005 9:55 AM
To: Struts Users Mailing List
Subject: Re: ApplicationResources.properties vs Validator framework
Does your web.xml contain the following as part of the
action servlet config?
application
Appli
Does your web.xml contain the following as part of the
action servlet config?
application
ApplicationResources
--- "Gilbert, Antoine" <[EMAIL PROTECTED]> wrote:
> Hi
>
>
>
> I have a strange problem.
>
>
>
> I have an application using validator on server side
> and client side
>
I think the problem is just that default message resource is
application.properties instead of ApplicationResources.properties as
specified in the struts-config.xml. I guess I shoud try to focus on that
problem...
-Original Message-
From: Gilbert, Antoine
Sent: June 23, 2005 8:39 AM
To: S
As I said, the application was working on the dev environment and now on
a new one it's not working.
But I just tried as you said to set null="true" and still get empty
messages...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: June 23, 2005 9:44 AM
To: user@s
First thing that comes to mind is that you likely forgot to add the key
to the resource..
Try adding the null="true" option to your resource declarations in
struts-config.xml
-Original Message-
From: Gilbert, Antoine [mailto:[EMAIL PROTECTED]
Sent: donderdag 23 juni 2005 15:41
To: Struts
No
Struts is trying to load application_fr_CA.properties, and anyway I have
no application.properties, I have an ApplicationResources.properties.
One more problem to go before the problem you talking about.
-Original Message-
From: Nitish Kumar [mailto:[EMAIL PROTECTED]
Sent: June 23, 20
To me it seems, due to a different locale, your application is looking for
ApplicationResources_fr_CA.properties
you can try renaming your properties file to
"ApplicationResources_fr_CA.properties" and then deploying the application.
Thanks and Regards,
Nitish Kumar
Tavant Technologies Ltd
Ba
Your root problem is using Validator in the first place. (1) It is a bogus
design from the start, and (2) it never has worked as advertised.
~mark
-Original Message-
From: Gilbert, Antoine [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 8:39 AM
To: Struts Users Mailing List
Subj
exadel.com has a free version of Eclipse plug-in for Struts. It supports JSF
too. The free version is lack of some debugging features, but the commercial
version has them all.
Hi
I have a strange problem.
I have an application using validator on server side and client side
(javascript), I have an ApplicationResources.properties with all my
messages for erreor messages from validations. All is working ok.
But, I made a war file and deployed the application on
huh? Me thinks you better be reading the J2EE spec first
~mark
On 6/23/05, Arash Bijanzadeh <[EMAIL PROTECTED]> wrote:
> Me too am searching for a plugin for Eclipse to be able to write my J2EE
> components like ... XML HTML and so on.
***
For the relatively low cost of specifying your servlet mapping, you
can use the JSTL c:url/c:param tags and achieve all of this much more
concisely:
">Click Here
There's an enhancement request filed to add "c:param" type
functionality to , and I think I even assigned it to
myself, but to
And...
http://www.jroller.com/page/tomdz/20041215
Nitesh
Googling results...
http://jakarta.apache.org/slide/howto-jaas.html
http://www.isys.uni-klu.ac.at/ISYS/Courses/04WS/webtechnologien/downloads/TomcatConfig.pdf
Nitesh
- Original Message -
From: Arash Bijanzade
Googling results...
http://jakarta.apache.org/slide/howto-jaas.html
http://www.isys.uni-klu.ac.at/ISYS/Courses/04WS/webtechnologien/downloads/TomcatConfig.pdf
Nitesh
- Original Message -
From: Arash Bijanzadeh
To: Nitesh
Sent: Thursday, June 23, 2005 3:14 PM
Subject: Re: JAA
You can always use the jstl in struts.
> -Original Message-
> From: mario nee [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 23, 2005 1:44 PM
> To: Struts Users Mailing List
> Subject: jsp vs jstl in Math
>
> Hello,
>
> if i use jstl for Math operation i write this
>
>
> if i use struts
Phani wrote:
> Here is my code in the JSP page:
>
> property="storeNumber"/>
>
> property="storeName"/>
>
> <%
>java.util.HashMap params = new java.util.HashMap();
>params.put("storeNo",param1);
>params.put("storeName",param2);
>pageContext.setAttribute("storeInfo", params);
>
Ciaran Hanley a écrit :
Can somebody help me or propose a solution to the following please.
I wish to create a form dynamically. Depending on the business logic there
could be 0 to N rows in the form. I tried to use a form with an array of
strings and use the indexed="true" setting in the ht
Attaching the answer John had given me for indexed properties.
Hope this would help...
- Original Message -
From: "Ciaran Hanley" <[EMAIL PROTECTED]>
To: "'Struts User Mailing List'"
Sent: Thursday, June 23, 2005 3:01 PM
Subject: How to create form rows dynamically
Can somebody hel
I had the same question some time back and I used this :
http://struts.apache.org/userGuide/building_controller.html
refer section "4.3.2 Map-backed ActionForms"
Regards,
Abhinav
-Original Message-
From: Ciaran Hanley [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 3:02 PM
To:
Hi,
use Map Backed Action Forms. Sorry for giving u a link as answer, but its
explained well there:
http://struts.apache.org/userGuide/building_controller.html#map_action_form_classes
g53372
/marco
Ursprüngliche Nachricht-
Von: Ciaran Hanley [mailto:[EMAIL PROTECTED]
Gesendet: Donners
http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/JAASRefGuide.html
and
http://struts.apache.org/userGuide/preface.html#jaas
could be a starting point...
HTH
Nitesh
- Original Message -
From: "Arash Bijanzadeh" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday,
Can somebody help me or propose a solution to the following please.
I wish to create a form dynamically. Depending on the business logic there
could be 0 to N rows in the form. I tried to use a form with an array of
strings and use the indexed="true" setting in the html:text boxes but as I
was
Thank you Jeff, your solution is exactly what i was looking for.
Now i'd have another question, still slightly off-topic in a
struts-list, but is there an ajax list ?
In order to keep compatibility for all users, including those who
don't enable JavaScript, I need to have a solution where ajax u
Hi all,
I am searching for an example of using struts security framework and JAAS
maybe. Could anyone lead me to a document/tutorial/example?
Thanks
Arash B.
You might want to check http://www.objectlearn.com. I use it for
generating ejb beans. Sometimes it is hard to set it up. Don't try to
run it with MyEclipseIDE installed.
On 6/23/05, Arash Bijanzadeh <[EMAIL PROTECTED]> wrote:
> Me too am searching for a plugin for Eclipse to be able to write my
Hello,
if i use jstl for Math operation i write this
if i use struts taglib how can i do the same thing without use <% ... %> ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Me too am searching for a plugin for Eclipse to be able to write my J2EE
components like JSP XML HTML and so on.
Any good free one?
Regards
Arash
On 6/22/05, Barnett, Brian W. <[EMAIL PROTECTED]> wrote:
>
> http://www.sysdeo.com/sysdeo/eclipse/tomcatplugin
>
> -Original Message-
> From:
75 matches
Mail list logo