We extend ActionServlet to handle initiation or resources.  Because it is
always called first (process method), it also seems like a good place to
handle logging onto the external resources we need.  I noticed that
ActionServlet has some "finder" methods to get the ActionForward and other
resources.  Just not sure how to pull it all together.

Ken Hoying
Practice Partner
TITAN Technology Partners
Pager: 216-275-7284


                                                                                       
                            
                    John Raley                                                         
                            
                    <johnr@moonli        To:     [EMAIL PROTECTED]        
                            
                    ght.com>             cc:                                           
                            
                                         Subject:     Re: [Q] ActionServlet Forwarding 
                            
                    08/21/2001                                                         
                            
                    01:49 PM                                                           
                            
                    Please                                                             
                            
                    respond to                                                         
                            
                    struts-user                                                        
                            
                                                                                       
                            
                                                                                       
                            



Ken,

Are you subclassing ActionServlet solely to perform this conditional
forwarding?  If so I would recommend putting this logic into an Action
subclass called something like ActionBase (instead of putting it in
ActionServlet) and making your actions subclasses of your custom
ActionBase class.  I don't think ActionServlet was really meant to be
subclassed.

[EMAIL PROTECTED] wrote:

>I looked through the JavaDoc and tried to find an example in the User
Guide
>was unable to find one. I also looked through the samples.  I did find
>example of forwarding from the ActionClass but not from ActionServlet. Can
>you point me to where you were able to find the example?
>
>Thanks!
>Ken
>






Reply via email to