that is an awesome site for struts2. has lot of good examples !!
On Jan 19, 2008 2:36 AM, Jayson Joseph Chacko <[EMAIL PROTECTED]> wrote:
> You may find this also useful.
>
> http://www.struts2.org/creating-a-cascading-application-menu-using-struts2-and-yui/
>
>
>
>
> On Jan 18, 2008 6:29 PM, Ted
You may find this also useful.
http://www.struts2.org/creating-a-cascading-application-menu-using-struts2-and-yui/
On Jan 18, 2008 6:29 PM, Ted Husted <[EMAIL PROTECTED]> wrote:
> Check out the Slides and WAR from the AE session.
>
> *
> http://www.StrutsUniversity.org/Coding+Ajax+Applicati
Hi All,
We've are trying to use Struts2 with Spring2 on Webspher 6.1 and JDK 1.5.
Basically we are trying to use session scoped beans from Spring
applicationContext in to Struts2 using Spring DI. but running in to issue.
Following are my config files:
web.xml
=
Thanks friend for ur kind reply.
Naveen
On Jan 19, 2008 4:05 AM, Laurie Harper <[EMAIL PROTECTED]> wrote:
> naveen k wrote:
> > Hi,
> >
> >I am developing web application using struts.
> >I want to create a dynamic tree in a Jsp page that shows some URL's.
> >Is there any tag availab
Hi All,
I am using RAD7.0, JDK 1.5, Struts2 and Spring 2.x. We have been using
Struts1.x and Spring 1.x for a long time now and moving our app to Struts2 +
Spring2
We are trying to have Spring manage all the value objects and action
objects. And so followed steps in Struts document to add struts2
Dave Newton wrote:
--- Chris Pratt <[EMAIL PROTECTED]> wrote:
Make sure you set scope="request" on your Spring action beans or it
will create only one instance of the bean and reuse it forever.
Is that better than setting scope="prototype"?
Equivalent in this case AFAIK, since Struts will cr
Dave Newton wrote:
--- Laurie Harper <[EMAIL PROTECTED]> wrote:
Dave Newton wrote:
--- Chris Pratt <[EMAIL PROTECTED]> wrote:
Make sure you set scope="request" on your Spring action beans or it
will create only one instance of the bean and reuse it forever.
Is that better than setting scope="
carmi_cd wrote:
hi i have a table that has a checkbox, details of the record such as
lastname, firstname with it.
when user selects a record or records using checkbox corresponding to it,
and click the delete button
the record or records selected should be deleted. My problem is it is not
able to
--- Laurie Harper <[EMAIL PROTECTED]> wrote:
> Dave Newton wrote:
> > --- Chris Pratt <[EMAIL PROTECTED]> wrote:
> >> Make sure you set scope="request" on your Spring action beans or it
> >> will create only one instance of the bean and reuse it forever.
> >
> > Is that better than setting scope="
naveen k wrote:
Hi,
I am developing web application using struts.
I want to create a dynamic tree in a Jsp page that shows some URL's.
Is there any tag available in jsp to create it?
If it there, then how i create it with the tags available in jsp?
Which tags i have to use for tha
quinquin2209 wrote:
Hi All,
In my web page main.jsp, I have a form defined, which contains a select box
and a list of checkbox. The page works as follow:
1. user checks on the box to select member to be deleted
2. user presses the submit button
3. Member is deleted from DB
4. Return SUCCESS with
bhaarat Sharma wrote:
Hi,
I\'m new to struts2. we\'r wondering how this can be achieved in S2.
initially we are getting a list from the action class. this list
contains bunch of objects and each object contains bunch of
attributes. In the JSP we iterate over this list and for each Object
we cr
gundakiran wrote:
I am using Struts2.0.8. By default tags like , etc.. giving the value with commas (Ex: 2456 is
displaying as 2,456). I don't want comma to be displayed. One way is to
specify the format in .properties file and set the format such a way that
comma doesn't appear. But I want to
Hi Frans,
Unfortunately at the moment you can't mix conventions within the same
Struts2 webapp. The trouble is the REST plugin overrides a lot of the
default behaviour rather than augmenting it. Right now if your commit to
REST conventions it'll apply to the entire webapp. With some effort i
On Jan 18, 2008 1:40 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> --- Chris Pratt <[EMAIL PROTECTED]> wrote:
> > Is there an OGNL Equivalent to the JSP EL Function?
> >
> > I'd like to be able to do something like:
> >
> >
> >
> > but it doesn't seem to work. Thanks.
>
> Do you mean calling sta
--- Ted Slusser <[EMAIL PROTECTED]> wrote:
> Yes.
You've already solved the problem, but:
(1) You only need to define your actions explicitly if you're wiring them
manually.
(2) Normally action beans are configured to the "prototype" scope (the
current Spring plugin docs [1] are for Spring versio
--- Chris Pratt <[EMAIL PROTECTED]> wrote:
> Make sure you set scope="request" on your Spring action beans or it
> will create only one instance of the bean and reuse it forever.
Is that better than setting scope="prototype"?
d.
--
--- Chris Pratt <[EMAIL PROTECTED]> wrote:
> Is there an OGNL Equivalent to the JSP EL Function?
>
> I'd like to be able to do something like:
>
>
>
> but it doesn't seem to work. Thanks.
Do you mean calling static functions? If so, that's easy.
http://struts.apache.org/2.x/docs/ognl-basics.
Is there an OGNL Equivalent to the JSP EL Function?
I'd like to be able to do something like:
but it doesn't seem to work. Thanks.
(*Chris*)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
> On Jan 18, 2008, at 1:17 PM, Chris Pratt wrote:
>
> >> On Jan 18, 2008, at 1:02 PM, Dave Newton wrote:
> >>> --- Ted Slusser <[EMAIL PROTECTED]> wrote:
> I have a struts2 action that is having some parameters set by the
> parameter interceptor. If I go to a second browser / computer an
Great. thanks. That worked once I added this to the web.xml
org.springframework.web.context.request.RequestContextListener
Does it 'throw away' objects per request? Is this a performance
concern? What about object pooling, etc. I suppose it's easier to
throw it away rather than
> On Jan 18, 2008, at 1:02 PM, Dave Newton wrote:
> > --- Ted Slusser <[EMAIL PROTECTED]> wrote:
> >> I have a struts2 action that is having some parameters set by the
> >> parameter interceptor. If I go to a second browser / computer and
> >> call the action I am seeing the same values on the Act
Yes.
On Jan 18, 2008, at 1:02 PM, Dave Newton wrote:
--- Ted Slusser <[EMAIL PROTECTED]> wrote:
I have a struts2 action that is having some parameters set by the
parameter interceptor. If I go to a second browser / computer and
call the action I am seeing the same values on the Action that we
--- Ted Slusser <[EMAIL PROTECTED]> wrote:
> I have a struts2 action that is having some parameters set by the
> parameter interceptor. If I go to a second browser / computer and
> call the action I am seeing the same values on the Action that were
> previously set. Is this the normal behav
Hello,
I have a struts2 action that is having some parameters set by the
parameter interceptor. If I go to a second browser / computer and
call the action I am seeing the same values on the Action that were
previously set. Is this the normal behavior? Is there a way to turn
it off? Do
What about the filter mapping? Seems like it should be like so:
struts2
/*
Regards,
Randy Burgess
Senior Web Applications Developer
Nuvox Communications
-Original Message-
From: Jeromy Evans [mailto:[EMAIL PROTECTED]
Sent: Friday, January 18, 2008 4:58 AM
To: Struts Users M
hi there
i just want to know, how to mixe the code between S2 and with REST under one
container.
any idea?
or anyone have an example that 'this is the old' and 'this is the REST'
still cannot get how can .action become /bla/bla
--
Frans Thamura
Meruvian
redefining civilization
http://www.meru
I don't think this has been mentioned before, apologies if it has been. It can't
do any harm though.
I keep meaning to post here to encourage anyone who wants REST to work better to
lobby for HTML 5 features.
For example, should accept HTTP delete, put etc.
See the links below.
Adam
Hi
--- Adam Hardy <[EMAIL PROTECTED]> wrote:
> Dave Newton on 17/01/08 17:18, wrote:
> > Personally, I just removed the conversion interceptor for the bulk of my
> > actions (particularly after development) to avoid it.
> So how do you retrieve the conversion errors? Do you call the
> getConversionEr
--- Jayson Joseph Chacko <[EMAIL PROTECTED]> wrote:
> 1. When is Struts 2.1 release planned?
It isn't; releases are dropped based on several factors with time being only
a relatively minor consideration.
> 2. Is the Ajax support / Portlet support production ready in 2.1 ?
I can't speak for portl
Hi,
I am developing web application using struts.
I want to create a dynamic tree in a Jsp page that shows some URL's.
Is there any tag available in jsp to create it?
If it there, then how i create it with the tags available in jsp?
Which tags i have to use for that?
If possible
Hi,
Thanks, corrected the path and tiles-def.xml syntax.
Regards,
Amulya
On Jan 18, 2008 3:57 PM, Antonio Petrelli <[EMAIL PROTECTED]>
wrote:
> 2008/1/18, Amulya Yadavilli <[EMAIL PROTECTED]>:
> > < tile definition = "page.main" path = "pages/welcome.jsp" >
>
> Uh??? Congratulations! You i
Dave Newton on 17/01/08 17:18, wrote:
--- Adam Hardy <[EMAIL PROTECTED]> wrote:
Is there any other way of controlling whether XWorkConverter reports or
ignores conversion errors, other than the application-wide servlet
parameter
REPORT_CONVERSION_ERRORS / report.conversion.errors?
I would lik
Check out the Slides and WAR from the AE session.
* http://www.StrutsUniversity.org/Coding+Ajax+Applications+with+Struts
I could extract a hello world example from these, but it might be a few days.
HTH, Ted
http://www.StrutsMentor.com/
On Jan 18, 2008 7:52 AM, bhaarat Sharma <[EMAIL PROTECTE
2008/1/18, Amulya Yadavilli <[EMAIL PROTECTED]>:
> < tile definition = "page.main" path = "pages/welcome.jsp" >
Uh??? Congratulations! You invented a new Tiles definition syntax :-)
Your Tiles definition file is completely wrong, add the DTD on top of
your XML and validate it.
And, again, che
is there a tutorial that shows how to set up struts 2 to use YUI. just
a simple hello world.
thanks
-bhaarat
On Jan 18, 2008 7:10 AM, Ted Husted <[EMAIL PROTECTED]> wrote:
> Under the heading, does Ajax need a web framework, there's an
> interesting "nope" blog here:
>
> *
> http://unclescript.
Hi,
The tile definition exists. And still it gives me the same error. The
application is starting up properly.
Regards,
Amulya
On Jan 18, 2008 3:40 PM, Antonio Petrelli <[EMAIL PROTECTED]>
wrote:
> 2008/1/18, Amulya Yadavilli <[EMAIL PROTECTED]>:
> >
> > *description * *The server encountered a
2008/1/18, Amulya Yadavilli <[EMAIL PROTECTED]>:
>
> *description * *The server encountered an internal error () that prevented
> it from fulfilling this request.*
> *exception *
> java.lang.IllegalArgumentException : Path page.welcome does not start
> with a "/" character
>org.apache.strut
Hi,
I am getting the error
"java.lang.IllegalArgumentException: Path page.welcome does not start with a
"/" character " when trying to display a jsp.
The tile definition is given as an Action forward path. This is the first
page after login.
And I am not sure if the tiles plugin in struts-config.x
Under the heading, does Ajax need a web framework, there's an
interesting "nope" blog here:
* http://unclescript.blogspot.com/2008/01/alternatives-to-server-side-web.html
Though, it's interesting to note that the author equates web
frameworks with server-side page rendering. That's one thing tha
hmm...that's interesting.
My approach would be to create a new blank struts application that just
contains a file upload action. Get it to work without ajax as there
still seems to be a configuration problem.
Then, when you're satisfied the configuration is correct...
unfortunately you can't
On Jan 17, 2008 10:20 PM, Tony Zhang <[EMAIL PROTECTED]> wrote:
> For YUI + struts2, do you prefer to use YUI plugin for struts2 or just use
> YUI directly? Do we need to use DWR to transfter data?
You can just use YUI directly. Essentially, what's being replaced is
the JSPs. With Ajax, we can sta
Error de lectura XML: contenido incorrecto tras un elemento XML del
documento
Ubicación: http://localhost:8080/scheduler-admintool-1.0/AddPlugin.do
Número de línea 8, columna 1:name="addPluginForm" onsubmit="return true;"
action="/scheduler-admintool-1.0/AddPlugin.do" method="post"
enctype="mul
No, all my statements relate to Struts2.1.1. The RestfulActionMapper in
Struts2.0.11 is an entirely different beast
Due to the dependency on CodeBehind and the major changes affecting that
plugin it can't be claimed to be ready for production use at this time.
There are still a few features
Are you deliberately trying to do an XHR file upload?
Have you tried it without the ajax theme on the form?
Pablo Vázquez Blázquez wrote:
Yes yes, that debugging statement is executed. That´s why I know my
plugin is created.
"Anadido plugin " + uploadFileName means "Added plugin " +
uploadFi
It should work without any other settings. Do you get an exception or
something else?
It allows URLs like:
https://kily.myseaversite.com/category
Make sure you're only testing in tomcat so you can isolate the problem.
jignesh.patel wrote:
Hi,
thanks for your reply,but unfortunationatily it
Hi All,
In my web page main.jsp, I have a form defined, which contains a select box
and a list of checkbox. The page works as follow:
1. user checks on the box to select member to be deleted
2. user presses the submit button
3. Member is deleted from DB
4. Return SUCCESS with actionMessage if mem
2008/1/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> Thanks for ur reply.
> Even i know that it is the problem.
> How can i make the tiles definitions of one module to other?
In your struts-config-masters, when you configure Tiles plugin, you can add
a comma-separated list of Tiles definition f
Thanks for ur reply.
Even i know that it is the problem.
How can i make the tiles definitions of one module to other?
Naveen
From: "Antonio Petrelli" <[EMAIL PROTECTED]>
Sent: Friday, January 18, 2008 2:20 PM
To: "Struts Users Mailing List" , [EMAIL PROTE
Hi,
thanks for your reply,but unfortunationatily it is not working
I just want only action name without any domain like .actiion,.do,.com
anything (only category)
The double comma above means "blank" is a valid extension is not able to
call respected action.
Is there anything missing ?
Jerom
2008/1/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> I want my pages to travel from one module to another module
> using the information in two tiles-defs.xml's. And I am not able to do
> that
Tiles Definitions in one module are not visible in the other module.
Antonio
Hi,
I have been
developing a web application using struts, which has number of modules in it.
Also I am using tiles in it for views. So
I am configuring different struts-config.xml for each module. And I think there
is nothing wrong with that.
And I want to use different tiles-defs for each
Yes yes, that debugging statement is executed. That´s why I know my
plugin is created.
"Anadido plugin " + uploadFileName means "Added plugin " + uploadFileName.
And then, it goes to ShowPlugins and the debugging statement
log.debug("Obtenidos plugins"); (Getted all plugins) is also executed
Thank you Jeromy.
I'll look into that and experiment a bit!
humm.. just one more question.. is it ready for production use?
From your statements I understand that you use them all for
production use, but if I look at the struts 2.0.11 distribution
there's no rest plugin and on the wiki I see tha
54 matches
Mail list logo