That's what I do for a deployment. I move it to /opt/tomcat/js-pages/ This helps me when upgrade of reploy the portal.
However, moving the pages directory by default to the file system, raises another issues when installing jetspeed (ie, file premissions , extra configuration). Plus where to put it on the file system ?
"/tmp" for linux, or "C:\WINDOWS\TEMP" on windows ... etc (ie, System.getProperty("java.io.tmpdir")), but again a temporary directory is not the safest place.
Another possibility is the server appBase directory (ie for tomcat "tomcat/webapp" )
Any ideas or comments?