5.0.16 sample deploys!, one recommendation and one question

2003-12-18 Thread Ray Tayek
hi, i finaly got the sample to deploy. needed to change a line in the 
deploy task to: war=file://${dist.home}/${app.name}-${app.version}.war/ 
(it was just: war=file://${build.home}/).

thanks to all of you who work on tomcat.

the sample comes with an web/index.html that gets put in in myapp/ that i 
can get to work with: http://localhost:8080/myapp/. I had to change a line 
from: liTo a a href=helloservlet/a. to: liTo a a 
href=Hiservlet/a using the web.xml below.

all is well, but someone might want to fix that war line and update the 
sample with a web.xml that dtrt.

the question is: is there a way to navigate to the servlet without using 
the servlet mapping. iirc, you could do something like 
8080/myapp/servlet/mypackage/Hello in 4.x or perhaps that was only if you 
were in root. does anyone know the right incantation? it would be nice to 
have a way to navigate directly to the servlet for sanity reasons. iirc, 
there is some switch in a config file somewhere that will allow this.

thanks

!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 
2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
display-nameHello, World Application/display-name
descriptionsimple web application/description
servlet
servlet-nameHelloServlet/servlet-name
servlet-classmypackage.Hello/servlet-class
/servlet
servlet-mapping
servlet-nameHelloServlet/servlet-name
url-pattern/Hi/url-pattern
/servlet-mapping
/web-app

---
ray tayek http://tayek.com/ actively seeking mentoring or telecommuting work
vice chair orange county java users group http://www.ocjug.org/
hate spam? http://samspade.org/ssw/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: 5.0.16 sample deploys!, one recommendation and one question

2003-12-18 Thread Shapira, Yoav

Howdy,

the question is: is there a way to navigate to the servlet without
using
the servlet mapping. iirc, you could do something like
8080/myapp/servlet/mypackage/Hello in 4.x or perhaps that was only if
you

Yes, comment in the invoker servlet-mapping in
$CATALINA_HOME/conf/web.xml.  It's in the Tomcat FAQ.

Yoav Shapira




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: 5.0.16 sample deploys!, one recommendation and one question

2003-12-18 Thread Ray Tayek
At 09:12 AM 12/18/03 -0500, you wrote:

Howdy,

the question is: is there a way to navigate to the servlet without
using the servlet mapping.  ...
Yes, comment in the invoker servlet-mapping in
$CATALINA_HOME/conf/web.xml.  It's in the Tomcat FAQ.
got it!

thanks

---
ray tayek http://tayek.com/ actively seeking mentoring or telecommuting work
vice chair orange county java users group http://www.ocjug.org/
hate spam? http://samspade.org/ssw/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]