java - Tapestry - Writing a file to webapp directory -


i'm trying write out xml file within subdirectory of webapp. let's case directory is:

c:\tapestry\xyz\src\main\webapp\directory1\

how can part of file path c:\tapestry\xyz\src\main\webapp\ within 1 of java classes? don't want hard code because won't portable.

thanks,


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -