hAction sounds 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 b
g)
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
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' ac
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 havin
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 4500
e 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 with DB like DAO pattern. The
Hi
Action class is right place.
Common way is to have some layer working with DB like DAO pattern. Then
You can have some service layer between DAO and Action which you call
from Action class.
Call it, get data transfer object from DB, copy its properties to
ActionForm instance and forward requ
t;
(btw where to find these notations for locales?). 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
expected behavior and NOT a bug, how then use this tag?
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 when
other then &quo
Hello
Could you please explain why i get "JspException: Wrong format string:
'###,###.00' " when I use when
other then "EN" locale is in user's session?
At the same time if use "format" tag
then no matter what locale is in session it is working fine AND do
format according to locale
Than
10 matches
Mail list logo