Hello
This could be silly question but I'm kind stuck here.
I have 2 ActionMappings in struts config with following paths:
path=/admin/deals
path=/supervisor/deals
Both have the forward to same jsp with form.
All I want to do is depending on a requested mapping submit form, well,
to its'
)
to ensure the proper route
-Joe
Ilja S. wrote:
Hello
This could be silly question but I'm kind stuck here.
I have 2 ActionMappings in struts config with following paths:
path=/admin/deals
path=/supervisor/deals
Both have the forward to same jsp with form.
All I want to do is depending
like a good idea.
What if you use JSTL/EL to navigate the servlet api and do a
similar filter for /admin/* etc?
Could do it in a javascript function onSubmit.
-Joe
Ilja S. wrote:
The thing is that I use MappingDispatchAction
So in one action class I have 2 methods: 1 will be executed when
Hi
You can logout user by simply calling some action with
session.invalidate() in it.
You are right - If you use Tomcat's authentication you are not able (and
not need) to have an Action for it.
However you can do some post login procedures (like putting your user
object in session ) by
Hi all
I have a form where user must enter a number - integer or double.
Corresponding property of this field in actionForm is type of String.
I want user to be able to enter this number as normal number OR as
localized number according to current Locale object (like 45,000,000.01
or
but the question was: how can i init a form inside an
action. I Didn't
find any method to do this and also no example. All struts samples are with
forms to create
new objects and not to edit existing objects.
regards, Andy
Ilja S. wrote:
Hi
Action class is right place.
Common way is to have some layer working
?
Thanks in advance
Christopher Goldman wrote:
On Fri, 2006-09-22 at 17:30 +0300, Ilja S. wrote:
Hello
Could you please explain why i get JspException: Wrong format string:
'###,###.00' when I use bean:write formatKey=global.format when
other then EN locale is in user's session?
At the same
?). And therefore struts
users can have one common for example ###,###.00 pattern in a resource
file and all numbers will be correctly formatted to visitor's locale.
That makes code more portable and you can do change in one file rather
than changing in each jsp...
Ilja S. wrote:
Hi
Thanks for reply
Hello
Could you please explain why i get JspException: Wrong format string:
'###,###.00' when I use bean:write formatKey=global.format when
other then EN locale is in user's session?
At the same time if use format tag bean:write format=###,###.00
then no matter what locale is in session it
9 matches
Mail list logo