Я хочу создать Excel в разделе ресурсов моего проекта. Я использую FileOutPutStream. но я хочу, чтобы он был создан в src / main / webapp / myfolder - PullRequest
0 голосов
/ 13 февраля 2020
  1. this.getClass (). GetClassLoader (). GetResource ("./ resouces / myfolder / mynewcretefile")
  2. FileOutputStream fileOutputStream = new FileOutputStream ("../ my_newcreate_file");
  3. FileOutputStream fileOutputStream = new FileOutputStream ("fol1 \ fol2 \ mynewcreatefile \");
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...