how to detect if a request is a ajax submit or normal submit?

View: New views
2 Messages — Rating Filter:   Alert me  

how to detect if a request is a ajax submit or normal submit?

by Dave-53 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
 
Dave


Re: how to detect if a request is a ajax submit or normal submit?

by Ilya Shaikovsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Java.net resources deprecated. Visit jboss.org forums.

Dave пишет:
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
 
Dave