hello all,
i've really been enjoying the model 2 discussions. craig and daniel, thanks
for all your informative insights. the ideas discussed have transformed how
i think about developing web applications--now i just have to get my
colleagues on board! :)
anyhow, here's my question. i'm attempting to map a servlet to an extension
as mentioned in previous posts (*.do -> some command servlet). right now,
i'm just playing with the snoop servlet to see how this all works. here's
my web.xml config
<web-app>
<servlet>
<servlet-name>snoop</servlet-name>
<servlet-class>SnoopServlet</servlet-class>
<load-on-startup/>
</servlet>
<servlet-mapping>
<servlet-name>snoop</servlet-name>
<url-pattern>*.snp</url-pattern>
</servlet-mapping>
</web-app>
my problem is this: i cannot simply type in anything.snp and invoke the
snoop servlet. there must be a file on the file system named anything.snp
(even if it's blank) for it work. is this right? i thought i understood
from previous posts that it is possible to map a servlet to an extension and
then you don't necessarily have to have actual files to make it work. is my
problem one of misunderstanding? misconfigutaion? or a bad app server
(using orion rc1)?
thanks in advance for the help!
cheerio,
chris
chris wilson > web developer > andrews university > www.andrews.edu
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets