• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot able to Find Methods

 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

In above code the compiler is not able to find following methods.
request.getLocalPort()
request.getRemotePort()
I am not able to understand why.
Thanks
 
Alexey Korneychuk
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
These methods since 2.4 (not 2.3)
Are you sure that you are using 2.4 servlet spec?
 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Alexey
You are right i am using 2.3
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic