java - Can able to view httpservletrequest data in browser tools? -


is there way see data getting through httpservletrequest in browser tools ? firebug or chrome dev tools ?

httpservletrequest.getservletrequest().getheader("email"); 

i'm getting null values , application guy saying there data passing , i'm not getting data. see data in browser, because http.

i have check system.out.println()... eventhough way ?

thanks

the httpservletrequest object never directly accessible client (all of java code executes server side).

either use solution @sotirios delimanolis described in comments, or add temporary server-side code write relevant information httpservletrequest output.

there no other way access object client-side. have rely on information being sent client (e.g. looking @ headers in wireshark), or send information client explicitly (explicitly format , write output).

added: if don't want clutter page debugging info, can generate dump comments in html, or generate javascript directly prints messages js console.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -