Win a copy of The Business Blockchain this week in the Cloud forum!
  • 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 ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic