• Post Reply Bookmark Topic Watch Topic
  • New Topic

Different results for ServletContext.getRealPath

 
Reginald Law
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I noticed that JRun puts in tags on a file path seperator for the method ServletContext.getRealPath, where as Apache Tomcat does not append it on.

How does one get around this so code does not have to be changed from one application server to another one ?
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!