<div dir="ltr">Could you provide a little more info.<div><br></div><div>1. Are the html pages in a non standard location that may not be added to the class path in the jar?</div><div>2. Are you setting a resource base path?</div><div><br></div><div>I just tested serving files from an executable jar and it works as expected for me.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 5, 2014 at 12:30 AM, Venkatesha T R <span dir="ltr">&lt;<a href="mailto:vworld4u@gmail.com" target="_blank">vworld4u@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I am seeing this behavior in undertow - I have written a simple web application using undertow which processes 3 requests and provides a single (may be two in future) page (s) to see. These pages are just html pages and 3 requests are GET/POST requests. I am using ClassPathResourceManager class to serve the index.html file which is present inside classpath in one of my package (I am using a maven project). It works fine when I run this application in the Eclipse environment (where there is no jar used for running). But when I package this application as a jar file and run it in standalone mode, ClassPathResourceManager fails to pick the resource and serve it.</div><div><br></div><div>ClassPathResourceManager reports Resource instance, but I see a blank page (404) error when I see it in browser. If somebody has any clue about what is going on, or knows about this possible bug, please let me know. It will help me a lot.</div><div><br></div><div>Thanks in advance..</div><span class="HOEnZb"><font color="#888888"><div><div><br></div>-- <br><div><br></div><div><b><font size="4" color="#336666">Thanks and Regards</font></b></div><font color="#000099"><b>--------------------------------------------------------------------------------------------------------------------</b></font><div><b><font color="#333399">Venkatesh T R</font></b></div><div><b>9945040858</b></div><div><font color="#330099" face="&#39;comic sans ms&#39;, sans-serif">A Man with Many Dimensions...</font></div><div><br></div>
</div></font></span></div>
<br>_______________________________________________<br>
undertow-dev mailing list<br>
<a href="mailto:undertow-dev@lists.jboss.org">undertow-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/undertow-dev</a><br></blockquote></div><br></div>