ServletRunner and javascript

"Lee Breisacher" <[email protected]>
Newsgroups gmane.comp.web.httpunit.devel
Message-ID <[email protected]>
I'm trying out ServletRunner and getting this error:

com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404
No servlet mapping defined [http://localhost:8099/js/functions.js]

I found a message in this list's archive (from 2005-05-27) that
describes a similar error and Russell's reply was:

	You need to map "*.js" to the JavaScript servlet. I don"t recall
what Tomcat calls it these days.

Can someone explain exactly what this means? Am I supposed to add an
entry to my web.xml? What should it look like? Or should I call
ServletRunner>registerServlet("*.js", ???)..

Thanks,

Lee




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.