I want to read a file from a relative path in my Jdeveloper Adf project, I have my files in a path like this "\ProjectName\ViewController\public_html\files", my file is an image, so what can I do?, I want to my code to work in any server.
How to read a file from a relative path in Jdeveloper ADF?
2.2k Views Asked by csuazo At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in ORACLE-ADF
- How to provide a file download from a JSF backing bean using af:commandMenuItem?
- Oracle ADF 11g Validate each entity impl before commiting changes
- ADF Refresh page jsf with page fragments jsff after set session variable
- Oracle ADF: Which scope bean should be serializable and why??
- Common Reset button for both form and table
- Refresh SQL query while selecting node in tree every time to display results at some text area in the same page
- af:convertNumber element removes zero in the end of the value
- Working with jDeveloper OAF and EBS
- How to Execute PL/SQL Procedure with Typed Input Param from DBTransactionImpl
- How to upload a file using af:inputFile in Oracle ADF
- ADF TreeTable: Tree Table refreshes twice
- Does Oracle ADF Mobile/MAF provide any free trial version?
- How - to launch print dialog when showing printable page in Oracle ADF
- panelStretchLayout's "top" and "center" facets overlapping
- How to tell JDeveloper to not create new Oracle Objects and use my one?
Related Questions in JDEVELOPER
- Why my javamail program not running through jdeveloper?
- ADF Refresh page jsf with page fragments jsff after set session variable
- where is the start file for oracle jdeveloper in ubuntu
- Oracle ADF: Which scope bean should be serializable and why??
- Working with jDeveloper OAF and EBS
- How to upload a file using af:inputFile in Oracle ADF
- How - to launch print dialog when showing printable page in Oracle ADF
- How to tell JDeveloper to not create new Oracle Objects and use my one?
- How to configure weblogic web service for autostart with server?
- Error 500--Internal Server Error - ADF
- Problems when compiling and running a simple Maven project with Spring in JDeveloper 12c
- How to add new variables in Search Query - ADF
- Spring Boot in JDeveloper 12c
- Oracle ADF - Jdeveloper use shortdesc in input from the value of another attribute of the View object
- java.sql.SQLTimeoutException: ORA-01013: user requested cancel of current operation
Related Questions in BACKING-BEANS
- backingBean doens't receive commandButton action
- How to provide a file download from a JSF backing bean using af:commandMenuItem?
- Null backing bean EJB not visible
- How to pass a POJO as argument from JSF backing bean to JWS using jnlp?
- How to read a file from a relative path in Jdeveloper ADF?
- #{column} syntax -- where's the backing bean?
- "show more" <h:commandButton> with ajax
- action called after binding jsf
- BreadCrumb with PrimeFaces from database
- ViewScope constructor called twice, not sure why
- JSF not updating certain backing bean properties
- JSF property transfer from backing bean A to backing bean B
- JSF 1.2 when invoke bean method by h:commandButton, it does not works all the time
- Render extended data table after file download
- Loading h:selectOneMenu depending of another h:selectOneMenu value
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I hope my answer will be useful for others,
I have read the file using code like the following,
The path for my project and resurces is something like this
"\ProjectName\ViewController\public_html\images"
Regards.