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 -

image - ClassNotFoundException when add a prebuilt apk into system.img in android -