Re: Handling probel.

2008-12-09 Thread Andras Balogh

I don't use CPanel but check on the web for CPanel servlets support:
http://www.google.com/search?hl=en&q=cpanel+servlets&btnG=Search

BR,
Andras.

Cappelletti Marc wrote:

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

  



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



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]



Re: Handling probel.

2008-12-09 Thread Andras Balogh

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]



Re: Handling probel.

2008-12-09 Thread Dimitar Vlasev
I'm surprised how many people are asking questions the way nobody can
help them 
Which version of struts are you using?

If I use your .do pattern as a sign i might roll the dice and guess
looking the guts of the sacrificed animal  you are using Struts
1.x, aren't you?

you should have struts dispatcher servlet configured  in your web.xml
with some servlet mapping


action

org.apache.struts.action.ActionServlet


config

 /WEB-INF/struts-config.xml


1


action
/do/*




If the poor animal died without being able to help me, and you are
using Struts 2.x then you'll have a filter mapping
 
struts2

org.apache.struts2.dispatcher.FilterDispatcher


struts2
/*




These configurations are used from Tomcat to determine which module
will take care / work onto / your request.
Look for any configuration that might interfere with Struts dispatcher
configuration.
There might be some security constraints that prevent action execution.

This is what I can think of. You'll need to investigate it.

Good luck.

-
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