Hi ,
 
     I  have created  a UI  Component  ( which has a   "show.jsp"   file  under 
 its  "Web"   folder ). I want to  use  this  component  to read a image 
file,which  is  dynamically  updated    from  the local    hard  disk and  then 
 insert  this  image  into the  page. 
      So  in  the  "show.jsp"  , I  use  the application.getRealPath("/")  to  
set  the the  image's  relative path  ,but   I   found  it  don't work.(  I   
tried  this  method on  tomcat ,  and   it   worked ! )
      Can   you   tell  me   how   to   set   the     Relative Path   in the  
"show.jsp"    of  the  UI  Component  ?
 
 
Thanks !
     
_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to