Good Morning Al

if you're using Apache you want to config the ajp13 connector to handle any/all 
struts/jsp/servlet requests
so in your %APACHE_HOME%/conf/httpd.conf you'll want to config in ajp13 worker 
as illustrated here
# send all requests ending in .jsp to ajp13
JkMount /*.jsp ajp13
JkMount /jpetstore/* ajp13
JkMount /manager/* ajp13
JKMount /struts2-showcase/* ajp13
JkMount /*.do ajp13
JkMount /*/servlet/ ajp13

JkWorkerProperty worker.list=ajp13
JkWorkerProperty worker.loadbalancer.type=lb
JkWorkerProperty worker.loadbalancer.balanced_workers=ajp13

JkWorkerProperty worker.ajp13.type=ajp13
JkWorkerProperty worker.ajp13.host=localhost
JkWorkerProperty worker.ajp13.port=8009   

HTH!
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 


> Date: Sat, 16 Aug 2008 11:55:04 +0100
> From: [EMAIL PROTECTED]
> To: user@struts.apache.org
> Subject: Re: Struts2 Application Structure
> 
> Roger wrote:
> > Any link http://www.host.com/MyApplication passes 
> > directly to Struts 2.
> >   
> Only if you're using a strange configuration that says it should. 
> Otherwise http://www.host.com/MyApplication/blah.jsp will be processed 
> in the same way as any other jsp, and 
> http://www.host.com/MyApplication/blah.html will be treated like any 
> other HTML file.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

_________________________________________________________________
Get ideas on sharing photos from people like you.  Find new ways to share.
http://www.windowslive.com/explore/photogallery/posts?ocid=TXT_TAGLM_WL_Photo_Gallery_082008

Reply via email to