I know someone built a CoolUriServletDispatcher which lets you have
different forms of URL patterns... I don't know too much about it, so
hopefully someone else can fill you in.

What CVS are you looking at? WW2 is hosted at dev.java.net, not the
sourceforge repository.

Jason


> -----Original Message-----
> From: Mark Woon [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, December 30, 2003 12:58 AM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] [WebWork2] Servlet mapping question
> 
> 
> Hi all.
> 
> I'm trying to migrate from Struts to WebWork2 and I've run 
> into a slight 
> snag.  In Struts, I have the ActionServlet mapped to /do/* 
> (instead of 
> the usual *.do).  I'd like to do the same with WebWork.  Instead of 
> mapping the ServletDispatcher to *.action, I'd like to map it 
> to /do/* 
> as well.  I tried
> 
>   <servlet-mapping>
>     <servlet-name>webwork</servlet-name>
>     <url-pattern>/ww/*</url-pattern>
>   </servlet-mapping>
> 
> Unfortunately, this doesn't seem to work.  I'm getting "There is no 
> Action mapped for action name do".  Is this not an expected use case?
> 
> By the by, I checked out the source via CVS to see what was going on, 
> but that only lead to more problems.  Is the webworks2 CVS HEAD not 
> stable?  It looks like webwork-default.xml has disappeared, 
> along with 
> other problems...
> 
> Any pointers would be greatly appreciated.
> 
> Thanks,
> -Mark
> 
> P/S - I'm playing with WebWork 2b2.
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign 
> up for IBM's Free Linux Tutorials.  Learn everything from the 
> bash shell to sys admin. Click now! 
> http://ads.osdn.com/?ad_id=1278&alloc_id=3371> &op=click
> 
> _______________________________________________
> 
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to