Dave schrieb: > We use jsf ri, tomahawk and ajax4jsf. > > For a request, on server side how to detect whether the request is a > ajax submit or normal submit? Is there a HTTP header for this? Thanks >
In pre jsf 2.0 this is framework dependend, usually a request param is sent which marks the request as ajax request so that JSF can take over and do things differently for ajax. A unified marker for all this as well as some apis to check whether you are in an ajax cycle or not will be present in JSF 2.0 for now you have to check the framework documentation or the request itself which request parameter for the respective framework marks the request as an ajax one. (This is easy to do with the network monitor of firebug) Werner

