• Post Reply Bookmark Topic Watch Topic
  • New Topic

equivalent of ASP's Server.Mappath() in JSP

 
Krysty Sullivan
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the equivalent method of ASP's Server.Mappath() in JSP?
Thanks.
 
Joe Pardi
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
application.getRealPath()
 
Krysty Sullivan
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
application.getRealPath() works well.
Thanks Joe!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!