Re: How to check wheter File exists or not

2013-05-14 Thread Muhammad Gelbana
I think you've put your service class in a tapestry transformable package (pages, mixins, components, more ?) In your web.xml, you specify your main application package, beneath that package there could be (4 or 5 ?) types of special package names (tapestry coding through convention ?): 1. Base

How to check wheter File exists or not

2013-05-10 Thread Nomer Nominus
I need to check wheter File can be readable or not, however I don't know how to implement it in Tapestry app. If I put inside my method public String getPath() { File file = new File(article); if (article.canRead() || article.isFile()){ return something }

Re: How to check wheter File exists or not

2013-05-10 Thread Taha Hafeez Siddiqi
Hi On 11-May-2013, at 5:45 AM, Nomer Nominus tapestr...@outlook.com wrote: I need to check wheter File can be readable or not, however I don't know how to implement it in Tapestry app. Just as you would implement it in plain java. If I put inside my method public String getPath() {