It's not a secret anymore!
The moose likes JSF and the fly likes Download file in JSF appliccation Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Download file in JSF appliccation" Watch "Download file in JSF appliccation" New topic
Author

Download file in JSF appliccation

Robert Jack
Ranch Hand

Joined: Apr 13, 2010
Posts: 37
Hi,

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.



and



Help me.
Thanks in advance.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Download file in JSF appliccation
 
Similar Threads
java.lang.RuntimeException: Cannot find FacesContext
Onload script does not work in subview page
message /.jsp not found in JSF2.0+RichFaces3.3.3+Tomcat6.0.29
Print selected content from Div area using javascript
Is this a correct approach to use subviews for partial page refresh?