You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by John Yu <jo...@scioworks.com> on 2002/09/04 04:51:44 UTC

RE: Call for comments: Method dispatching and access control framework.

(See intermixed)

 > -----Original Message-----
 > From: Philipp K. Janert [mailto:pjanert@attbi.com]
 > Sent: Tuesday, September 03, 2002 9:48 AM
 > To: struts-user@jakarta.apache.org
 > Cc: janert@ieee.org
 > Subject: Call for comments: Method dispatching and access
 > control framework.
 >
 > Dear All!
 >
 > I would like to invite comments on some extensions I have
 > made to get around some limitations in the Struts framework.
 >
 > When working with Struts, I quickly developed the following
 > wishlist of things that I wanted Struts to do:
 >
 > 1) Be able to bind a user request to an arbitrary function
 >    in an Action class, not just to perform().
 >
 > 2) Be able to bind each button in a form with multiple submit
 >    buttons to an arbitrary function (such that control is
 >    transferred to a specific functions based on which button
 >    was clicked).
 >

Doesn't the mechanism of the existing DispatchAction cover these?

 > 3) Provide the ability to restrict access to actions as part
 >    of the configuration (ie in struts-config.xml).
 >

Doesn't the combination of container-managed security and <action 
role=".."> cover this?


 > 4) Reduce the number of runtime String lookups (such as when
 >    writing: mapping.findForward( "success" ) ).
 >

Are you worried about performance?

 >
 > Philipp K. Janert, Ph.D.                   janert at ieee dot org
 >

-- 
John Yu                       Scioworks Technologies
e: john@scioworks.com         w: +(65) 873 5989
w: http://www.scioworks.com   m: +(65) 9782 9610

Scioworks Camino - "Don't develop Struts Apps without it!"


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Returning Action Errors in the Action Class.

Posted by Miguel Angel Mulero Martinez <mi...@mad.tecsidel.es>.
Create de ActionErrors in the same way, then use the function
saveErrors(req,errors) of the action, and use the mapping.forward() to go to
the input jsp.





-----Mensaje original-----
De: Sudhir S. Shetty [mailto:sshetty@powershare.net]
Enviado el: miƩrcoles, 04 de septiembre de 2002 13:02
Para: Struts Users Mailing List
Asunto: Returning Action Errors in the Action Class.

Hi Everybody,
                      I have an application in which I enter data on to a
JSP form, after which the Form Bean is activated.
After this in the Action class , in the perform method I do some processing,
here is it possible for some condition to return an
Action Errors object?
So that the user is restricted to the input JSP?
TIA,
regards,
Suydhir



--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


i18n for file uploading

Posted by Lynch Wu <ly...@server.truetel.com.tw>.
Hi All,

It seems that when a file is uploaded by
UploadAction.java, the FILE NAME cannot
be i18nized.

Can anyone confirm this as a bug, either
from the multi-part form, or from Struts?
Or is there any solution for this? Thanks in
advance.

Regards,
Lynch

Returning Action Errors in the Action Class.

Posted by "Sudhir S. Shetty" <ss...@powershare.net>.
Hi Everybody,
                      I have an application in which I enter data on to a
JSP form, after which the Form Bean is activated.
After this in the Action class , in the perform method I do some processing,
here is it possible for some condition to return an
Action Errors object?
So that the user is restricted to the input JSP?
TIA,
regards,
Suydhir



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>