we fixed the issue by writing a trainInterceptor whcih always takes a backup
of the params passed through request and if the action doesnt return errors
deletes them else stores them in session.
The next pages to which user jumps we are first checking if there are nay
backup objects in session..
I should probably add that I'm just trying to authenticate via LDAP at
this stage. Authorization will be implemented later.
2008/7/28 Mike Watson <[EMAIL PROTECTED]>:
> Hi Folks,
>
> What's the most straightforward way to secure my REST URLs?
>
> I'd assumed that I'd be able to use the standard JE
Hi Folks,
What's the most straightforward way to secure my REST URLs?
I'd assumed that I'd be able to use the standard JEE approach and
secure based on URL patterns but this doesn't seem to work (on
Websphere anyway) and I'm assuming it's to do with the fact everything
I'm doing is happening in f
Quick question for which, I can't for the life of me find an answer in
the documentation.
>From within an Action that extends ActionSupport, how can I get access
to another action's URL from knowing the name of that other action.
With Struts1, I would have done something like:
(new ActionRe
--- On Sun, 7/27/08, Milan Milanovic <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>> >> cssClass="submit" align="right" value="Save"/>
>>>
Do Ajax forms redirect? I thought they submitted in the background via an XHR.
Since you don't have a target specified, would the result just be ign
Hi,
no, no error! My first form works good with ajax and updates some table
value, but this second form that should save one value from textfield and
redirect from that page, works fine with called submit method, but there is
no redirection, it just stays on this page, it even not refresh.
--
Th
IIRC the tag is for parameterizing components; AFAIK it doesn't
add anything to a scope.
(That being said, as this question seems to come up rather frequently, maybe
the include tag should add its params to the request used for the include, if
that's possible?)
Dave
--- On Sun, 7/27/08, Eric
Thanks Chris and Piero. I'll give it a try.
On Sun, Jul 27, 2008 at 4:05 PM, Piero Sartini <[EMAIL PROTECTED]>wrote:
> Am Sonntag, 27. Juli 2008 21:44:04 schrieb Chris Pratt:
> > You might want to look into the RESTful URL's plugin. But you can
> > just override the extension. I usually set mi
Am Sonntag, 27. Juli 2008 21:44:04 schrieb Chris Pratt:
> You might want to look into the RESTful URL's plugin. But you can
> just override the extension. I usually set mine to .html (to hide the
> technology being used), but I believe you can set it no nothing as
> well. I use the following in s
I've been having trouble getting s:include and s:param to work.
I have a snippet I want to include in multiple pages. This snippet will want to
make use of Struts 2 tags and OGNL, though at present I just need a simple
c:out.
The snippet looks like:
<%@ taglib prefix="c" uri="http://java.sun.com
You might want to look into the RESTful URL's plugin. But you can
just override the extension. I usually set mine to .html (to hide the
technology being used), but I believe you can set it no nothing as
well. I use the following in struts.xml, I believe you can set the
value to "" also.
You'
Hello,
When I try to access a list that is not there at all on the valuestack, I am
left with empty page without any information. For instance,
and form.shortyearsList donot exist at all.
Is this the default behaviour? Is there any way I would be able to get
error/debug messages? I am running
Hi,
I have an action which can be reached by
- http:///friends/viewpix.action
- http:///friends/viewpix.action?id=
My client doesn't want the *.action* to appear in the urls so is there a way
to launch the action by using friendly urls, e.g., like these:
- http:///friends/viewp
Thanks a lot...
We included singleton="false" in the applicationContext.xml
Now it works perfectly ...
dusty wrote:
>
> I think you need to post the relevant section from struts.xml so we can
> see how you declare the action as well as your spring configuration files.
>
> -D
>
>
> Miguel-
Thanks a lot...
We included singleton="false" in the applicationContext.xml
Now it works perfectly ...
Arun M wrote:
>
>
> we use STRUTS2 - SPRING- HIBERNATE in our project
> here is a sample piece of code...
> as metioned earlier... SCRAPTEXT variable once set by a request is being
> reused
Thanks a lot...
We included singleton="false" in the applicationContext.xml
Now it works perfectly ...
Thanks Once Again
Piero Sartini-3 wrote:
>
> Am Sonntag, 27. Juli 2008 06:04:46 schrieb Arun M:
>> Yes , we are using spring and hibernate also along with struts.
>> Could you suggest us, w
we use STRUTS2 - SPRING- HIBERNATE in our project
here is a sample piece of code...
as metioned earlier... SCRAPTEXT variable once set by a request is being
reused (that is) gets prefilled in the
textarea of someother user in someother PC.
. Action Class
17 matches
Mail list logo