Hello,

my current web.xml setup looks like this:

        <servlet>
                <servlet-name>GetIMGs</servlet-name>
                <servlet-class>getimgs.GetIMGsServlet</servlet-class>
        </servlet>
        <servlet-mapping>
                <servlet-name>GetIMGs</servlet-name>
                <url-pattern>/</url-pattern>
        </servlet-mapping>
        <welcome-file-list>
                <welcome-file>GetIMGs</welcome-file>
        </welcome-file-list>

Root requests to my app are routed to the GetIMGsServlet. Is this the
right way to go about things or should I really be using a .jsp file
to instantiate objects to answer requests?

I have a file "names.txt" that I wish to access from the
GetIMGsServlet class, but I always get a FileNotFoundException. Where
should I be putting the file, and what path should I provide when I
create a new File()?

Thanks,

Finbarr
-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.


Reply via email to