Deploying Tiles in a S2 app is just like doing it in a completely
Struts-free app. The Tiles site has instructions, but the last time I
looked, they needed a lot of work. What you need to do, basically, is
have the S2 result call SOME_TILE.tiles, and the Tiles Servlet, which
is mapped to
From within a Struts web app, is there a way to access the elements of
server.xml at run-time, specifically the Connector element(s) information?
Thanks,
Brian Barnett
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
On Thursday 23 August 2007 23:43:40 Pavel Sapozhnikov wrote:
Hi everybody. I remember in Struts1 we have those things ActionForms and
when you submit a form everything gets copied to into a form in fact you
can make your own form in Struts1. Is the same possible in Struts2 for
instance I heard
I also think about using Model-Driven interceptor.
If some properties are in the action bean (e.g. hidden fields) and
others in the model bean, will both be populated, because both object
are found on the stack? If so, is the model object the upmost stack element?
kuvera
Piero Sartini írta:
On
Following up on my quest for Authentication and Authorization in web apps, I
found out two approaches with JAAS.
The first one is described here:
http://www.jroller.com/tomdz/entry/using_jaas_with_struts_a
http://www.jroller.com/tomdz/entry/using_jaas_with_struts_a
and it basically involves
Je serai absent(e) du 24/08/2007 au 12/09/2007.
Hi,
am trying to use datagrid from struts-layout tags. While
running the code am getting exception shown below
javax.servlet.jsp.JspException: No getter method available for property
datagrid for bean under name org.apache.struts.taglib.html.BEAN
But i wrote setters and getters for
Just meant that I don't use other APIs/framework (JAAS, Acegi...) than what
Struts 2 architecture offers. Of course I had to develop my own
interceptors, but that's pretty straightforward.
-Message d'origine-
De : Alvaro Sanchez-Mariscal [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 23 août
Hi
My form Bean has an ArrayList say List1 which has objects of type Object1. The
Object1 contains arraylist List2 which has objects of type Object2. The Object2
in turn contains an ArrayList List3 which has objects of type Object3. The
Object3 has variables say v1, v2,v3 which are populated
On Friday 24 August 2007 12:29:23 Laszlo Borsos wrote:
If some properties are in the action bean (e.g. hidden fields) and
others in the model bean, will both be populated, because both object
are found on the stack? If so, is the model object the upmost stack
element?
I am not sure if both
Hey Ray thanks. When you put that document together could you give me a link
to it or what not. Thanks.
On 8/24/07, Ray Clough [EMAIL PROTECTED] wrote:
Deploying Tiles in a S2 app is just like doing it in a completely
Struts-free app. The Tiles site has instructions, but the last time I
Hey,
I'm building one applications that have a lot of tabbedPanel. My
questions is, I need to make some navigation inside the div's, but I
only need that reload some part of the div, no all the page. Also when I
have submit button for any form I need to show inside the div, the
answer of the
Hi
My app is using Struts 1.02 and I've moved it onto a Tomcat 5.5.23 and Java 5
platform, previous it worked fine on
Java 1.4 and Tomcat 4.1 platform.
Now I get the following error message, and one of my Logon Action Mappings
doesn't work, the rest of the
application runs fine though.
Any
Thank you. Actually that's exactly what I meant and what I need.
Piero Sartini írta:
On Friday 24 August 2007 12:29:23 Laszlo Borsos wrote:
If some properties are in the action bean (e.g. hidden fields) and
others in the model bean, will both be populated, because both object
are found on
Hi
I have a struts 1.2.4 application, and i have log4j.jar and
commons-logging.jar in classpath
In my application i use log4j for logging,
i wanted to know what would be effect of removing commons-logging.jar file
from classpath
Hi,
Consider I have an s:select tag which has the entries a,b,c,d,e in that order.
the select tag is populated by a method wich returns a string array containing
a-e. the name of the string array is assigned to the list attribute of s:select
. now I set 'c' as selected by explicitly specifying
Impossible. Struts is built with Commons Logging.
On 8/24/07, Ashish Kulkarni [EMAIL PROTECTED] wrote:
Hi
I have a struts 1.2.4 application, and i have log4j.jar and
commons-logging.jar in classpath
In my application i use log4j for logging,
i wanted to know what would be effect of removing
Hi
How do i configure sturts logging then, i have a log4j.properties file where
i set my application logging, can i use the same for struts logging
Ashish
On 8/24/07, Paul Benedict [EMAIL PROTECTED] wrote:
Impossible. Struts is built with Commons Logging.
On 8/24/07, Ashish Kulkarni [EMAIL
Just drop a log4.properties or log4j.xml in the root of your classpath.
On 8/24/07, Ashish Kulkarni [EMAIL PROTECTED] wrote:
Hi
How do i configure sturts logging then, i have a log4j.properties file
where
i set my application logging, can i use the same for struts logging
Ashish
On
Hi,
Is it possible to have actions with the same name but different
packages namespaces?
package name=dashboard extends=hidra3-default
action name=main
result/WEB-INF/jsp/dashboard/main.jsp/result
/action
/package
package name=search extends=hidra3-default
action name=main
Néstor Boscán wrote:
I created a code based on the WebWork code that can invoke a Struts 2 Action
from DWR. You can invoke it just like the WebWork version and you can use
DWRActionUtil.js. It does not do everything that the WebWorks code does, it
invokes de Action method and returns the Action
Hi
I created a code based on the WebWork code that can invoke a Struts 2 Action
from DWR. You can invoke it just like the WebWork version and you can use
DWRActionUtil.js. It does not do everything that the WebWorks code does, it
invokes de Action method and returns the Action object. Hope
I have a struts 1.2.4 application, and i have log4j.jar and
commons-logging.jar in classpath In my application i use log4j for logging,
i wanted to know what would be effect of removing commons-logging.jarfile
from classpath
Commons Logging isn't really a logger itself. It is a framework
hi,
can anybody help me in creating struts data grid. The layout
tags in jsp is unable to find getter method for datagrid bean.
--
Regards,
Venu madhav.Yelamanchili
Developer,
WCS Team,
Miracle Software Systems,
[EMAIL PROTECTED]
Ph.No:+919963503613
Hi,
How do we make variables set by struts tags available to scriptlets? . In
Struts 1 , we could set an object using bean:define and access it within a
scriptlet ? ; what's the equivalent for S2 ?
In the app i'm converting to S2, there's a lot of scriptlet code and we are
trying to retain that
The best thing to do would be to get rid of the scriptlets. Barring
that, though, you could use the Struts 2 set tag to set a request
attribute, then in the scriptlet do something like this:
%
String myVar = request.getAttribute(myVar);
%
There's probably a faster way by accessing the
--- MARollins [EMAIL PROTECTED] wrote:
I'm having a problem whereby objects saved on the
Session are visible to other sessions.
For example, the login page saves a new User object
on the session using session.put (I have a base
class
for all my Actions which implements SessionAware in
Hi,
I need to know if I can use two validation file for two action but for
the others methods use another. For example:
I have the method save() , update() and delete(), I need to use the same
validation file to save and update but for delete I need to use another
one.
Some knows ???
Hey does anyone know which tag in struts2 would be equivalent to the tag
logic:messagesNotPresent in struts1. Thanks.
--
Pavel Sapozhnikov
xFact, Inc
[EMAIL PROTECTED]
I am running everything from one machine, but access the app from different
browsers in order to get different sessions (ie IE and Firefox). I have
tried the second user from another machine and it didn't make any
difference.
The app also uses Spring, but I have configured this to give me a new
Hello All,
I'd like to simply return some text from a Action w/o redirecting to a
page. I did this sort of thing in Struts1 by using the response's
PrintWriter and returning null from the Action's execute method.
From the documentation, I'd expected that a return type of xslt w/o
the
I'd like to simply return some text from a Action w/o redirecting to a
page. I did this sort of thing in Struts1 by using the response's
PrintWriter and returning null from the Action's execute method.
You can do it exactly the way you did in Struts 1 (or mostly anyway).
If you implement
Yeah, i was also looking how to get it from valuestack ; Getting rid of
scriptlets may be too much work, but i will definitely consider that.
On 8/24/07, Crume, Adam [EMAIL PROTECTED] wrote:
The best thing to do would be to get rid of the scriptlets. Barring
that, though, you could use the
Resending...
In S1, we used to have a servlet that loads the properties into VOs on
startup, and we use that in the JSP. I'm thinking if we can get rid of this
step completely and directly load the properties using S2 tags.
Also, can we reload the properties without restarting the app?
On
Sorted. Thanks Rene for the help.
Rene Gielen wrote:
s:url value=%{getText('anon.page.home.banner')}/
should do the trick.
JM schrieb:
Greetings,
I want to get the text of an url from a resource bundle. I have the
following test snippet from a jsp:
s:text
You have some cross-talk somewhere in your code, by the sound of it.
Take a look at any code that touches the session; you probably have
something somewhere that's at the wrong scope (in application scope when
it should be session/request, a Spring bean accidentally configured as
singleton
36 matches
Mail list logo