Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can any one help me

 
Venkat Perumalla
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a context folder eg:ABC
i.e bea\userprojects\domain\mydomain\abc

now , I need to access any file out side abc in my JSP Page,
for eg: if i need to access an html file located in c:\...., Icould not do with import tag too.? <c:import url="C:/test/one.html" >

Can any one help me pls.................
 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i tried <c:import url="c:\login.html" />
but it throws java.net.MalformedURLException
That means it should have correct URL not physical path.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!