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

Getting the current directory from pageContext  RSS feed

 
Nicholas Turner
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to know the current directory I'm in
I'm inside a tag library so I know I need to use pageCOntext
Buty how do I get the current directory from a session or request or response
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66188
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is it you mean by 'current directory'? In a web app context, there really isn't such a concept. Are you talking about the folder a JSP page resides within? The root of the web app?
bear
[ June 15, 2003: Message edited by: Bear Bibeault ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!