bonjour,
j'aurais voulut savoir si il etait possible d'effectuer une action particulière.
dans mon application struts2, je lance un algorithme de bioinformatique qui en sortie crée un fichier HTML de resultat. actuellement je crée un fichier nommé blast.html dans ma méthode java, ce fichier est ecrasé a chaque nouveaux calcul, et dans mon action struts j'ai :

<action name="blastn" class="com.ncbi.blast.beanAction.ncbiBlastNAction" method="commandBlastN">
<interceptor-ref name="token"/>
<interceptor-ref name="defaultStack"/>
<interceptor-ref name="execAndWait">
</interceptor-ref>
<result name="wait">wait.jsp</result>
<result name="error">blastn.jsp</result>
<result name="invalid.token">blastn.jsp</result>
<result name="success">blast.html</result>

j'aurais voulut savoir si il était possible que je crée un fichier temporaire (blastn_tmp.html) et de faire pointer mon action success vers ce fichier temporaire?