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

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -