Hi, all
I test my application based on Struts2-REST-Showcase.2.1.2Beta app.
Without any changes, it works well and looks pretty good. But I need to
do something more, so I create struts.xml and set up some new
Interceptors and packages.
I want to reset the package of OrdersController. I mean I cre
Hi, all
I test my application based on Struts2-REST-Showcase.2.1.2Beta app.
Without any changes, it works well and looks pretty good. But I need to
do something more, so I create struts.xml and set up some new
Interceptors and packages.
I want to reset the package of OrdersController. I mean I cre
Hi, all
I test my application based on Struts2-REST-Showcase.2.1.2Beta app.
Without any changes, it works well and looks pretty good. But I need to
do something more, so I create struts.xml and set up some new
Interceptors and packages.
I want to reset the package of OrdersController. I mean I cre
Hi, all
I test my application based on Struts2-REST-Showcase.2.1.2Beta app.
Without any changes, it works well and looks pretty good. But I need to
do something more, so I create struts.xml and set up some new
Interceptors and packages.
I want to reset the package of OrdersController. I mean I cre
Dave Newton 写道:
--- On Thu, 10/9/08, Haulyn R. Jason wrote:
1.I have many user-defined Interceptors, How can I set up
them without configuration? How to change the default
Inteceptors-stack?
AFAIK you still need to do that in XML, but it's pretty minimal. Could be
wrong, t
Hi, all
I tried the sample : struts2-rest-showcase-2.1.2.war, it looks cool, so,
I think it's the time to upgrade my application from 2.0.11 to
2.1.2Beta, but, Hmm, with code-behind and rest-plugin, when I replace
the jars, my application does not work. After reading the "upgrade
tutorial", I have
Hi,all
I design a tag, it's very common and it's a jsp tag, the code is like:
---
public class NewsCommentTag extends TagSupport {
/**
*
*/
private static final long serialVersionUID = 2
Dave Newton :
--- On Tue, 8/19/08, Haulyn R. Jason wrote:
When our client login our system, I can create a List
contains privilege objects, it includes properties:action
name and namespace, without a custom tag, how can I check
whether this member should see the link? I mean, I do not
Dave Newton :
--- On Tue, 8/19/08, Haulyn R. Jason wrote:
And, where should I find something about how to create a
custom tag for struts2? I think I need to create a custom
tag for struts2 because I need to access the value stack.
I would have guessed you kept your user object in
Jeromy Evans :
> Haulyn R. Jason wrote:
>
>> Hi,all
>> I have an Authentication problem. I use Interceptor to authenticate
>> actions and methods, based on different member and different role.
>> Everything works well.But my client can not access some resource,
Hi,all
I have an Authentication problem. I use Interceptor to authenticate
actions and methods, based on different member and different role.
Everything works well.But my client can not access some resource, for
example a url, so they should not see the url. I think maybe I can
re-write tag or usi
Dave Newton :
Oh. So what are you asking then? How to create a select list? How to use the tag?
Dave
--- On Mon, 8/11/08, Haulyn R. Jason <[EMAIL PROTECTED]> wrote:
From: Haulyn R. Jason <[EMAIL PROTECTED]>
Subject: Re: How to resolve list property for ModelDriven Action?
Dave Newton :
--- On Mon, 8/11/08, Haulyn R. Jason <[EMAIL PROTECTED]> wrote:
I implement ModelDriven interface, but I have a list in my
model. It
looks like:
public class Role(){
private String id;
private String name ;
private List privilegeList;
}
In my action, I have a set/get
Hi,
I implement ModelDriven interface, but I have a list in my model. It
looks like:
public class Role(){
private String id;
private String name ;
private List privilegeList;
}
In my action, I have a set/get method for Role Object, but what about
the list?
I am confused for retrieve data from my
Jeromy Evans 写道:
> Haulyn R. Jason wrote:
>
>>> > In case it is a, I would try the following settings:
>>> >
>>> > struts.action.extension=,,action
>>> >
>>>
>>>
>>>
>> 2.If I use
that should make
> them bypass struts as you want.
> (*Chris*)
>
> 2008/8/4 Haulyn R. Jason <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>>
>
> Jeromy Evans 写道:
> > Haulyn R. Jason wrote:
> >
> >> Hi,all
> >>
other than intended
recipient. Sender does not necessarily endorse content contained
within this transmission.
> Date: Mon, 4 Aug 2008 17:23:45 +0800
> From: [EMAIL PROTECTED]
> To: user@struts.apache.org
> Subject: Re: Issue with Url mapping with struts-action-extension=""
&
Jeromy Evans 写道:
> Haulyn R. Jason wrote:
>
>> Hi,all
>> I set struts-action-extension="" for no extension as "action" or "do" by
>> default for struts2, and mapping all url to struts2 dispatcher as "/*".
>> But, the p
Hi,all
I set struts-action-extension="" for no extension as "action" or "do" by
default for struts2, and mapping all url to struts2 dispatcher as "/*".
But, the problem is I can not access any jsp, html,css and js files. The
page display:there are no action mapping for XXX.jsp action.
Should any on
19 matches
Mail list logo