|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Adding servlets to a T5 app ...Hi!
This may be a stupid newbie quest but anyway ... The app that I am porting includes a number of service/callback servlets for various purposes. So I would like to configure some url:s within my app to be served by these servlets. If I just configure my servlets I assume that the T5 filter will take precendence !? Right or wrong !? Do I have a problem or am I just stupid. E.g. http:/myapp.com/* Served by Tapestry http:/myapp.com/foo Served by my foo servlet http:/myapp.com/bar Served by my bar servlet How do I configure this? Thanks in advance! Gunnar Eketrapp |
|
|
Re: Adding servlets to a T5 app ...Em Mon, 26 Oct 2009 14:46:32 -0200, Gunnar Eketrapp
<gunnar.eketrapp@...> escreveu: > Hi! Hi! > So I would like to configure some url:s within my app to be served by > these servlets. Out-of-the-box, you shouldn't have any problems, as Tapestry is a servlet filter, not a servlet. It is possible that Tapestry handles some requests that should be handled by something else (i.e. your servlets). In this case, take a look at the "Ignored Paths" section in http://tapestry.apache.org/tapestry5.1/guide/conf.html. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Adding servlets to a T5 app ...Great and Thanks!
2009/10/26 Thiago H. de Paula Figueiredo <thiagohp@...> > Em Mon, 26 Oct 2009 14:46:32 -0200, Gunnar Eketrapp < > gunnar.eketrapp@...> escreveu: > > Hi! >> > > Hi! > > > So I would like to configure some url:s within my app to be served by >> these servlets. >> > > Out-of-the-box, you shouldn't have any problems, as Tapestry is a servlet > filter, not a servlet. > It is possible that Tapestry handles some requests that should be handled > by something else (i.e. your servlets). In this case, take a look at the > "Ignored Paths" section in > http://tapestry.apache.org/tapestry5.1/guide/conf.html. > > -- > Thiago H. de Paula Figueiredo > Independent Java consultant, developer, and instructor > http://www.arsmachina.com.br/thiago > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > -- [Hem: 08-715 59 57, Mobil: 0708-52 62 90] Allévägen 2A, 132 42 Saltsjö-Boo |
|
|
Re: Adding servlets to a T5 app ...Hi!
For some reason my method to ignore path's does not get called! public static void contributeIgnoredPathsFilter(Configuration<String> configuration) { .... } Any clue anyone? Thanks in advance! /Gunnar Eketrapp 2009/10/27 Gunnar Eketrapp <gunnar.eketrapp@...> > Great and Thanks! > > 2009/10/26 Thiago H. de Paula Figueiredo <thiagohp@...> > > Em Mon, 26 Oct 2009 14:46:32 -0200, Gunnar Eketrapp < >> gunnar.eketrapp@...> escreveu: >> >> Hi! >>> >> >> Hi! >> >> >> So I would like to configure some url:s within my app to be served by >>> these servlets. >>> >> >> Out-of-the-box, you shouldn't have any problems, as Tapestry is a servlet >> filter, not a servlet. >> It is possible that Tapestry handles some requests that should be handled >> by something else (i.e. your servlets). In this case, take a look at the >> "Ignored Paths" section in >> http://tapestry.apache.org/tapestry5.1/guide/conf.html. >> >> -- >> Thiago H. de Paula Figueiredo >> Independent Java consultant, developer, and instructor >> http://www.arsmachina.com.br/thiago >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> >> > > > -- > [Hem: 08-715 59 57, Mobil: 0708-52 62 90] > Allévägen 2A, 132 42 Saltsjö-Boo > -- [Hem: 08-715 59 57, Mobil: 0708-52 62 90] Allévägen 2A, 132 42 Saltsjö-Boo |
|
|
Re: Adding servlets to a T5 app ...I was wrong it does get called but it seems like T5 handles my servlet
pathes anyway .... 2009/10/29 Gunnar Eketrapp <gunnar.eketrapp@...> > Hi! > > For some reason my method to ignore path's does not get called! > > > public static void contributeIgnoredPathsFilter(Configuration<String> > configuration) > { > .... > } > > Any clue anyone? > > > Thanks in advance! > /Gunnar Eketrapp > > > > > 2009/10/27 Gunnar Eketrapp <gunnar.eketrapp@...> > > Great and Thanks! >> >> 2009/10/26 Thiago H. de Paula Figueiredo <thiagohp@...> >> >> Em Mon, 26 Oct 2009 14:46:32 -0200, Gunnar Eketrapp < >>> gunnar.eketrapp@...> escreveu: >>> >>> Hi! >>>> >>> >>> Hi! >>> >>> >>> So I would like to configure some url:s within my app to be served by >>>> these servlets. >>>> >>> >>> Out-of-the-box, you shouldn't have any problems, as Tapestry is a servlet >>> filter, not a servlet. >>> It is possible that Tapestry handles some requests that should be handled >>> by something else (i.e. your servlets). In this case, take a look at the >>> "Ignored Paths" section in >>> http://tapestry.apache.org/tapestry5.1/guide/conf.html. >>> >>> -- >>> Thiago H. de Paula Figueiredo >>> Independent Java consultant, developer, and instructor >>> http://www.arsmachina.com.br/thiago >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@... >>> For additional commands, e-mail: users-help@... >>> >>> >> >> >> -- >> [Hem: 08-715 59 57, Mobil: 0708-52 62 90] >> Allévägen 2A, 132 42 Saltsjö-Boo >> > > > > -- > [Hem: 08-715 59 57, Mobil: 0708-52 62 90] > Allévägen 2A, 132 42 Saltsjö-Boo > -- [Hem: 08-715 59 57, Mobil: 0708-52 62 90] Allévägen 2A, 132 42 Saltsjö-Boo |
|
|
Re: Adding servlets to a T5 app ...Em Thu, 29 Oct 2009 19:37:37 -0200, Gunnar Eketrapp
<gunnar.eketrapp@...> escreveu: > I was wrong it does get called but it seems like T5 handles my servlet > pathes anyway .... Please post your whole contributeIgnoredPathsFilter method. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Adding servlets to a T5 app ...Hi Thiago!
I found the problem. I had added "/foo/.*" and "/bar/.*" but that didn't ignore "/foo" + "/bar" so I had to add them as well. Thanks anyway and sorry for disturbing you! Thanks again for the help with Login / ILogin. /Gunnar 2009/10/29 Thiago H. de Paula Figueiredo <thiagohp@...> > Em Thu, 29 Oct 2009 19:37:37 -0200, Gunnar Eketrapp < > gunnar.eketrapp@...> escreveu: > > > I was wrong it does get called but it seems like T5 handles my servlet >> pathes anyway .... >> > > Please post your whole contributeIgnoredPathsFilter method. > > > -- > Thiago H. de Paula Figueiredo > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, > and instructor > Owner, software architect and developer, Ars Machina Tecnologia da > Informação Ltda. > > http://www.arsmachina.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > -- [Hem: 08-715 59 57, Mobil: 0708-52 62 90] Allévägen 2A, 132 42 Saltsjö-Boo |
| Free embeddable forum powered by Nabble | Forum Help |