This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes Struts and the fly likes build xml file FileNotFound Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "build xml file FileNotFound" Watch "build xml file FileNotFound" New topic
Author

build xml file FileNotFound

seb fermat
Greenhorn

Joined: Feb 17, 2013
Posts: 3
Hello, i need to read and modify one .xml. I need to put the file in some place "inside" the web, for example in \src\java\com\myapp\struts\ where .java are (netbean)... when i use builder.build( \src\java\com\myapp\struts\file.xml) i get
java.io.FileNotFoundException: C:\Archivos de programa\Apache Software Foundation\Apache Tomcat 7.0.27\bin\src\java\com\myapp\struts\listaNotas.xml

off course
C:\Archivos de programa\Apache Software Foundation\Apache Tomcat 7.0.27\bin\
is wrong but i don't know how to do it correctly.
thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: build xml file FileNotFound