Hello List...


NEWBIE:  I want to generate the welcome page for my domain so I mapped a test servlet 
to "/" in the web.xml for my context.

PROBLEM:  A test.gif image is not rendered by the servlet - as it appears the path is 
not found.

OBSERVED:  If I map the servlet instead to "/intro" then the test.gif is rendered ok.

TRIED:  Using various path combinations"/test.gif", "test.gif" etc - no result.

NOTE:  I've read some postings advising locating files should be done as in 
InputStream [getResourceAsStream()].  Is it applicable in this case when all I want is 
a simple 
        out.println( "<img src=\"/test.gif ... etc )?

Your advice greatly appreciated

/j-p.
        

-----------------------
 JUSTATEST Art Online
  www.justatest.com




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to