This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 46

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
Similar Threads
Is this a correct approach to use subviews for partial page refresh?
Onload script does not work in subview page
Print selected content from Div area using javascript
java.lang.RuntimeException: Cannot find FacesContext
message /.jsp not found in JSF2.0+RichFaces3.3.3+Tomcat6.0.29