RE: Handling probel.

2008-12-09 Thread Cappelletti Marc
Hi Andras,

Thanks for your answer, it seems that your answer matches what I've found on 
the web.

But as far as I know, on a cPanel, I should be able to use this connector 
through apache handlers. But maybe mod_jk has another name or something of that 
kind.

Have you ever already done such a config?

Thank you very much

Marc

-Message d'origine-
De : Andras Balogh [mailto:[EMAIL PROTECTED] 
Envoyé : mardi, 9. décembre 2008 10:12
À : Struts Users Mailing List
Objet : Re: Handling probel.

Hi Marc,

I might be wrong if I misunderstood your question, as I understood 
you can run fine your app
with Tomcat but not with Apache.
You need to add a connector to Apache in order to forward all *.do 
requests to Tomcat, this can be done
in many ways but probably the best is mod_jk:
http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html

Best regards,
Andras.

ps. If you refer to "Apache Tomcat" when you say "Apache" in your 
message, than ignore my answer


Cappelletti Marc wrote:
> Hi all,
>  
> Does anyone aver encountered this problem:
>  
> My webApp is running on a Tomcat server. When I dispatch a request
> through a "welcome.do" action, everything is well done. But when I type
> or I click on a link which points on a "contact.do" for example, Apache
> cannot handle this.
>  
> Does anyone have an idea on how make Apache handling the *.do patterns
> in order to interpret them correctly?
>  
> Thank you very much.
>  
> Marc
>
>   


-
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]



Handling probel.

2008-12-08 Thread Cappelletti Marc
Hi all,
 
Does anyone aver encountered this problem:
 
My webApp is running on a Tomcat server. When I dispatch a request
through a "welcome.do" action, everything is well done. But when I type
or I click on a link which points on a "contact.do" for example, Apache
cannot handle this.
 
Does anyone have an idea on how make Apache handling the *.do patterns
in order to interpret them correctly?
 
Thank you very much.
 
Marc


html:link define the href from a bean property

2008-11-17 Thread Cappelletti Marc
Hi,
 
Maybe an old problem, sorry for the redundance but:
 
I'd like to define that:
 

  
 
How can we do that without using <% %> or any java handling..?
 
Thank you
 
Marc


RE: welcome.do ignored in my web.xml

2008-11-17 Thread Cappelletti Marc
Yes but an action is a Servlet. Basically.

With Struts 1.3.9 it works. I've got a project in which this works. Is there 
another params I would've forget?

Thanks, regards ;)

Marc 

-Message d'origine-
De : Wes Wannemacher [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi, 14. novembre 2008 01:48
À : Struts Users Mailing List
Objet : Re: welcome.do ignored in my web.xml

JSPs, HTML files and Servlets will work, but pointing to an action will
not. This is not a struts limitation, it was part of the spec. 

[quote servlet-2_4-fr-spec.pdf]
The Web server must append each welcome file in the order specified in
the deployment descriptor to the partial request and check whether a
static resource or servlet in the WAR is mapped to that request URI. The
Web container must send the request to the first resource in the WAR
that matches. 
[/quote]

On Thu, 2008-11-13 at 11:42 +0100, Cappelletti Marc wrote:
> Hi all,
>  
> I've mapped my struts action *.do in the web.xml file and it works when
> I access a struts action directly with the URL (eg:
> http://localhost:8080/mcbc/welcome.do
> <http://localhost:8080/mcbc/welcome.do> )
>  
> But, when I go to the root of my webapp (http://localhost:8080/mcbc/ ),
> my welcome-file-list tag, which points to a struts action welcome.do is
> ignored by tomcat. And if I put a jsp file or a servlet in this welcome
> list, it works.
>  
> Does anyone have an idea of the problem?
>  
> Regards
>  
> Marc


-
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]



welcome.do ignored in my web.xml

2008-11-13 Thread Cappelletti Marc
Hi all,
 
I've mapped my struts action *.do in the web.xml file and it works when
I access a struts action directly with the URL (eg:
http://localhost:8080/mcbc/welcome.do
 )
 
But, when I go to the root of my webapp (http://localhost:8080/mcbc/ ),
my welcome-file-list tag, which points to a struts action welcome.do is
ignored by tomcat. And if I put a jsp file or a servlet in this welcome
list, it works.
 
Does anyone have an idea of the problem?
 
Regards
 
Marc