Hi,
I can not make Tiles work with the 2.0.5, and I have the same problem with
the Showcase app bundled with this version. It is exactly the same log :
org.apache.jasper.JasperException: /common/layoutTemplate.jsp(8,9) Aucun
tag attribute dans la librairie de tag importée avec le préfixe tiles
Hi Dave
I finally found quite the same solution (but without the interface control)
, and it works great.
Thank you for your answer.
Sebastien
On 2/9/07, Dave Newton [EMAIL PROTECTED] wrote:
--- Sébastien LABEY [EMAIL PROTECTED] wrote:
I would like to forward some values from the
interceptor
Hi all,
I've already asked for this problem, but I did not have any answer, I think
my explanation was not very clear...
I have an interceptor that makes some controls and in the case these
controls are not OK, the interceptor redirects to a special action. I would
like to forward some values
Hi all experts,
I've the following problem : I have an Interceptor whose goal is to check if
the user is logged and do some controls. If the user is not logged, the
Interceptor returns to the login page, and after having logged-in the user
may be redirect to the action he asked before the
Hi all,
I would like to know if S2 provides a solution to manage user
authentication.
I also would like to know if someone could lead me to best practice for user
creation / authentication to a web application. I'm worried about security
after the user has logged in, because of the parameters
Hi all (sorry for the previous unterminated mail),
I would like to know if S2 provides a solution to manage user
authentication.
I also would like to know if someone could lead me to best practice for user
creation / authentication to a web application. I'm worried about security
after the user
requests, you can check the user
object in the session to determine which user did log in. This works for
S1, but I'd think that it's the same in S2.
Cheers,
Thorsten
-Original Message-
From: Sébastien LABEY [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 31, 2007 8:22 PM
To: Struts
implementation, we
kept the database queries and always retrived the business object, but
then compared the business objects' user to the user logged in (and
throw an Exception if they are not equal).
HTH,
Thorsten
-Original Message-
From: Sébastien LABEY [mailto:[EMAIL PROTECTED]
Sent: Wednesday
management system; S2 is one of its many
mvc options
even if you don't use appfuse it is a good source to pick up ideas about
how
to setup all the layers
HTH
Sébastien LABEY wrote:
Hi all (sorry for the previous unterminated mail),
I would like to know if S2 provides a solution to manage user
PROTECTED] wrote:
From: Sébastien LABEY [mailto:[EMAIL PROTECTED]
I know that getParameters().get(myParamater) returns an array of
objects,
but isn't it supposed to return not only String[], but arrays of
Objects
depending on the type described (if described) for the parameter
through
getter
Hi all,
I've experienced something that I think strange, but I would like to know if
it is a normal behavior.
I'm using Struts 2.0.1 with the default interceptors configuration.
I have a generic Action that implements ParametersAware (and
ServletRequestAware and SessionAware) and I have the
Newton [EMAIL PROTECTED] wrote:
From: Sébastien LABEY [mailto:[EMAIL PROTECTED]
[...] when I use getParameters().get(id), I receive a String[]...
getParameters is plural; it returns as many ids as it can in an array,
even if there's just the one.
Dave
for ServletContextListener
BTW, this is the approach Spring, MyFaces, and I imagine many other
frameworks and applications use to load their data on startup.
Don
On 12/13/06, Sébastien LABEY [EMAIL PROTECTED] wrote:
Thank you Don,
In fact, I don't want to have the name of my properties file to be hard
coded
Hi all,
I'd like to load a file containing the parameters to connect to DB at the
application startup. In the S2 documentation I read about the key
initialization parameters (http://struts.apache.org/2.x/docs/webxml.html)
and so I add the 2 lines init-param to my web.xml like this :
filter
/db.properties, then load it in your Java code via:
Properties props = new Properties();
props.load(this.getClass
().getClassLoader().getResourceAsStream(/db.properties);
and away you go...
Don
On 12/13/06, Sébastien LABEY [EMAIL PROTECTED] wrote:
Hi all,
I'd like to load a file containing the parameters
for this problem?
Thanks in advance.
Sebastien
Sébastien LABEY
Division Immobilier
RD IKOS
04.72.18.47.07
mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
20, chemin du Randin - B1 - 69130 Ecully
P Avant d'imprimer, ayez une pensée pour notre environnement
Hi Kim,
No, sorry, no resolution to this :-(
I'm waiting for an answer. I hope David will have a solution soon...
If ever you find something to help, could you post it?
Thanks.
Sebastien
On 11/27/06, Kim [EMAIL PROTECTED] wrote:
On 11/22/06, Sébastien LABEY sebastien.labey at gmail.com
/struts/tiles/tiles-core/
Let me know if you need more info.
David
Sébastien LABEY wrote:
Hi all,
I've been trying for the past 2 days to configure Struts2 to work with
tiles. In the Struts 2.0.1 release, I found the jar to deal with tiles
that
was not included in the Struts2.0.0-SNAPSHOT
listener in the web.xml, Tomcat starts, my
webapp works, but when I ask for a page build with tiles, I have a
ClassDefNotFoundException on the TilesContext class...
Maybe this can help you to help me ;-)
Sebastien
On 11/22/06, Sébastien LABEY [EMAIL PROTECTED] wrote:
Hi David,
Thank you
Sorry :
java.lang.NoClassDefFoundError: org/apache/tiles/TilesContext...
On 11/22/06, Sébastien LABEY [EMAIL PROTECTED] wrote:
David,
I downloaded the struts2-core-2.0.2-SNAPSHOT-20061122.jar and the
tiles-core-2.0-SNAPSHOT-20061122.jar as you told me in your previous mail,
but it doesn't
Hi all,
I've been trying for the past 2 days to configure Struts2 to work with
tiles. In the Struts 2.0.1 release, I found the jar to deal with tiles that
was not included in the Struts2.0.0-SNAPSHOT release (
struts2-tiles-plugin-2.0.1.jar), but in the end I can't resolve this error
that is
where I can find it?
Thank you very much.
Sebastien
On 11/15/06, Wendy Smoak [EMAIL PROTECTED] wrote:
On 11/15/06, Sébastien LABEY [EMAIL PROTECTED] wrote:
I don't understand how to configure Tiles2 (with Struts 2.0.0).
I have downloaded a tiles-core-2.0-SNAPSHOT.jar in
http://people.apache.org
Hi all,
I don't understand how to configure Tiles2 (with Struts 2.0.0).
I have downloaded a tiles-core-2.0-SNAPSHOT.jar in
http://people.apache.org/maven-snapshot-repository/org/apache/struts/tiles/tiles-core/2.0-SNAPSHOT/and
put it in my /WEB-INF/lib directory (maybe, I should have renamed it
Hi all,
I need to display and submit a form with 3 levels of indexed properties. The
3 indexed properties are not constant in size. I have a form with a
MyObject1[] array with getters and setters for indexed properties. MyObject1
object has a List of MyObject2 objects and MyObject2 has a List of
+and+Wait+Interceptor
HTH, Ted.
* http://www.husted.com/struts/
On 10/13/06, Sébastien LABEY [EMAIL PROTECTED] wrote:
Hi,
Is it always possible with Struts2 to manage the Token manually with
saveToken(), resetToken().. ? I'm trying to upgrade from Struts1.2.8 to
Struts2.0, and I would like
Hi,
Is it always possible with Struts2 to manage the Token manually with
saveToken(), resetToken().. ? I'm trying to upgrade from Struts1.2.8 to
Struts2.0, and I would like not to modify all the existing (and working)
code...
I've seen there is a TokenTag to put a token (into request I suppose)
OK I'm a little surprised because so many parameters are defined with
constants, but I will do it with location.
Thanks
On 10/11/06, Don Brown [EMAIL PROTECTED] wrote:
I don't believe there is a constant for the location string; just
use location :)
Don
On 10/11/06, Sébastien LABEY [EMAIL
PROTECTED] wrote:
From: Sébastien LABEY [mailto:[EMAIL PROTECTED]
But with Struts 2, I cannot find how to build these
ActionErrors / ActionError...
ActionSupport exposes getFieldErrors for access to the field-specific map
of errors (key: field name, value: *List* of String error msgs
Hi,
I would like to read the parameters of a ResultConfig. But I can't find the
constant for the parameter location... Someone could guide me?
Thanks.
Sebastien
Hi,
I was used to specify a scope (request or session) for in the action
configuration in struts-config.xml with struts1.x, and I used it to know
where to store some parameters. So my struts-config.xml was like this :
action path=/login
type=xxx.xxx.LoginAction
[EMAIL PROTECTED] wrote:
From: Sébastien LABEY [mailto:[EMAIL PROTECTED]
I was used to specify a scope (request or session) for in the action
configuration in struts-config.xml with struts1.x, and I used it to know
where to store some parameters.
My understanding (as a Struts2 n00b
Hi,
I was using Struts 1.x before and I was used to generate ActionErrors (that
contains ActionError) from the errors returned by my 3rd party side (my own
framework to access DB). But with Struts 2, I cannot find how to build these
ActionErrors / ActionError... what are now the class to deal
32 matches
Mail list logo