File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Download file in JSF appliccation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Download file in JSF appliccation" Watch "Download file in JSF appliccation" New topic

Download file in JSF appliccation

Robert Jack
Ranch Hand

Joined: Apr 13, 2010
Posts: 49

In my application developed by JSF2.0 + Richfaces3.3.3 + Tomcat6.0.29.

I maintain my log file into this location : E:\Tomcat-6.0.29\logs\project.log
My tomcat(webapps) Location : E:\Tomcat-6.0.29\Tomcat 6.0\webapps

In my page have one button. When i click that button i want to download that log file, without change the content and filename.
But in my code automatically generate file name. like E-_Tomcat-6.0.29_logs_project.log and also content is empty.


Help me.
Thanks in advance.
I agree. Here's the link:
subject: Download file in JSF appliccation
It's not a secret anymore!