How to read the data in the uploaded word file in jfinal

at present, there is a need to read the text data in word or pdf documents, and then convert them into html strings,

html strings

. My current idea is:
use the file upload function of element-ui to upload a word or pdf document, then parse the file in the background,
form a html string, and then store it in the database

.

the backend uses the jfinal framework. The problem encountered in the limitation is how to read the text content in the document
using getRequest (). GetInputStream (); the method depends on the failure
before using the spring framework, there is a file.getInputStream (); the method
does not know how the jfinal framework is going to implement it.
I hope everyone can help.
Thank you very much

.
May.10,2022

this kind of problem can be solved
https://www.jfinal.com/doc/3-7


by taking a look at the official website.
FileInputStream fis = new FileInputStream (file.getFile (). GetPath ());

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e488-2c405.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e488-2c405.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?