Reputation: 26261
This question is related to this problem: Programmatically read a Queue's parameters
Is there a way to read queue.xml
file's content programmatically on App Enigne? As far as I know all operations related to filesystem are prohibited on GAE.
Upvotes: 0
Views: 42
Reputation: 3113
The prohibited functions are related to the writing process in the file system (because does not exists in the sandbox) but the reading functions are available w/o problems.
the new File();
object set the root in you war folder (or webapp if Maven project), so you can open any file under that folder.
You can try to create new File("WEB-INF/queue.xml")
and then read it with the common ways to read an xml
Upvotes: 2