Featured Post

Struts different actions

Struts framework is developed using j2ee  standard tag library and JSPs 
Struts has 4 different Action classes 
Include action 
Switch action 
Dispatch action
  LookupDispatchAction 
  MappingDispatchAction
Forward action

Include action : 
       This is used for including some jsps into existing jsps works like jsp: include 

Forward action : 
     This is for forwarding request resemblance to jsp:forward which is unlike include forward request to different action 

DispatchAction: 
   This is for dispatching request based on some criteria i.e if we have multiple actions in same page we can use this 
   It has two different subclasses which are lookupFispatch action and mappingdispatchaction which has method 
getKeyMethkdMap()  which should be overridden by subclasses 
And also we need to define parameter in action tag 


   To be continued ... 


Comments

Popular posts from this blog

[Inside AdSense] Understanding your eCPM (effective cost per thousand impress...