-
1. Re: External Exploded Deployment
jaikiran Oct 20, 2008 2:42 AM (in response to bronzeiii)Does you web.war contain a WEB-INF/web.xml file? Please post the output of the following command:
jar -tf web.war
While posting the logs or code or xml content, remember to wrap it in a code block using the Code button in the message editor window and please hit the Preview button to make sure your post is correctly formatted -
2. Re: External Exploded Deployment
bronzeiii Oct 20, 2008 10:47 AM (in response to bronzeiii)hey Jaikiran
Yes, my web.war folder contains a sub-folder, WEB-INF, and it contains a web.xml file.
when i execute
jar -tf web.war
I received java.io.FileNotFoundException: web.war (Access is denied) I'm not sure why it's throwing a FileNotFoundException since web.war is a folder instaed of a file...
Further help would be appreciate!
Thanks so much
Take care -
3. Re: External Exploded Deployment
bronzeiii Oct 20, 2008 10:49 AM (in response to bronzeiii)btw.. my OS is windows vista.
Thanks! -
4. Re: External Exploded Deployment
jaikiran Oct 20, 2008 11:06 AM (in response to bronzeiii)"bronzeiii" wrote:
since web.war is a folder instaed of a file...
I assumed that it was an archive. Use this instead:dir /b /s
-
5. Re: External Exploded Deployment
bronzeiii Oct 20, 2008 1:02 PM (in response to bronzeiii)Hi Jarikiran
Yes, my web.war folder contains the WEB-INF folder and in WEB-INF folder contains the web.xml file. I reviewed the folder structure i posted, and realized that it didn't format as I wish it did. So to answer your question, after executing dir /b /s, i see
D:/Java Practices/miniMVC/web.war/WEB-INF
D:/Java Practices/miniMVC/web.war/WEB-INF/web.xml
So I think i do have the proper folder structure for exploded deployment. So please let me know what you think, and what i did wrong.
Thanks