RE: Newbie Question about tiles definitions. I am lost :(

2003-02-14 Thread Pani, Gourav
in the web.xml file

   
  





2
  

  mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 9:06 AM
To: Struts Users Mailing List
Subject: RE: Newbie Question about tiles definitions. I am lost :(


I changed the action mapping, but I don't think I have an action servlet.
How do I map *.do to the action servlet?

Thanks,
Jarrod Lugo


-Original Message-
From: John Espey [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 3:56 PM
To: Struts Users Mailing List
Subject: RE: Newbie Question about tiles definitions. I am lost :(


If you have *.do mapped to the action servlet, then you will need to request
(relative to the webapp of course) "/home.do" or "/products.do".  You'll
need to switch the action mapping like so:
 

Or else configure the mapping such that an action that automatically
forwards to "success" (I think ForwardAction does the trick) is specified.
I haven't tried using the "." as the first character in the tile name, but
it may work.  I changed it in the above snippet just in case.

> -Original Message-
> From: Jarrod M. Lugo [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 13, 2003 2:14 PM
> To: Struts-User@Jakarta. Apache. Org
> Subject: Newbie Question about tiles definitions. I am lost :(
>
>
> Hello,
>
> I am trying to get tiles to work with definitions, and I am
> having a little
> trouble.  How do I get either the home page or products page to show up in
> my browser?
>
> struts-config.xml:
>
> 
>   
> 
> 
>   
> 
>
>
> tiles-def.xml:
>
> 
>   
> 
>
> 
>   
> 
>
>
> basicLayout.jsp:
>
> 
> 
> 
> 
> 
>
>
> TIA,
> Jarrod Lugo
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



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

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




RE: Newbie Question about tiles definitions. I am lost :(

2003-02-14 Thread Jarrod M. Lugo
I changed the action mapping, but I don't think I have an action servlet.
How do I map *.do to the action servlet?

Thanks,
Jarrod Lugo


-Original Message-
From: John Espey [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 3:56 PM
To: Struts Users Mailing List
Subject: RE: Newbie Question about tiles definitions. I am lost :(


If you have *.do mapped to the action servlet, then you will need to request
(relative to the webapp of course) "/home.do" or "/products.do".  You'll
need to switch the action mapping like so:
 

Or else configure the mapping such that an action that automatically
forwards to "success" (I think ForwardAction does the trick) is specified.
I haven't tried using the "." as the first character in the tile name, but
it may work.  I changed it in the above snippet just in case.

> -Original Message-
> From: Jarrod M. Lugo [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 13, 2003 2:14 PM
> To: Struts-User@Jakarta. Apache. Org
> Subject: Newbie Question about tiles definitions. I am lost :(
>
>
> Hello,
>
> I am trying to get tiles to work with definitions, and I am
> having a little
> trouble.  How do I get either the home page or products page to show up in
> my browser?
>
> struts-config.xml:
>
> 
>   
> 
> 
>   
> 
>
>
> tiles-def.xml:
>
> 
>   
> 
>
> 
>   
> 
>
>
> basicLayout.jsp:
>
> 
> 
> 
> 
> 
>
>
> TIA,
> Jarrod Lugo
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



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




RE: Newbie Question about tiles definitions. I am lost :(

2003-02-13 Thread John Espey
If you have *.do mapped to the action servlet, then you will need to request
(relative to the webapp of course) "/home.do" or "/products.do".  You'll
need to switch the action mapping like so:
 

Or else configure the mapping such that an action that automatically
forwards to "success" (I think ForwardAction does the trick) is specified.
I haven't tried using the "." as the first character in the tile name, but
it may work.  I changed it in the above snippet just in case.

> -Original Message-
> From: Jarrod M. Lugo [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 13, 2003 2:14 PM
> To: Struts-User@Jakarta. Apache. Org
> Subject: Newbie Question about tiles definitions. I am lost :(
>
>
> Hello,
>
> I am trying to get tiles to work with definitions, and I am
> having a little
> trouble.  How do I get either the home page or products page to show up in
> my browser?
>
> struts-config.xml:
>
> 
>   
> 
> 
>   
> 
>
>
> tiles-def.xml:
>
> 
>   
> 
>
> 
>   
> 
>
>
> basicLayout.jsp:
>
> 
> 
> 
> 
> 
>
>
> TIA,
> Jarrod Lugo
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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




Newbie Question about tiles definitions. I am lost :(

2003-02-13 Thread Jarrod M. Lugo
Hello,

I am trying to get tiles to work with definitions, and I am having a little
trouble.  How do I get either the home page or products page to show up in
my browser?

struts-config.xml:









tiles-def.xml:










basicLayout.jsp:








TIA,
Jarrod Lugo


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