Bookmark Topic Watch Topic
  • New Topic

getContextPath(), getQueryString()

 
mayank jamindar
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Report post to moderator
Could someone plz explain with examples the above methods, and
also getServletPath().getContextPath(), getQueryString()
 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
  • Report post to moderator
Learning from docs is the best way. First go through it. Try writing some sample code and if you have any doubt then first search the appropriate forum
and if you didn't find answer finally post your doubt.

In this way you can learn a lot of stuff more precisely and remember it for a long time.

All the best.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!