Re: T4: Servlet mapping problem
Hi Bill Make sure you have these 2 things: In tour web.xml declare your RedirectFilter like this: redirect org.apache.tapestry.RedirectFilter redirect-path /home then in "yourapp".application include this line: I think that's all you need. Saludos. Alejandro. On 10/5/07, Bill Holloway <[EMAIL PROTECTED]> wrote: > I haven't seen a lot of coverage on this recently. > > We have configured friendly urls for services with the usual .svc > extension. In our web.xml, we map "/home" to the tapestry servlet > rather than "/app". The service links look fine (e.g., > http://host/restart.svc) but winds up redirected to > /app?service=restart. This would be ok if we had the default mapping > of /app to the tapestry servlet, but we need /home. > > Is there a resolution for this for Tapestry 4.1.2? > > Bill > > - > 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: T4: Servlet mapping problem
Hi As far as I know friendly URLS are automatically mapped to the Page service, but Restart is not a Page service, it's a service on it's own. What you can do, you can create your own engine instance and map it to the URL you want, your Engine would serve the requests the way you need. Renat On 05/10/2007, Bill Holloway <[EMAIL PROTECTED]> wrote: > I haven't seen a lot of coverage on this recently. > > We have configured friendly urls for services with the usual .svc > extension. In our web.xml, we map "/home" to the tapestry servlet > rather than "/app". The service links look fine (e.g., > http://host/restart.svc) but winds up redirected to > /app?service=restart. This would be ok if we had the default mapping > of /app to the tapestry servlet, but we need /home. > > Is there a resolution for this for Tapestry 4.1.2? > > Bill > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Best regards, Renat Zubairov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T4: Servlet mapping problem
I haven't seen a lot of coverage on this recently. We have configured friendly urls for services with the usual .svc extension. In our web.xml, we map "/home" to the tapestry servlet rather than "/app". The service links look fine (e.g., http://host/restart.svc) but winds up redirected to /app?service=restart. This would be ok if we had the default mapping of /app to the tapestry servlet, but we need /home. Is there a resolution for this for Tapestry 4.1.2? Bill - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
about servlet-mapping
Hello, It is still me with my beginner's questions ... I've activated Friendly URLs and it works fine. The application context is /Tap02 and I would like to give the control to Tomcat or whatever the "normal' server request handler is, for urls like "/Tap02/export". Is it possible ? Or all the context could only be served by Tapestry ? Thank you for your help ... and your patience ;-) Cyrille. Here is my web.xml file : http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";> Tap02 tap02Servlet org.apache.tapestry.ApplicationServlet 0 30 tap02Servlet *.html tap02Servlet *.direct tap02Servlet *.sdirect tap02Servlet *.svc tap02Servlet *.external tap02Servlet /assets/* Home.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Servlet Mapping ??? Help Me
Also, have you considered just placing all images on a separate apache server on the same or other machine? I admit I did just that for scirpt and images for a project, because I didn't have the moral strength to battle with tomcat configs. Cheers, PS On 5/30/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Please don't post the same message three times in a row. That's considered poor manners "round here". On 5/29/06, Dwi Ardi Irawan <[EMAIL PROTECTED]> wrote: > > I use in web.xml: > > > MyWeb > > org.apache.tapestry.ApplicationServlet > 1 > > > MyWeb > /app > > > > Tooth > > edu.its.imss.gateway.servlet.Toothervlet > 2 > > > Tooth > / > > > the problem is, in my .html i'm trying to put an image > the code is fine but, the image isn't visible > the properties of the image in the screen : > http://localhost:8080/images/image_kiri_cut_01.gif > when i put it in new IE, it redirect to my servlet application (trident) > does anyone could help me ??? > > thnx > > http://dwiardiirawan.multiply.com > > > > - > 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] > > -- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind.
Re: Servlet Mapping ??? Help Me
Please don't post the same message three times in a row. That's considered poor manners "round here". On 5/29/06, Dwi Ardi Irawan <[EMAIL PROTECTED]> wrote: I use in web.xml: MyWeb org.apache.tapestry.ApplicationServlet 1 MyWeb /app Tooth edu.its.imss.gateway.servlet.Toothervlet 2 Tooth / the problem is, in my .html i'm trying to put an image the code is fine but, the image isn't visible the properties of the image in the screen : http://localhost:8080/images/image_kiri_cut_01.gif when i put it in new IE, it redirect to my servlet application (trident) does anyone could help me ??? thnx http://dwiardiirawan.multiply.com - 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] -- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind.
Servlet Mapping ??? Help Me
I use in web.xml: MyWeb org.apache.tapestry.ApplicationServlet 1 MyWeb /app Tooth edu.its.imss.gateway.servlet.Toothervlet 2 Tooth / the problem is, in my .html i'm trying to put an image the code is fine but, the image isn't visible the properties of the image in the screen : http://localhost:8080/images/image_kiri_cut_01.gif when i put it in new IE, it redirect to my servlet application (trident) does anyone could help me ??? thnx http://dwiardiirawan.multiply.com - 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]
Servlet Mapping ???
I use in web.xml: MyWeb org.apache.tapestry.ApplicationServlet 1 MyWeb /app Tooth edu.its.imss.gateway.servlet.Toothervlet 2 Tooth / the problem is, in my .html i'm trying to put an image the code is fine but, the image isn't visible the properties of the image in the screen : http://localhost:8080/images/image_kiri_cut_01.gif when i put it in new IE, it redirect to my servlet application (trident) does anyone could help me ??? thnx http://dwiardiirawan.multiply.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Servlet Mapping ???
I use in *web.xml*: MyWeb org.apache.tapestry.ApplicationServlet 1 MyWeb /app Tooth edu.its.imss.gateway.servlet.Toothervlet 2 Tooth / *the problem is, in my .html i'm trying to put an image the code is fine but, the image isn't visible the properties of the image in the screen : *http://localhost:8080/images/image_kiri_cut_01.gif *when i put it in new IE, it redirect to my servlet application (trident) does anyone could help me ??? *thnx* *http://dwiardiirawan.multiply.com