that's a cut-and-paste error that I made while composing the email, the real mapping doesn't have that attribute and yes you're right with it set to "true", all unresolved *.do requests would end up there.
On Friday, January 17, 2003, at 03:30 PM, Raible, Matt wrote:

Why do you have unknown="true" - I *think* this means that that the Welcomer
class will only be called if no mapping is found for it...

-----Original Message-----
From: Cagan Senturk [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 1:28 PM
To: Struts Users Mailing List
Subject: Re: struts servlet-mapping


unfortunately that doesn't work either...I tried most of these
combinations, but nothing seems to fix the problem.
The interesting thing is that the problem doesn't exist when the app is
deployed under Weblogic 7.


On Friday, January 17, 2003, at 12:49 AM, Subhrajyoti Moitra wrote:

<action path="/*/test"
            type="com.emirca.pp.controller.actionhandler.Welcomer"
             unknown="true"
             validate="false">
      </action>

will these work??

----- Original Message -----
From: "Cagan Senturk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 17, 2003 4:30 AM
Subject: struts servlet-mapping


Hello,
I am using Struts 1.1-b2 and Tomcat4.1.18.
My web app is deployed under a context named 'ppp'.
In web.xml, url-pattern for struts action servlet is set to '*.do':
 <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
  </servlet-mapping>

And in struts-config.xml, I have the following <action> element
setup:
        <action path="/test"

type="com.emirca.pp.controller.actionhandler.Welcomer"
                unknown="true"
                validate="false">
        </action>

On my server, the following works:
http://localhost:8080/ppp/test.do

but the following doesn't:
http://localhost:8080/ppp/layout/test.do

Which means subdirectories within the context are not recognized by
struts in this setup...
How can I fix this?
Thanks in advance.
Cagan


Cagan Senturk

Emirca Technologies, Inc.
75 Spring St. Floor #8
NYC, NY 10012

mailto:[EMAIL PROTECTED]
http://www.emirca.com


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


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




Cagan Senturk

Emirca Technologies, Inc.
75 Spring St. Floor #8
NYC, NY 10012

mailto:[EMAIL PROTECTED]
http://www.emirca.com


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


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




Cagan Senturk

Emirca Technologies, Inc.
75 Spring St. Floor #8
NYC, NY 10012

mailto:[EMAIL PROTECTED]
http://www.emirca.com


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

Reply via email to