Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

File reading inside JSP in Weblogic 6.0  RSS feed

 
SRINI VASAN
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai ,

I am reading a file in JSP on weblogic 6.0 . I am able to refer the file in the application only using the absolute path ( f:\bea\..\pasfl.txt ) . Can i refer the file using the relative path of appserver ( i mean if i put the file in application folder , inside jsp is there any way to access the file like
BufferedReader b= new BufferedReader("\dir\file") ; // <-web path
than
BufferedReader b= new BufferedReader("F:\bea\dir\file") ; // <- Absolute path
regards,
srini
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!