留言板
Problemas para "subir" un fichero
Àngel Agustí Garcia,修改在10 年前。
Problemas para "subir" un fichero
New Member 帖子: 3 加入日期: 14-3-18 最近的帖子
Buenas,
Estoy usando Liferay Portal Enterprise Edition 5.2 EE SP3 (Augustine / Build 5207 / January 7, 2010).
En un formulario, debo poder seleccionar un fichero para enviarlo a un webservice en formato json, via post.
Para leer el fichero uso el método .getFile: "File objFile = uploadRequest.getFile("obj-file");"
Pero cuando miro el log del sistema, no tengo ningún fichero, sino un nombre de fichero: "JSPPortlet.java:muntJsonPost / [objFile: /tmp/upload_00001361.jpg]"
¿Alguna idea?
Muchas gracias de antemano.
Estoy usando Liferay Portal Enterprise Edition 5.2 EE SP3 (Augustine / Build 5207 / January 7, 2010).
En un formulario, debo poder seleccionar un fichero para enviarlo a un webservice en formato json, via post.
Para leer el fichero uso el método .getFile: "File objFile = uploadRequest.getFile("obj-file");"
Pero cuando miro el log del sistema, no tengo ningún fichero, sino un nombre de fichero: "JSPPortlet.java:muntJsonPost / [objFile: /tmp/upload_00001361.jpg]"
¿Alguna idea?
Muchas gracias de antemano.