Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Cannot use request.getContentLength() ?  RSS feed

 
Gaelle SMITS
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello !
I am working with WebSphere 3.5.4 under Solaris 2.8, and I don't manage to use request.getContentLength() : in fact, it always returns 0 !
How can I do to know if something has been sent by a POST or GET protocol to my jsp page without this function ?
Thanks,
Gaelle.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66205
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, if all you are trying to determine is the method, check out:
getMethod on HttpRequest
hth,
bear
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!