aspose file tools
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
Greenhorn

Joined: Apr 13, 2010
Posts: 22
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.
 
 
subject: Download file in JSF appliccation
 
Threads others viewed
java.lang.RuntimeException: Cannot find FacesContext
Print selected content from Div area using javascript
Onload script does not work in subview page
Is this a correct approach to use subviews for partial page refresh?
message /.jsp not found in JSF2.0+RichFaces3.3.3+Tomcat6.0.29
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com