obtaining the File path
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > obtaining the File path




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

techlead_arun is offline     obtaining the File path  
techlead_arun


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for techlead_arun Click here to Send techlead_arun a Private Message Find more posts by techlead_arun Add techlead_arun to your buddy list
 
08-18-04 07:53 AM

I want to parse an XML file. I need to use a FileReader (JAVA)object for tha
t, which will take the absolute path for the file name. Is it possible to sp
ecify the absolute filename without knowing the actual path in which websphe
re is installed and the actual name of the ear file. 
Can i give a relative path? - like ../../xml/parse.xml

I dont think i can use the result of response.encodeURL() to pass it to the 
FileReader object. It is throwing a fileNotFoundException.

If there is no way to identify the path in which websphere is installed, can
 i define a system variable like how we do for JAVA_HOME or ANT_HOME and app
end it to my filename to obtain the absolute path?

Please pour in ur suggestions and ideas.
Thanks in advance
Arun




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:12 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register