Thanks Wes for the detailed explanation..it surely going to help me a lot
On Fri, Jun 4, 2010 at 10:00 AM, Wes Wannemacher wrote:
> Sorry to jump in so late, but depending on what I'm looking for, I
> generally do one of two things. If I am looking at reproducing a bug
> (which I haven't been do
Sorry to jump in so late, but depending on what I'm looking for, I
generally do one of two things. If I am looking at reproducing a bug
(which I haven't been doing much lately) and it would be easier to
reproduce in a web-app, then I will try to update one of the reference
apps (struts2-blank, stru
How any keeping some basic Ida I'm session and verifying against the
incoing request to ensure that no corruption has happened
Sent from my iPhone
On Jun 3, 2010, at 12:27 AM, Stephane Cosmeur wrote:
Thank you for your answers. they are useful but not quite
appropriate with
my problem.
I
Bummer,
Even with two namespaces, "/" and "/images" it still wants to run the image
file, "/images/logo.gif", as an action under the "/images" namespace, it
complains that there is no action mapped
I also tried a single namespace for "/" and got the same error.
So, I think this is a bug... o
Hi Oscar,
>>> the solution is to always use User object in action and call his methods on
>>> him,
>
> What's User object? is some class provided by Struts 2?
It's the object representing the actual user that sends a request to
your application,
and there is no such class provided by struts2 - it
Hi Roger,
use < default-action-ref name="UnderConstruction" > and in
UnderConstruction action You will catch all such requests.
More info here:
http://struts.apache.org/2.1.8.1/docs/action-configuration.html
Best greetings,
Paweł Wielgus.
2010/6/3 RogerV :
>
> How do/can I intercept the "There i
As far as using one action why would I want 30 actions that are
identical? Since the page is populated by the database?
I agree that it does not utilize one of the best features of struts to its
full extent... but it does use it, and many other features.
On Jun 3, 2010 4:34 AM, "Paweł Wielg
Thanks for the rezsponse. And I am sorry for the multiple posts of the last
message.
Unfortunately, when I create a newnamespace, I still have the same problem.
I think the reason is it is looking for an action named "logo.for" in the
namespace "images", and since the only action is "fred" it doe
Sorry for my poor knowledgment but about this:
>> the solution is to always use User object in action and call his methods on
>> him,
What's User object? is some class provided by Struts 2?
2010/6/3 Stephane Cosmeur :
> Ok thank you, i understood.
>
> I understood as well all my conception is to
hi all
any idea to turn S2 become RPC server
if we put JSON, we have JSON RPC
if we put XML plugins,b ecome XML RPC
any idea?
--
Frans Thamura
Meruvian.
Experiential Tempation of Java and Enterprise OpenSource
Meruvian jTechnopreneur Program (S1) telah hadir, Dapatkan benefit bagi SMK
yang
On 6/2/10 3:04 PM, Roger wrote:
I was more, kind of wondering, what does using exec&wait with Token support
buy me over using exec&wait without Token support? (I've never used the in-
built token support before)
https://issues.apache.org/jira/browse/WW-1741
appears to be where this code snippe
How do/can I intercept the "There is no Action mapped ..." error so I can
re-direct my users in a similair fashion to the global-exception handling.
(I've currently got java.lang.Exception mapped to catch everything, but it
doesn't intercept "There is no Action mapped ...")
Regards
--
View this
Ok thank you, i understood.
I understood as well all my conception is totally unsecured. I began this
project without ever developped any struts 2 or web aplication before.
I guess it's the kind of mistake a beginner does :/
If i want to make it right, i assume i have to review all the code and
Hi all,
just like the Dale already told You there is no way to prevent it by a
tool or a plugin,
because the problem lies elsewhere, any user always can gues wright
parameters to perform an attack,
the solution is to always use User object in action and call his methods on him,
for example:
user.c
I am using interceptors in the struts. There are 3 interceptors. when user
logs in, session is created. The same session is not getting maintained over
different requests for the same login. What might be the cause for this?
--
View this message in context:
http://old.nabble.com/session-object-c
Hi Phil,
i see your point,
when action is configured to catch all requests like that it will
catch all *.gif requests,
maybe add namespace to your action and that will solve your problem,
then You will call any action but in /Example/mynamespace/* and You
will store your images in /images directory
Thank you for your answers. they are useful but not quite appropriate with
my problem.
I dont want my application be that secure. So i dont think i need SSL or
HTTPS event if it could be good.
I am going to give a concrete example :
A user can have any contacts, he can delete it. His contacts are
Hello Abhishek
You can do a performance testing on ur local system to check this.
There are open source performance testing tools like Apache JMeter,
Allmon, DBMonster, Database Opensource Test Suite etc with which you can
test database driven applications under heavy load.
-Rupali
On 6/3/
18 matches
Mail list logo