Maybe this will help, inside execute()
request.getRequestURI()
or
request.getContextPath() + "/" + mapping.getModuleConfig().getPrefix()
+ "/" + mapping.getPath());
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscrib
Unfortunately those docs are for the 2.1.x version of Struts even
though they say they are for the 2.0.x line (and are shipped with it).
At this point you have to use the id attribute. I'm not sure what
the technical reason that prevents the documentation being versioned
like the rest of the code
Hi all,
I was trying to use s:iterator tag, and when I looked at the documentation
on http://struts.apache.org/2.0.11.2/docs/iterator.html
it says, attribute (parameter) 'id' is deprecated and 'var' should be used.
So I did:
However, my IDE complained about the attribute 'var' being not valid
ac
Hi,
About which version you are talking? Struts1 or Struts2?
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Try the following:
Hope it helps!
BGE Ger wrote:
>
> Hello,
> I'm struts(2) newbie and I need some help for the iterator tag.
> How can I access to an updated list in the action class?
> My JSP looks like:
>
>
>
>
>value="%{destination}"/>
>
2008/7/8 Kleiderman, Matthew <[EMAIL PROTECTED]>:
> Is there any way to inject beans defined in struts.xml with
> scope=singleton into a Servlet so that it's available when the Servlet's
> init method is called?
Did you really meant injecting a bean defined inside Spring's
applicationContext.xml f
and i forgot to say that i am useing struts 1
shrimpywu wrote:
>
> hi guys,
> if i can get the actionform,
> how can i get the action path
>
> u know, for the page, we have to specify a path for the page in the
> struts-config
>
> so that we can use that path
> /mywebsit/mymodule/myform.do
>
hi guys,
if i can get the actionform,
how can i get the action path
u know, for the page, we have to specify a path for the page in the
struts-config
so that we can use that path
/mywebsit/mymodule/myform.do
to visit a page
for some reason from development side,
i want to know this path,
and
Hi everybody, first of all i'm glad to take part of this mailing list, well
i'm new in Struts and i'm developing a simple application where the user
logins and then it goes to a JSP that has to show information of a database
table. I am studying all about Actions, FormBeans but i don't find jhow to
Is there any way to inject beans defined in struts.xml with
scope=singleton into a Servlet so that it's available when the Servlet's
init method is called? Alternately, is there a way to access where
these instances are stored so I can get a reference to the instance?
Thanks,
Matt Kleiderman
--
Argh, You know I could not see that at all?
Thank you :)
Chris
- Original Message -
From: "Jim Kiley" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, July 07, 2008 10:52 PM
Subject: Re: Getting Struts2 Parameters?
Your setter is private. It needs to be public.
O
Could you show source of your frame?
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
What do you mean ?
I have a link the user click on in Frame 1: listDashboardAction.action
That invokes my action, does some stuff and returns "input" which in my
struts.xml is
/setup/dashboard/dashboard_config.jsp
And that gets loaded in frame 2.
Now how can i set the frame source cause i rea
Hi,
Put all your frameset's source to actions, not to jsp files.
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
That's the thing,
the application is in a frameset and the struts 2 action is in on of the
frames. Now my action result is a JSP and not an action. When I hit refresh
in the Struts2 Filter I get the jsp name. So how can I make it have the
.action because my page is rendered as a result of an acti
Hi,
What you have in browser's address bar?
CTRL+R just make GET request to your application, if you have .action
in your url, apropreciated action has to be called.
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscrib
Hi,
I'm not sure what the problem you have, links in your menu should be
mapped to apropreciated actions and those actions should have defined
result type tiles with defined tile's name in tiles.xml configuration.
Regards
--
Lukasz
http://www.lenart.org.pl/
Hi,
I'm assuming that you're using Struts 1, if so ActionForms are stored
in session by default [1], change scope of your action mapping to
request [2]
[1]
http://struts.apache.org/1.3.8/userGuide/building_controller.html#action_form_classes
[2]
http://struts.apache.org/1.3.8/userGuide/buildin
Hi,
You can either develop your own theme or extended existing one [1]
[1] http://struts.apache.org/2.1.2/docs/extending-themes.html
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi,
Maybe like that 'Do not have caller ID' ?
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I'm wodering is there any Eclipse plug-in (or something similar) which will
vizualize struts.xml configuration ?
--
Thx, Milan
--
View this message in context:
http://www.nabble.com/-S2--Struts-configuration-vizualization-tp18342762p18342762.html
Sent from the Struts - User mailing list ar
Tried that and it did not work at all. I got it working in a way but not the
way I want. Basically what I did was set the values in the session and then
on page refresh they are picked up ok. The problem is the data on the page
might change so I would like to have the action invoked when the user
Doing more testing, I changed the injected bean's datatype from String
to Integer, so that the setter became
void setTemplateDir(Integer), and this time it was not injected into
the action, but neither was injected into the ServletDispatcherResult
object.
This last behavior may be because the Servl
AjaySrini wrote:
Hi,
Currently i'm developing a web application which consists of 4 radio buttons
using Struts 2.0 written in div tag. Based on the selection of the radio
buttons i need to display the other struts tags such as
, , , etc... using ajax
implementation.
Looking forward to ur reply
Hi all,
I'm using a multipage form bean for a 3 page form. From what I tested,
if I leave the pages (by following another link) and
return later the bean is still in session scope. How can I tell struts
that I've left these pages and remove the bean from session?
I suppose if the user follows
Hi,
Thanks for ur timely reply.
Do u have any idea regarding the following problem?
I'm developing a web application which consists of 4 radio buttons using
Struts 2.0 written in div tag. Based on the selection of the radio buttons i
need to display the other struts tags such as ,
, , etc... u
Hi,
Currently i'm developing a web application which consists of 4 radio buttons
using Struts 2.0 written in div tag. Based on the selection of the radio
buttons i need to display the other struts tags such as
, , , etc... using ajax
implementation.
Looking forward to ur reply...
Thanks,
Srini
Totally agree with Al.
On Tue, Jul 8, 2008 at 2:17 AM, Al Sutton <[EMAIL PROTECTED]> wrote:
> web forums are a nightmare for the dynamics shown by this list.
>
> There are a core few who respond to many of the questions asked, and there
> is a lot of traffic, which means with a web forum those few
Hi
Thanks for ur reply. It is working fine now.
Regards,
Srini :-)
Jeromy Evans - Blue Sky Minds wrote:
>
> AjaySrini wrote:
>> Hi all,
>>
>> I'm new to sturts 2.0.Currently i'm developing a web application in which
>> i
>> have a login screen which is ajax based(using )
>> It works fine in
Mike Watson wrote:
The trick (I believe) is that the url should be parsed from right to
left, not left to right. I don't think it's a hijack; for the
application I'm working on context is very important so knowing that a
given resource is being accessed in the context of another resource
has a bi
AjaySrini wrote:
Hi all,
I'm new to sturts 2.0.Currently i'm developing a web application in which i
have a login screen which is ajax based(using )
It works fine in FF but when i used to login through IE it is not working.
Whether Struts2.0 + ajax functionality will support IE.
looking forwar
Hi,
Question regarding Struts templates. Currently we are finding that each form
element gets wrapped in its own div can this be changed?
Also for error messages I want the error to appear on the parent div not per
form element...can this be done? Basically the error class is being set only
on t
32 matches
Mail list logo