struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colin Sampaleanu <co...@Bspark.com>
Subject RE: Returning a standard jsp page
Date Fri, 22 Sep 2000 14:10:34 GMT
You may want to subclass the ActionServlet, and have your version check
permissions as needed. This is what we are doing in one use of struts...


> -----Original Message-----
> From: Kevin Gibbs [mailto:kevin.gibbs@ramesys.com]
> Sent: September 22, 2000 9:55 AM
> To: struts-user@jakarta.apache.org
> Subject: Returning a standard jsp page
> 
> 
> Is there a way to return a default page for every action 
> without setting up
> an entry for each action in action.xml?
> 
> Scenario:
> We want to check if a user has "permission" to use an action, 
> and if not
> return them to a standard "Permission Denied" page.
> 
> Have I explained this enough?
> 
> Many Thanks - Kevin
> 
> --------------------------------------------------------------
> --------------
> ---------
> Kevin Gibbs	Email: kevin.gibbs@ramesys.com
> 
> Ramesys (AEC) Limited	Tel: +44 (0)29 2079 2260 Ext 201
> 1 Pascal Close	
> St Mellons	Fax: +44 (0)29 2079 2504
> Cardiff, UK		
> CF3 0LW	Url: http://www.ramesys.com/aec
> 
> 

Mime
View raw message