2013/9/22 Lukasz Lenart :
> You should never ever allow to access JSPs directly! Thus can be
> potential security risk!
>
> What you want to achieve are two actions:
> - login-form.action to display login form
> - login.action to submit login form to and perform validation/user login
There is one
I have updated the example to show how validation works with !
https://github.com/lukaszlenart/struts2-dmi-validation
2013/10/2 Lukasz Lenart :
> 2013/10/1 Néstor Boscán :
>> Sorry I made that change so I could use only login in the form tag to make
>> the validation work.
>
> Ok, but you have Lo
2013/10/1 Néstor Boscán :
> Sorry I made that change so I could use only login in the form tag to make
> the validation work.
Ok, but you have LoginAction-validation.xml which should be applied to
the whole LoginAction - doesn't matter what method do you use. I have
prepared a small example base o
2013/10/1 Paul Benedict :
> Hmm. Well, there's a couple issues to consider here.
>
> 1) When you're behind a load balancer, the machine name (domain) you're
> running on may not be the domain that's fronted to the public. For example,
> the user might be accessing www.company.org but you're on
> ho
2013/10/1 Néstor Boscán :
> This one:
>
> type="redirect">cambioPassword!input.action
It's a normal redirect (not redirectAction) so you can use
https://host/cambioPassword!input.action
Other option is to develop your own ServletRedirectResult.
Regards
--
Łukasz
+ 48 606 323 122 http://www.le
Done
https://cwiki.apache.org/confluence/display/WW/Action+Configuration#ActionConfiguration-DynamicMethodInvocation
2013/10/1 Christoph Nenning :
>> >
>> > Would you please have a look at the sample app and tell me what I am
> doing
>> > wrong?
>> >
>> >
> https://github.com/wolpi/struts2-sample
Sorry I made that change so I could use only login in the form tag to make
the validation work.
On Tuesday, October 1, 2013, Lukasz Lenart wrote:
> 2013/9/30 Néstor Boscán :
>>
>
> Why do you use login!login as action login is already defined to use
> login method?
>
> So login.action is the
Hmm. Well, there's a couple issues to consider here.
1) When you're behind a load balancer, the machine name (domain) you're
running on may not be the domain that's fronted to the public. For example,
the user might be accessing www.company.org but you're on
host123.company.org. When you're changi
This one:
cambioPassword!input.action
Regards
On Tuesday, October 1, 2013, Lukasz Lenart wrote:
> 2013/9/30 Néstor Boscán :
>> I have an application that runs on weblogic 10.3.6 and struts 2.3.8. The
>> weblogic is behind a loadbalancer that does https to http translation.
When
>> the applicat
> >
> > Would you please have a look at the sample app and tell me what I am
doing
> > wrong?
> >
> >
https://github.com/wolpi/struts2-samples/tree/master/dmiandactionmappingtest
>
>
>
> It must be true, if false whole DMI logic is off.
>
> class="struts2.samples.dmiandactionmappingtest.act
2013/10/1 Kevin Peterson :
> Hi,
>
> In my front end, i am allowing user to create and save multiple number of
> entries to a table at the same time.
> For now i am sending this input to Java class in form of string which i am
> creating at the time of save. But if table size is very very big(eg.
11 matches
Mail list logo