On 10/14/2017 5:43 AM, albert kao wrote:
> Messages:
> /WEB-INF/jsp/persons.jsp (line: 13, column: 8) Attribute id invalid for tag
> url according to TLD
Hello Albert,
Thanks for your report. It seems struts-examples need some fixes which
are under processing at [1].
Regards,
Yasser.
[1] htt
: Oracle Corporation
Java home: /home/alkao/jdk/jdk1.8.0_144/jre
Default locale: en_CA, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-21-generic", arch: "i386", family: "unix"
$ mvn -e clean package
Copy crud-1.0-SNAPSHOT.war to Apache TomEE:
#
Hello,
I would like to integrate struts2 in an CRUD application , JDBC, Apache Tomcat,
Netbeans ( or eclipse )
but without Hibernate , nor EJB, nor GlassFish.
Hibernate is more complex than the problem it tries to solveCould you have any
integration example
please ?
Thanks,
Regards,
Chris
Thank you for sharing this Christoph.
Best Regards
Johannes
#
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep
2014-09-01 10:27 GMT+02:00 Christoph Nenning
:
> Hi,
>
>
> for the talk I gave last week I created a new
Hi,
for the talk I gave last week I created a new CRUD sample which I pushed
to github:
https://github.com/wolpi/struts2-crud-sample
You can also find by slides there, they are partly in german.
regards,
Christoph
This Email was scanned by Sophos Anti Virus
Right: "struts2-rest-showcase" works fine with tomcat 7 and 8.0.5.
Thank you :)
El vie 25 abr 2014 12:41:16 CEST, Lukasz Lenart escribió:
2014-04-25 10:28 GMT+02:00 Antonio Sánchez :
1. So, RESTful plug-in is just for implementing web services in Struts2,
isn't it?
Basically yes, how you wil
2014-04-25 10:28 GMT+02:00 Antonio Sánchez :
> 1. So, RESTful plug-in is just for implementing web services in Struts2,
> isn't it?
Basically yes, how you will use it is up to you :-)
> 2. IMHO, a more detailed documentation would help newbies understand how-to
> use REST plugin. Specially, expla
nart escribió:
2014-04-24 20:16 GMT+02:00 Antonio Sánchez :
Hello.
1. Nowadays: Is RESTful the most recommended approach for implementing CRUD
applications with Struts2? Or is it equivalent to old CRUD style? What are
you doing in your new projects?
No, if your application is a simple CRUD I
Wiki updated
https://cwiki.apache.org/confluence/display/WW/REST+Plugin
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
2014-04-24 20:16 GMT+02:00 Antonio Sánchez :
> Hello.
>
> 1. Nowadays: Is RESTful the most recommended approach for implementing CRUD
> applications with Struts2? Or is it equivalent to old CRUD style? What are
> you doing in your new projects?
No, if your application is a
Hello.
1. Nowadays: Is RESTful the most recommended approach for implementing
CRUD applications with Struts2? Or is it equivalent to old CRUD style?
What are you doing in your new projects?
2. Where can I find detailed documentation about RESTful with Struts2?
IMHO, current REST plugin
2014-01-28 Chris :
> Thanks, But I 'm not sure to understand .
> Do I have to stop to use Struts2 ?
> I don't want to use java persistence framework
> I just try to find a CRUD example without Java persistence framework.
Struts2 is all about web development - that
Thanks, But I 'm not sure to understand .
Do I have to stop to use Struts2 ?
I don't want to use java persistence framework
I just try to find a CRUD example without Java persistence framework.
Regards
Le Lundi 27 janvier 2014 17h37, Lukasz Lenart a écrit
:
2014-01-27 Chris :
>
2014-01-27 Chris :
> Hello,
> Do you know, where we can read a 2.3.16 version of
> http://struts.apache.org/release/1.2.x/faqs/database.html ?
It isn't supported in 2.x at all - it was a bad idea from very
beginning, instead you can use Spring, myBatis or JPA directly.
Regards
--
Łukasz
+ 48 60
ame do you want to retrieve ? )
> - the screen with the found names...etc
>
> Regards,
>
> Chris
>
>
>
>
>
> Le Jeudi 23 janvier 2014 7h47, Lukasz Lenart a
> écrit :
>
> 2014/1/22 Chris :
>> Hello,
>>
>> Il would be interesting to begin the CRUD
> écrit :
>
> 2014/1/22 Chris :
>> Hello,
>>
>> Il would be interesting to begin the CRUD example with both a login.jsp and
>> a search.jsp
>
> Not sure what you mean by that :\
>
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.le
Jeudi 23 janvier 2014 7h47, Lukasz Lenart a écrit :
2014/1/22 Chris :
> Hello,
>
> Il would be interesting to begin the CRUD example with both a login.jsp and a
> search.jsp
Not sure what you mean by that :\
Regards
--
Łukasz
+ 48 606 323 122 http://www.l
2014/1/22 Chris :
> Hello,
>
> Il would be interesting to begin the CRUD example with both a login.jsp and a
> search.jsp
Not sure what you mean by that :\
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Hello,
Il would be interesting to begin the CRUD example with both a login.jsp and a
search.jsp
Regards
Le Lundi 13 janvier 2014 11h50, Lukasz Lenart a écrit
:
And the CRUD example has been rewritten to use the latest S2 version
https://issues.apache.org/jira/browse/WW-3993
2014/1
And the CRUD example has been rewritten to use the latest S2 version
https://issues.apache.org/jira/browse/WW-3993
2014/1/13 Lukasz Lenart :
> 2014/1/11 Chris :
>> java.lang.reflect.InvocationTargetException - Class:
>> com.opensymphony.xwork2.inject.ContainerImpl$MethodI
2014/1/11 Chris :
> java.lang.reflect.InvocationTargetException - Class:
> com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector
> File: ContainerImpl.java
> Method: inject
> Line: 301 - com/opensymphony/xwork2/inject/ContainerImpl.java:301:-1
> at org.apache.struts2.dispatcher.Dispatche
nerBuilder$7.call(ContainerBuilder.java:484)
> at
> com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:584)
> at
> com.opensymphony.xwork2.inject.ContainerBuilder.create(ContainerBuilder.java:484)
> at
> com.opensymphony.xwork2.config.impl.De
itter.com/jogep
2014/1/11 Chris
> Hello,
> Are dependencies missing ?
>
> Struts 2 CRUD Example works fine but only in Struts-2.0.6 not in
> Struts-2.3.16
>
> http://struts.apache.org/development/2.x/docs/tutorials.html
> Tutorials / Speciality / CRUD Made Easy / CRUD Demo I /
classpath! Please add missed dependency!
Best Regards
Johannes
#
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep
2014/1/11 Chris
> Hello,
> Are dependencies missing ?
>
> Struts 2 CRUD Example works fine but only in Struts
2014/1/11 Chris
> Hello,
> Are dependencies missing ?
>
> Struts 2 CRUD Example works fine but only in Struts-2.0.6 not in
> Struts-2.3.16
>
> http://struts.apache.org/development/2.x/docs/tutorials.html
> Tutorials / Speciality / CRUD Made Easy / CRUD Demo I / Struts 2
Hello,
Are dependencies missing ?
Struts 2 CRUD Example works fine but only in Struts-2.0.6 not in Struts-2.3.16
http://struts.apache.org/development/2.x/docs/tutorials.html
Tutorials / Speciality / CRUD Made Easy / CRUD Demo I / Struts 2 CRUD Example
Old jar files :
commons-beanutils-1.7.0
This is the one that generates crud app from database, as posted here weeks
ago:
http://struts2builder.sourceforge.net
J.
On Fri, Jul 6, 2012 at 6:42 PM, Oscar Alvarez wrote:
> Take a look at AppFuse.
>
> http://appfuse.org/display/APF/Home
>
> 2012/7/5 Mitch Claborn
>
>
Take a look at AppFuse.
http://appfuse.org/display/APF/Home
2012/7/5 Mitch Claborn
> I thought I saw a reference fairly recently to a Struts CRUD generator -
> generates a complete struts application for database manipulations. Can
> someone point me in the right direction?
http://struts2builder.sourceforge.net
On Thu, Jul 5, 2012 at 8:42 PM, Mitch Claborn wrote:
> I thought I saw a reference fairly recently to a Struts CRUD generator -
> generates a complete struts application for database manipulations. Can
> someone point me in the right direction?
I thought I saw a reference fairly recently to a Struts CRUD generator -
generates a complete struts application for database manipulations. Can
someone point me in the right direction?
mitch
-
To unsubscribe, e-mail: user
On Thu, Jun 10, 2010 at 07:47:13PM +0100, Ken wrote:
> On Thu, 2010-06-10 at 17:38 +0100, Jan T. Kim wrote:
>
> > Dear List,
> >
> > is there any technique / package / whatever to set up some basic CRUD
> > functionality for a group of persistent classes?
> >
t;> is there any technique / package / whatever to set up some basic CRUD
>> functionality for a group of persistent classes?
>>
>> The idea I have is similar to that of a web based facility similar to
>> those GUI database browsers and editors. In principle this this coul
On Thu, 2010-06-10 at 17:38 +0100, Jan T. Kim wrote:
> Dear List,
>
> is there any technique / package / whatever to set up some basic CRUD
> functionality for a group of persistent classes?
>
> The idea I have is similar to that of a web based facility similar to
> those
Dear List,
is there any technique / package / whatever to set up some basic CRUD
functionality for a group of persistent classes?
The idea I have is similar to that of a web based facility similar to
those GUI database browsers and editors. In principle this this could
be realised using
lucky
;-)
bruno
--
From: "adam pinder"
Sent: Thursday, April 01, 2010 6:19 PM
To:
Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3
so it looks like your issue is more to do with the child values not bei
seems unnecessary as struts2 should handle it, but as i say i couldn't get it
to do it with arraylists i was using.
> From: brgrandj...@live.fr
> To: user@struts.apache.org
> Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3
er.hasNext();) {
Child c = (Child) iter.next();
if (c.getId() == idx) return c;
}
return null;
}
public void setValues(Set lst) {
values = lst;
}
}
So I do not understand the ognl.NoSuchPropertyException I got after submission..
> From: apin...@hotmail.co.uk
> To: user@struts.apache.
com.opensymphony.xwork2.ognl.accessor.XWorkCollectionPropertyAccessor.getProperty(XWorkCollectionPropertyAccessor.java:80)
at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1643)
..
Setting params
Do u see something wrong??
> From: apin...@hotmail.co.uk
> To: user@struts.apache.org
> S
PreparedStatement (open PreparedStatements: 0, globally: 0)
delete from PARENT_CHILD where PARENT_ID=?
done deleting collection
> From: apin...@hotmail.co.uk
> To: user@struts.apache.org
> Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3
> Date: Thu, 1
bject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3
> Date: Thu, 1 Apr 2010 14:51:40 +0200
>
>
> thks adam but I got now thousand & thousand of lines
>
> I am afraid that I won't be able to read its before the end of the world in
> 2012..
>
&
ny.xwork2.interceptor.ParametersInterceptor=debug
> From: apin...@hotmail.co.uk
> To: user@struts.apache.org
> Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3
> Date: Thu, 1 Apr 2010 12:57:39 +0100
>
>
>
>
> in log4j.properties file (same
rom: brgrandj...@live.fr
> To: user@struts.apache.org
> Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3
> Date: Thu, 1 Apr 2010 13:54:33 +0200
>
>
> Dear Adam,
>
>
>
> I just added a public Child getValues(int idx) in the Parent class def
gt; To: user@struts.apache.org
> Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3
> Date: Thu, 1 Apr 2010 12:18:48 +0100
>
>
>
>
> turn on the parameterinterceptor logging and make sure as mentioned that
>
> 1) the values you expect for
fr
> To: user@struts.apache.org
> Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3
> Date: Thu, 1 Apr 2010 12:16:09 +0200
>
>
> Dear René
>
>
>
> I changed my jsp page so as to integrate the following block:
>
>
>
>
&
setParent(Parent cl) {
this.cl = cl;
}
public List getParentList() {
return clList;
}
public void setParentList(List clList) {
this.clList = clList;
}
}
> Date: Thu, 1 Apr 2010 11:30:23 +0200
> From: gie...@it-neering.net
> To: user@struts.apache.org
> Subject: Re: CRUD with a OneT
or to work properly when applying the posted
values.
See here for more details:
http://struts.apache.org/2.1.8/docs/tabular-inputs.html
- René
bruno grandjean schrieb:
> Dear Rene,
>
> Thks a lot for replying to me because I am feeling a little bit alone with
> my CRUD ;-). In fa
.
All the best
Bruno
> From: apin...@hotmail.co.uk
> To: user@struts.apache.org
> Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3
> Date: Thu, 1 Apr 2010 07:46:59 +0100
>
>
>
> have you got the correct cascade setting on the parent object
any sql to
update/save children is actually being created.
> From: brgrandj...@live.fr
> To: user@struts.apache.org
> Subject: Re: CRUD with a OneToMany association under Struts 2 / Hibernate 3
> Date: Wed, 31 Mar 2010 22:15:34 +0200
>
> D
Dear Rene,
Thks a lot for replying to me because I am feeling a little bit alone with
my CRUD ;-). In fact I am trying to build a dynamic MetaCrud.
My pb is simple: in the same jsp page I would like to update a Parent object
and its Childs (values
Dear Rene,
Thks a lot for replying to me because I am feeling a little bit alone with
my CRUD ;-). In fact I am trying to build a dynamic MetaCrud.
My pb is simple: in the same jsp page I would like to update a Parent object
and its Childs (values):
name="name"
I'm not sure if I understand what your actual question is, nor whether
it is particularly Struts 2 related (rather than just Hibernate) - but
you might want to have a look in the CRUD demo section of the Struts 2
showcase application. Maybe you will also find this demo useful:
http://githu
Hi
I am trying to implement a simple CRUD with a OneToMany association under
Struts 2 / Hibernate 3.
I have two entities Parent and Child:
@Entity
@Table(name="PARENT")
public class Parent {
private Long id;
private Set values = new HashSet();
..
@Entity
@Table(name="CHILD
I believe AppFuse 2.x can help you. Go google it. It is a code
generator that will create model objects and Struts actions out of
your database schema.
Paul
On Sat, Jan 2, 2010 at 3:48 PM, nani2ratna wrote:
>
> Hi,
>
> I need to do CRUD operations for almost 100 tables in 9 schema
Hi,
I need to do CRUD operations for almost 100 tables in 9 schemas but in one
web application.
I am using struts 2, spring and ibatis.
I can do this by writting 100 jsp's, 100 actions and so on.
There is no common column in those tables.
Can any body have any idea to do this.
Is there b
at 1:03 PM, jill juneja wrote:
> I downloaded crud app from
> http://struts.apache.org/2.x/docs/crud-demo-i.html
>
> Every thing is working but - in s:url paramter is not being passed. I tired
> every thing.
>
> But employee object is always null despite it show in url cor
I downloaded crud app from
http://struts.apache.org/2.x/docs/crud-demo-i.html
Every thing is working but - in s:url paramter is not being passed. I tired
every thing.
But employee object is always null despite it show in url correctly.
In url it shows -
http://149.10.178.12:8990/crud/crud
le that would generate basic Struts 2 CRUD functionality for me.
>
> Regards
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
t the database set up and
> the Entity classes are all defined. I was wondering if there was a tool
> available that would generate basic Struts 2 CRUD functionality for me.
>
> Regards
>
> -
>
I'm experimenting with Struts 2 and OpenJPA. I've got the database set up and
the Entity classes are all defined. I was wondering if there was a tool
available that would generate basic Struts 2 CRUD functionality for me
Can't you just add a parameter to the redirect action in you xml file?
That way you can 'pass' the sampleString to the redirect action and
can display it upon rendering the jsp.
On 4/20/09, Bhaarat Sharma wrote:
> yeah it is a redirectAction :( so now i know why the value for the string is
> not
yeah it is a redirectAction :( so now i know why the value for the string is
not there.
Any workarounds to this issue?
One I thought of is to set an attribute and retrieve it in the jsp page?
Thanks
On Mon, Apr 20, 2009 at 3:57 PM, Dave Newton wrote:
> If it's a "redirectAction" then the acti
If it's a "redirectAction" then the action will be re-instantiated.
Dave
Bhaarat Sharma wrote:
sorry about the typo. as i was trying to give an example and not just copy
paste the code I made a mistake.
This is what I have in my jsp page.
I have verified whether it is because of a typograph
I just debugged the code and it seems like the doSave method is called when
'Submit' is hit on the edit page. However, since the doSave is returning
Success and based on struts.xml it will redirect to action index then the
prepare method for EmployeeAction class is called again and at this time
sa
sorry about the typo. as i was trying to give an example and not just copy
paste the code I made a mistake.
This is what I have in my jsp page.
I have verified whether it is because of a typographical error but it is
not. And since you are saying it cant be because I am just calling a
particula
Bhaarat Sharma wrote:
What I wanted to do was that when user edits something and comes back to the
listing page, they see a message on top saying id XXX has been modified.
However, I think this is not possible because a method name is mentioned in
struts.xml. Is that correct?
No.
to try it o
hi guys,
i was using the example crud application (
http://struts.apache.org/2.0.14/docs/crud-demo-i.html) as the skeleton for a
CRUD like module in my site.
But I've ran into a dead end.
in this sample applications the package is like this:
configure your application to allow
>> the bang (!) notation, the client gets to choose *any* of the
>> public methods on your action and use them as action methods as opposed to
>> you listing what your action methods are explicitly.
>> So?the developer has to be cautious becaus
on the
> action become fair game.
> Chris?
>
>
> -Original Message-
> From: Dave Newton
> To: Struts Users Mailing List
> Sent: Tue, 14 Apr 2009 2:25 pm
> Subject: Re: sample CRUD application question
>
>
> Bhaarat Sharma wrote:?
> > so what would be a wa
cautious because all public methods on the action
become fair game.
Chris?
-Original Message-
From: Dave Newton
To: Struts Users Mailing List
Sent: Tue, 14 Apr 2009 2:25 pm
Subject: Re: sample CRUD application question
Bhaarat Sharma wrote:?
> so what would be a way to avoid that??
>
Bhaarat Sharma wrote:
Again, for reference here is the link for the sample application wiki:
http://struts.apache.org/2.0.14/docs/crud-demo-i.html
In this sample there is a page called employee.jsp where there is a link for
Edit. code is
I will definitely look into that.
I have another question regarding this same sample.
Again, for reference here is the link for the sample application wiki:
http://struts.apache.org/2.0.14/docs/crud-demo-i.html
In this sample there is a page called employee.jsp where there is a link for
Edit
Spring Security is worth every minute of the learning curve, too.
M.
-Original Message-
From: Bhaarat Sharma [mailto:bhaara...@gmail.com]
Sent: Tuesday, April 14, 2009 2:08 PM
To: Struts Users Mailing List
Subject: Re: sample CRUD application question
so what would be a way to avoid
Bhaarat Sharma wrote:
so what would be a way to avoid that?
use this instead?
I don't see any difference there.
I'm not sure what the original response had in mind; the same thing
could happen with a POST form.
Normally one would check for delete access rights on the server si
tabase in an adhoc
> fashion.
> Chris M
>
>
>
>
>
>
>
> -Original Message-
> From: Bhaarat Sharma
> To: Struts Users Mailing List
> Sent: Tue, 14 Apr 2009 11:03 am
> Subject: Re: sample CRUD application question
>
>
>
> oh cool so i can just a
am
Subject: Re: sample CRUD application question
oh cool so i can just add method parameter myself.
damn the shorthands. we need a wiki that explains all these
On Tue, Apr 14, 2009 at 11:01 AM, Security Management <
list-subscripti...@secmgmt.com> wrote:
> I *think* it's the
Bhaarat Sharma wrote:
oh cool so i can just add method parameter myself.
damn the shorthands. we need a wiki that explains all these
There *is* a wiki that explains all these.
See the "Dynamic Method Invocation" section:
http://struts.apache.org/2.0.14/docs/action-configuration.html
Dave
-
s, the equivilant of:
>
>
>
>
> Mike.
> -Original Message-
> From: Bhaarat Sharma [mailto:bhaara...@gmail.com]
> Sent: Tuesday, April 14, 2009 10:55 AM
> To: Struts Users Mailing List
> Subject: sample CRUD application question
>
> I was lo
I *think* it's the method name of the action?
In other words, the equivilant of:
Mike.
-Original Message-
From: Bhaarat Sharma [mailto:bhaara...@gmail.com]
Sent: Tuesday, April 14, 2009 10:55 AM
To: Struts Users Mailing List
Subject: sample CRUD application question
On Tuesday 14 April 2009 10:55:06 Bhaarat Sharma wrote:
>
> I am lost as to why
> shouldnt the action be just "crud" what does the exclamation mark and
> delete do?? is that a shorthand for something or is that just an action
> name and if it is an action name then
I was looking at the CRUD sample application in struts2
http://struts.apache.org/2.0.14/docs/crud-demo-i.html
in one of the jsp's they have this code
and some part of the struts.xml is:
index
/WEB-INF/jsp/employeeFor
interceptor checks the actionErrors and
> fieldErrors and, if any of them is not empty, performs a Hibernate/JPA
> session clear.
>
> Best regards,
>
> Fabiano Franz
> http://fabianofranz.com
> http://literar.org
> http://pribi.com.br
>
>
--
View this mes
2008/12/5 Vinoth.t <[EMAIL PROTECTED]>:
> private String city;
>
>public Employee(Integer employeeId, String firstName, String lastName,
>Integer age, Department department, String city) {
>this.employeeId = employeeId;
>this.firstName
Hi,
I'm new to Struts. I extract struts-crud.war file in TomCat's webapps
folder. Its work fine I changed jsp file to add a field but it shows error
msg.
First I add a field in emplkoyeeForm.jsp as follow
I added a line in classes/guest.property as follow
label.city=City
In s
it fails it will run
>> prepareEdit.
>>
>> On 11/29/08, Adam Ruggles <[EMAIL PROTECTED]> wrote:
>>>
>>> I have a problem I'm trying to solve when the validation fails on a crud
>>> action. This action has add/create, edit/update, and list meth
11/29/08, Adam Ruggles <[EMAIL PROTECTED]> wrote:
>>
>> I have a problem I'm trying to solve when the validation fails on a crud
>> action. This action has add/create, edit/update, and list methods that
>> all
>> get called correctly. Now when the validation fail
--- On Sat, 11/29/08, Burton Rhodes <[EMAIL PROTECTED]> wrote:
> Just a thought but why don't put a redirect acrtion in your result
> 'input' on your update action. That way if it fails it will run
> prepareEdit.
Under default circumstances you'd lose your error messages.
Dave
Just a thought but why don't put a redirect acrtion in your result
'input' on your update action. That way if it fails it will run
prepareEdit.
On 11/29/08, Adam Ruggles <[EMAIL PROTECTED]> wrote:
>
> I have a problem I'm trying to solve when the validation fails
prepareWhenErrors" or something.
>
> Dave
>
> --- On Sat, 11/29/08, Adam Ruggles <[EMAIL PROTECTED]> wrote:
>> I have a problem I'm trying to solve when the validation
>> fails on a crud
>> action. This action has add/create, edit/update, and
olve when the validation
> fails on a crud
> action. This action has add/create, edit/update, and list
> methods that all
> get called correctly. Now when the validation fails I have
> a list of items
> that I need loaded. Right now I have a prepareEdit and
> prepareAdd meth
I have a problem I'm trying to solve when the validation fails on a crud
action. This action has add/create, edit/update, and list methods that all
get called correctly. Now when the validation fails I have a list of items
that I need loaded. Right now I have a prepareEdit and prepa
s?
>>
>> /Leo
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
>
scribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
-----
Blog: http://www.ryanwong.name
Can Use: English, Chinese
--
View this message in context:
http://www.nabble.com/RESTful-Crud-cl
ned within this transmission.
> Date: Sun, 19 Oct 2008 00:02:06 +0200
> From: [EMAIL PROTECTED]
> To: user@struts.apache.org
> Subject: RESTful Crud clean url:s, advanced howto anybody?
>
> Hey!
>
> I've been looking around quite some time for a solution how to buil
Hey!
I've been looking around quite some time for a solution how to build a
neat REST driven web application. What I basically want to do is
something like this:
GET /item/user/category/name
Should map to ItemController which has the properties user (username,
or id per default), category and na
--- On Fri, 10/10/08, Alberto Flores wrote:
> prototype: Scopes a single bean definition to any number of
> object instances.
>
> request: Scopes a single bean definition to the lifecycle
> of a single HTTP request; that is each and every HTTP request
> will have its own instance of a bean create
So, from the Spring documentation:
prototype: Scopes a single bean definition to any number of object
instances.
request: Scopes a single bean definition to the lifecycle of a single
HTTP request; that is each and every HTTP request will have its own
instance of a bean created off the back o
--- On Fri, 10/10/08, Alberto Flores <[EMAIL PROTECTED]> wrote:
> Don't you mean scope="request" and not "prototype"?
No, "prototype" is the correct scope for action beans.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
om: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: 09 October 2008 17:20
To: Struts Users Mailing List
Subject: RE: Struts 2 CRUD Question
--- On Thu, 10/9/08, Gawain Hammond wrote:
Does struts create a new object for every submit? And under
what circumstance would it not?
Actions are created per-requ
; From: Dave Newton [mailto:[EMAIL PROTECTED]
> Sent: 09 October 2008 17:20
> To: Struts Users Mailing List
> Subject: RE: Struts 2 CRUD Question
>
> --- On Thu, 10/9/08, Gawain Hammond wrote:
> > Does struts create a new object for every submit? And under
> > what circumstan
long shot, but I'm stumped. I've not written any custom
interceptors or anything, it's all pretty bog standard actions and
struts forms.
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: 09 October 2008 17:20
To: Struts Users Mailing List
Subject: R
1 - 100 of 153 matches
Mail list logo