Re: WebSphere suuports servlets in /welcome-list does Tomcat?

2004-07-23 Thread Bill Barker
Suite yourself :).  The other work-around would be to put a (possibly empty)
index.do file to let Tomcat know that there is something there for it to
serve.

R A [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 The point of me adding

 servlet-mapping
   servlet-nameaction/servlet-name
   url-pattern*.do/url-pattern
 /servlet-mapping

 is that I want all request that match *.do to go through the Sruts
ActionServlet. This includes any *.do in the welcome-list/. The
ActionServlet delegates the request to the RequestProcessor, which uses the
command pattern to map to the appropriate action. It should not be necessary
to add index.do as a servlet.

 Bill Barker [EMAIL PROTECTED] wrote:
 Tomcat 5 supports servlets as welcome-files, just not extension-mapped
ones
 (e.g. *.do, *.jsp). The reason is that extension-mapped servlets would
 alway be choosen, even though in most cases the servlet couldn't handle
it.

 Simply adding a mapping like:

 action
 /index.do


 solves your problem.

 R A wrote in message
 news:[EMAIL PROTECTED]
  When entering a servlet(action) in the tag, Tomcat returns
 a directory listing. Does it support servlets in the tags?
 
 
  -
  Do you Yahoo!?
  Vote for the stars of Yahoo!'s next ad campaign!




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



 -
 Do you Yahoo!?
 Vote for the stars of Yahoo!'s next ad campaign!




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



RE: WebSphere suuports servlets in /welcome-list does Tomcat?

2004-07-22 Thread Shapira, Yoav

Hi,
I've tried it numerous times, though not with Struts actions as the
default.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 21, 2004 8:06 PM
To: Tomcat Users List
Subject: Re: WebSphere suuports servlets in /welcome-list does
Tomcat?

Yes. post your web.xml and maybe someone can help.

R A wrote:
 Have you tried it? I can not get it to work. If I type the action via
the
URL it appears. However, when I add it to the welcome-list and point a
browser to the web-app, Tomcat returns a directory listing. Any ideas?

 Tim Funk [EMAIL PROTECTED] wrote:
 Tomcat 5 does because the 2.4 spec says so.

 Tomcat 4.X does not.

 -Tim

 R A wrote:


When entering a servlet(action) in the tag, Tomcat returns a
directory
listing. Does it support servlets in the tags?


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




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: WebSphere suuports servlets in /welcome-list does Tomcat?

2004-07-22 Thread Bill Barker
Tomcat 5 supports servlets as welcome-files, just not extension-mapped ones
(e.g. *.do, *.jsp).  The reason is that extension-mapped servlets would
alway be choosen, even though in most cases the servlet couldn't handle it.

Simply adding a mapping like:
  servlet-mapping
   servlet-nameaction/servlet-name
   url-pattern/index.do/url-pattern
  /servlet-mapping

solves your problem.

R A [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 When entering a servlet(action) in the /welcome-list tag, Tomcat returns
a directory listing. Does it support servlets in the /welcome-list tags?


 -
 Do you Yahoo!?
 Vote for the stars of Yahoo!'s next ad campaign!




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



Re: WebSphere suuports servlets in /welcome-list does Tomcat?

2004-07-22 Thread R A
The point of me adding 
 
servlet-mapping
  servlet-nameaction/servlet-name
  url-pattern*.do/url-pattern
/servlet-mapping
 
is that I want all request that match *.do to go through the Sruts ActionServlet. This 
includes any *.do in the welcome-list/. The ActionServlet delegates the request to 
the RequestProcessor, which uses the command pattern to map to the appropriate action. 
It should not be necessary to add index.do as a servlet. 

Bill Barker [EMAIL PROTECTED] wrote:
Tomcat 5 supports servlets as welcome-files, just not extension-mapped ones
(e.g. *.do, *.jsp). The reason is that extension-mapped servlets would
alway be choosen, even though in most cases the servlet couldn't handle it.

Simply adding a mapping like:

action
/index.do


solves your problem.

R A wrote in message
news:[EMAIL PROTECTED]
 When entering a servlet(action) in the tag, Tomcat returns
a directory listing. Does it support servlets in the tags?


 -
 Do you Yahoo!?
 Vote for the stars of Yahoo!'s next ad campaign!




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



-
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!

RE: WebSphere suuports servlets in /welcome-list does Tomcat?

2004-07-21 Thread Shapira, Yoav

Hi,
Tomcat 5 supports servlets in the welcome-list.  That's required by the
Servlet Specification v2.4.  Tomcat 4, which implements the Servlet Spec
v2.3, does not support welcome-list servlets.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: R A [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 21, 2004 12:07 PM
To: [EMAIL PROTECTED]
Subject: WebSphere suuports servlets in /welcome-list does Tomcat?

When entering a servlet(action) in the /welcome-list tag, Tomcat
returns
a directory listing. Does it support servlets in the /welcome-list
tags?


-
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!



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: WebSphere suuports servlets in /welcome-list does Tomcat?

2004-07-21 Thread Tim Funk
Tomcat 5 does because the 2.4 spec says so.
Tomcat 4.X does not.
-Tim
R A wrote:
When entering a servlet(action) in the /welcome-list tag, Tomcat returns a directory 
listing. Does it support servlets in the /welcome-list tags?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: WebSphere suuports servlets in /welcome-list does Tomcat?

2004-07-21 Thread George Sexton
I use Tomcat 5 and do this. Do you have a valid servlet mapping that points
to the servlet?

George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
  

 -Original Message-
 From: R A [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, July 21, 2004 10:07 AM
 To: [EMAIL PROTECTED]
 Subject: WebSphere suuports servlets in /welcome-list does Tomcat?
 
 When entering a servlet(action) in the /welcome-list tag, 
 Tomcat returns a directory listing. Does it support servlets 
 in the /welcome-list tags?
 
   
 -
 Do you Yahoo!?
 Vote for the stars of Yahoo!'s next ad campaign!
 


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



RE: WebSphere suuports servlets in /welcome-list does Tomcat?

2004-07-21 Thread R A
yes..I have a valid action(index.do) mapping, and it works perfect when it is manually 
types on the URL. When it is placed in the /welcome-list tag, Tomcat returns a 
directory listing when accessing the web app. After researching this issue somewhat, 
someone stated you have to redirect a jsp to an action/servlet. Is this true?
 
http://groups.google.com/groups?q=welcome-list+tomcat+5+actionhl=enlr=ie=UTF-8selm=Hravb.33953%24f71.933942%40phobos.telenet-ops.bernum=1

George Sexton [EMAIL PROTECTED] wrote:
I use Tomcat 5 and do this. Do you have a valid servlet mapping that points
to the servlet?

George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585


 -Original Message-
 From: R A [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, July 21, 2004 10:07 AM
 To: [EMAIL PROTECTED]
 Subject: WebSphere suuports servlets in does Tomcat?
 
 When entering a servlet(action) in the tag, 
 Tomcat returns a directory listing. Does it support servlets 
 in the tags?
 
 
 -
 Do you Yahoo!?
 Vote for the stars of Yahoo!'s next ad campaign!
 


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



-
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!

RE: WebSphere suuports servlets in /welcome-list does Tomcat?

2004-07-21 Thread R A
Have you tried it?

Shapira, Yoav [EMAIL PROTECTED] wrote:
Hi,
Tomcat 5 supports servlets in the welcome-list. That's required by the
Servlet Specification v2.4. Tomcat 4, which implements the Servlet Spec
v2.3, does not support welcome-list servlets.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: R A [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 21, 2004 12:07 PM
To: [EMAIL PROTECTED]
Subject: WebSphere suuports servlets in does Tomcat?

When entering a servlet(action) in the tag, Tomcat
returns
a directory listing. Does it support servlets in the 
tags?


-
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!



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]




-
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!

Re: WebSphere suuports servlets in /welcome-list does Tomcat?

2004-07-21 Thread R A
Have you tried it? I can not get it to work. If I type the action via the URL it 
appears. However, when I add it to the welcome-list and point a browser to the 
web-app, Tomcat returns a directory listing. Any ideas?

Tim Funk [EMAIL PROTECTED] wrote:
Tomcat 5 does because the 2.4 spec says so.

Tomcat 4.X does not.

-Tim

R A wrote:

 When entering a servlet(action) in the tag, Tomcat returns a directory listing. Does 
 it support servlets in the tags?
 

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



-
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.

Re: WebSphere suuports servlets in /welcome-list does Tomcat?

2004-07-21 Thread Tim Funk
Yes. post your web.xml and maybe someone can help.
R A wrote:
Have you tried it? I can not get it to work. If I type the action via the URL it 
appears. However, when I add it to the welcome-list and point a browser to the 
web-app, Tomcat returns a directory listing. Any ideas?
Tim Funk [EMAIL PROTECTED] wrote:
Tomcat 5 does because the 2.4 spec says so.
Tomcat 4.X does not.
-Tim
R A wrote:

When entering a servlet(action) in the tag, Tomcat returns a directory listing. Does it support servlets in the tags?

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