Pranesh_Ashrit 0 Newbie Poster

I want to create a file in one of the application folder of tomcat.
For.eg Assume that i have a web-app named Test, in that i want to create a file called as report which is generated based on some condition using jsp.

If i give a file path as "C:\\Report\\filename.xls", it works fine under windows but i have problem in giving the filepath under Linux.

Can you please guide me.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.