Re: WicketFilter without web.xml

2015-12-08 Thread Štefan Šimík
on", value="development"), @WebInitParam(name="filterMappingUrlPattern", value="/*"), } ) public class AppWicketFilter extends WicketFilter { } On Tue, Dec 8, 2015 at 8:07 PM, Tobias Soloschenko < tobiassolosche...@googlemail.com> wrote: > Hi guys, > >

WicketFilter without web.xml

2015-12-08 Thread Tobias Soloschenko
quot;com.app.web.WebApplication") }) public class WicketInitFilter extends WicketFilter { } looks a bit empty. :-) kind regards Tobias

RE: WicketFilter-filestore overflow

2011-12-01 Thread Fang Lin
: WicketFilter-filestore overflow Is there a cluster of Tomcat instances ? Maybe the sessionExpired notification has ran on just one of the instances and all other leak these folders. On Thu, Dec 1, 2011 at 10:37 PM, Fang Lin wrote: > All the session folders are cleaned up during the test on

Re: WicketFilter-filestore overflow

2011-12-01 Thread Martin Grigorov
.@apache.org] > Sent: Thursday, December 01, 2011 12:03 PM > To: users@wicket.apache.org > Subject: Re: WicketFilter-filestore overflow > > Set the session timeout to 1, log in and wait 1 minute with the debugger at > that method and follow the execution > > On Thu, Dec 1, 201

RE: WicketFilter-filestore overflow

2011-12-01 Thread Fang Lin
- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Thursday, December 01, 2011 12:03 PM To: users@wicket.apache.org Subject: Re: WicketFilter-filestore overflow Set the session timeout to 1, log in and wait 1 minute with the debugger at that method and follow the execution On Thu, Dec

Re: WicketFilter-filestore overflow

2011-12-01 Thread Martin Grigorov
ailto:mgrigo...@apache.org] > Sent: Thursday, December 01, 2011 11:52 AM > To: users@wicket.apache.org > Subject: Re: WicketFilter-filestore overflow > > On Thu, Dec 1, 2011 at 8:31 PM, Fang Lin wrote: >> It looks like a bug as the behavior is not consistent across all servers. >>

Re: WicketFilter-filestore overflow

2011-12-01 Thread Martin Grigorov
ase advise how I can debug it? > > -Original Message- > From: Martin Grigorov [mailto:mgrigo...@apache.org] > Sent: Thursday, December 01, 2011 11:52 AM > To: users@wicket.apache.org > Subject: Re: WicketFilter-filestore overflow > > On Thu, Dec 1, 2011 at 8:31 PM, F

RE: WicketFilter-filestore overflow

2011-12-01 Thread Fang Lin
It did clean up some folders, but not all of them. -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Thursday, December 01, 2011 11:52 AM To: users@wicket.apache.org Subject: Re: WicketFilter-filestore overflow On Thu, Dec 1, 2011 at 8:31 PM, Fang Lin wrote

RE: WicketFilter-filestore overflow

2011-12-01 Thread Fang Lin
Please advise how I can debug it? -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Thursday, December 01, 2011 11:52 AM To: users@wicket.apache.org Subject: Re: WicketFilter-filestore overflow On Thu, Dec 1, 2011 at 8:31 PM, Fang Lin wrote: > It looks lik

Re: WicketFilter-filestore overflow

2011-12-01 Thread Martin Grigorov
n > Sent: Thursday, December 01, 2011 11:26 AM > To: users@wicket.apache.org > Subject: RE: WicketFilter-filestore overflow > > Thanks for checking into this quickly! > We don’t  use Jetty. We use Apache Tomcat/6.0.29. > On the server that had the overflow, there were  3,111 direc

RE: WicketFilter-filestore overflow

2011-12-01 Thread Fang Lin
It looks like a bug as the behavior is not consistent across all servers. Would anything setting in Tomcat affect how Wicket clean up the folders? -Fang -Original Message- From: Fang Lin Sent: Thursday, December 01, 2011 11:26 AM To: users@wicket.apache.org Subject: RE: WicketFilter

RE: WicketFilter-filestore overflow

2011-12-01 Thread Fang Lin
, December 01, 2011 10:59 AM To: users@wicket.apache.org Subject: Re: WicketFilter-filestore overflow Everything seems to be OK. I just tested it with Jetty 7.5 When a session expires this call is executed: Daemon Thread [HashSessionScavenger-0] (Suspended (breakpoint at line 454 in DiskDataStore

Re: WicketFilter-filestore overflow

2011-12-01 Thread Martin Grigorov
peared in the application log on each page load: >> >> ERROR 29 08:01:57.665 Failed to create directory: >> /usr/local/tomcat/work/Catalina/localhost/_/WicketFilter-filestore/0A91844EB9E584DD7CA8C48AD558AB2D.myuw11 >> [o.a.w.u.f.Files] >> ERROR 29 08:01:

Re: WicketFilter-filestore overflow

2011-12-01 Thread Martin Grigorov
log on each page load: > > ERROR 29 08:01:57.665 Failed to create directory: > /usr/local/tomcat/work/Catalina/localhost/_/WicketFilter-filestore/0A91844EB9E584DD7CA8C48AD558AB2D.myuw11 > [o.a.w.u.f.Files] > ERROR 29 08:01:57.666 > /usr/local/tomcat/work/Catalina

WicketFilter-filestore overflow

2011-12-01 Thread Fang Lin
About two weeks after we deployed Wicket 1.5.3, we ran into a file system issue on one of our server. The following appeared in the application log on each page load: ERROR 29 08:01:57.665 Failed to create directory: /usr/local/tomcat/work/Catalina/localhost/_/WicketFilter-filestore

WicketFilter cannot resolve filterPath if filterMappingUrlPattern is not configured

2011-10-27 Thread Mikko Pukki
Hi, We noticed this while running our application in an environment where firewall blocks all connections to outside addresses. Adding filterMappingUrlPattern parameter helped. so for instance helloworld's web.xml (http://wicket.apache.org/learn/examples/helloworld.html) would be something lik

RE: WicketFilter 1.5 ignorePaths - any changes?

2011-09-26 Thread Chris Colman
Doh! That was my bad. Was building the 1.5 version of our app in a different directory but didn't change the docBase in the app's Tomcat config to reflect that new directory so it continued to pull unchanged web.xml from the old 1.4 directory Embarrassed =] >It should be the same behavior

Re: WicketFilter 1.5 ignorePaths - any changes?

2011-09-26 Thread Martin Grigorov
It should be the same behavior but since this method has been lost and re-introduced in 1.5 it may have issues. It has test in WicketFilterTest. Extend the test with the failures and attach it in a ticket. On Mon, Sep 26, 2011 at 11:22 AM, Chris Colman wrote: > Are there any changes to the way th

WicketFilter 1.5 ignorePaths - any changes?

2011-09-26 Thread Chris Colman
Are there any changes to the way the ignorePaths init-param works in 1.5? I have a web.xml that has been working fine in 1.4 with a set of ignorePaths but it appears as though Wicket 1.5 is trying to process some of the requests that it was ignoring in 1.4.

Re: WicketFilter always sets expires header to 1h for shared resources if browser sends "if-modified-since" header

2011-09-05 Thread Martin Grigorov
n always override headers set by Wicket by introducing your own >> servlet filter which wraps WicketFilter and resets the headers after >> WicketFilter returns, i.e. chain.doFilter() call in your filter. >> >> On Mon, Sep 5, 2011 at 5:42 PM, Thomas Heigl wrote: >> > Hey a

Re: WicketFilter always sets expires header to 1h for shared resources if browser sends "if-modified-since" header

2011-09-05 Thread Thomas Heigl
ng. > You can always override headers set by Wicket by introducing your own > servlet filter which wraps WicketFilter and resets the headers after > WicketFilter returns, i.e. chain.doFilter() call in your filter. > > On Mon, Sep 5, 2011 at 5:42 PM, Thomas Heigl wrote: > &g

Re: WicketFilter always sets expires header to 1h for shared resources if browser sends "if-modified-since" header

2011-09-05 Thread Martin Grigorov
Caching is improved a lot in Wicket 1.5, consider upgrading. You can always override headers set by Wicket by introducing your own servlet filter which wraps WicketFilter and resets the headers after WicketFilter returns, i.e. chain.doFilter() call in your filter. On Mon, Sep 5, 2011 at 5:42 PM

WicketFilter always sets expires header to 1h for shared resources if browser sends "if-modified-since" header

2011-09-05 Thread Thomas Heigl
icket always sets the expiry header to 1 hour if the browser sends a request including an "IF-MODIFIED-SINCE"-header. The relevant code is in WicketFilter (1.4.16) 347-350: httpServletResponse.setStatus(HttpServletResponse.SC_NOT_MODIFIED); httpServletResponse.setDate

Re: WicketSessionFilter and ignorePaths in WicketFilter

2011-06-03 Thread hok
Yes, it's wicket 1.5 https://issues.apache.org/jira/browse/WICKET-3769 https://issues.apache.org/jira/browse/WICKET-3769 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WicketSessionFilter-and-ignorePaths-in-WicketFilter-tp3570291p3570704.html Sent from the

Re: WicketSessionFilter and ignorePaths in WicketFilter

2011-06-03 Thread Martin Grigorov
, and inside it > > setAttribute(request, getSessionAttribute(), newSession); > > If we assume that inside web.xml the WicketFilter name is "WICKET_FILTER", > the getSessionAttribute() method returns "sessionWICKET_FILTER". Then, > inside > setAttribute(requ

Re: WicketSessionFilter and ignorePaths in WicketFilter

2011-06-03 Thread hok
Hello, after some investigation I reached to the following: when a wicket session is created it is added as attribute to the HttpSession: HttpSessionStore.bind(), and inside it setAttribute(request, getSessionAttribute(), newSession); If we assume that inside web.xml the WicketFilter name is

Re: WicketFilter 1.5

2011-03-30 Thread Martin Grigorov
g>I think this will help you. On Thu, Mar 31, 2011 at 8:58 AM, Jan Kriesten wrote: > > Hi, > > WicketFilter with 1.5 doesn't seem to use/support 'getRelativePath' any > more. > > I used to override this to apply Locale selection and stripping this >

WicketFilter 1.5

2011-03-30 Thread Jan Kriesten
Hi, WicketFilter with 1.5 doesn't seem to use/support 'getRelativePath' any more. I used to override this to apply Locale selection and stripping this information off: /de/myRelativeWicketPath -> /myRelativeWicketPath + Session Locale 'de' Where can I hook that

Re: Why is method "getLastModified" in WicketFilter package-protected?

2010-11-30 Thread Steffen Fritzsche
verride > this HttpServlet method to indicate site changes. > > -sf > > > Am 30.11.2010 um 16:12 schrieb Martin Grigorov: > >> Which version of Wicket do you use ? >> In latest 1.4-SNAPSHOT it is "protected". In 1.5 this method does not even >>

Re: Why is method "getLastModified" in WicketFilter package-protected?

2010-11-30 Thread Steffen Fritzsche
s method does not even > exists anymore. > The same for SERVLET_PATH_HOLDER. This one is used in WicketFilter#init() > and WicketServlet#init(). Do you completely re-write those ? > > On Tue, Nov 30, 2010 at 3:45 PM, Steffen Fritzsche > wrote: > >> Hi, >> >>

Re: Why is method "getLastModified" in WicketFilter package-protected?

2010-11-30 Thread Martin Grigorov
Which version of Wicket do you use ? In latest 1.4-SNAPSHOT it is "protected". In 1.5 this method does not even exists anymore. The same for SERVLET_PATH_HOLDER. This one is used in WicketFilter#init() and WicketServlet#init(). Do you completely re-write those ? On Tue, Nov 30, 2010

Why is method "getLastModified" in WicketFilter package-protected?

2010-11-30 Thread Steffen Fritzsche
Hi, Why is the method "getLastModified" in WicketFilter package-protected? My problem is that I extend WicketFilter in an OSGi context. I'd like to delegate all calls to my own "getLastModified" method to the underlying WicketFilter. Since I am in an OSG

Re: WicketFilter doesn't chain?

2010-05-14 Thread James Carman
If it handles the request, it doesn't need to execute the rest of the chain. Put OSIV in front of WicketFilter. On Fri, May 14, 2010 at 5:19 PM, J wrote: > I'm having some problems with > org.springframework.orm.hibernate3.support.OpenSessionInViewFilter in some > cases. I

WicketFilter doesn't chain?

2010-05-14 Thread J
s breaking the filter chain by not calling the Filter.doFilter method (from Servlet API), causing other filters defined in web.xml not to work within the same url-pattern. (A workaround is to define WicketFilter as last entry in web.xml.) When a non-wicket url is called within the same url-pat

Re: WicketFilter Config

2010-03-29 Thread James Carman
g Spring. Our Spring configuration works with either the > SpringWebApplicationFactory or ContextParamWebApplicationFactory. > > > > > James Carman > 03/29/2010 04:31 PM > Please respond to > users@wicket.apache.org > > > To > users@wicket.apache

Re: WicketFilter Config

2010-03-29 Thread MZemeck
Yes we are using Spring. Our Spring configuration works with either the SpringWebApplicationFactory or ContextParamWebApplicationFactory. James Carman 03/29/2010 04:31 PM Please respond to users@wicket.apache.org To users@wicket.apache.org cc Subject Re: WicketFilter Config Do you

Re: WicketFilter Config

2010-03-29 Thread James Carman
Do you want/need to configure your application via Spring? On Mon, Mar 29, 2010 at 4:27 PM, wrote: > Igor, > We are using WicketFilter with SpringWebApplicationFactory. This works > fine, but I've noticed SpringWebApplication has been deprecated, and since > SpringWebApplicati

Re: WicketFilter Config

2010-03-29 Thread MZemeck
Igor, We are using WicketFilter with SpringWebApplicationFactory. This works fine, but I've noticed SpringWebApplication has been deprecated, and since SpringWebApplicationFactory returns a SpringWebApplication we tried the ContextParamWebApplicationFactory which also works. Whi

Re: WicketFilter Config

2010-03-25 Thread Cemal Bayramoglu
aluated > several ways of configuring Wicket using WicketFilter.  I found > ContextParamWebApplicationFactory to work with a Spring Annotation > approach.  SpringWebApplicationFactory also works with a Spring Annotation > approach, but since it returns a SpringWebApplication (depreca

Re: WicketFilter Config

2010-03-25 Thread Igor Vaynberg
recommended configuration is on our wiki's spring page -igor On Thu, Mar 25, 2010 at 11:22 AM, wrote: > Due to the fact that SpringWebApplication is deprecated, we evaluated > several ways of configuring Wicket using WicketFilter.  I found > ContextParamWebApplicationFactory

WicketFilter Config

2010-03-25 Thread MZemeck
Due to the fact that SpringWebApplication is deprecated, we evaluated several ways of configuring Wicket using WicketFilter. I found ContextParamWebApplicationFactory to work with a Spring Annotation approach. SpringWebApplicationFactory also works with a Spring Annotation approach, but

WicketServlet/WicketFilter client cache lifetime How-to ?

2009-12-21 Thread Martin Makundi
/ However, as it turns out (after some debugging) all the static resources are served via WicketServlet too. Could someone help me in configuring either wicketservlet (compannioned with wicketfilter??) or wicketfilter such that static resources in /webapp/* get a client cache lifetime of 1 hour

Re: WicketFilter

2009-08-31 Thread Uwe Schäfer
Igor Vaynberg schrieb: ok, i added a protected getter. remember, you can only call it after the filter's init() has been called. sure, thanks Igor. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: WicketFilter

2009-08-31 Thread Igor Vaynberg
ok, i added a protected getter. remember, you can only call it after the filter's init() has been called. -igor 2009/8/31 Uwe Schäfer : > Igor Vaynberg schrieb: >> >> how are you getting a reference to the filter itself to start with? > > MyFunkyF

Re: WicketFilter

2009-08-31 Thread Uwe Schäfer
Igor Vaynberg schrieb: how are you getting a reference to the filter itself to start with? MyFunkyFilter extends WicketFilter :) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail

Re: WicketFilter

2009-08-31 Thread Igor Vaynberg
;> then. > > done. but i´d love to grab the webApplication reference from the original > filter by other means than nasty reflection *g* > > would it be possible to add > > protected Application getApplication(){ >  return webApp

Re: WicketFilter

2009-08-31 Thread Uwe Schäfer
* would it be possible to add protected Application getApplication(){ return webApplication; } to the WicketFilter? thx, uwe - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Re: WicketFilter

2009-08-31 Thread Igor Vaynberg
hm, i remember that filter also setting the application. maybe i did not remember correctly. anyways, you can simply write your own filter then. -igor 2009/8/30 Uwe Schäfer : > Igor Vaynberg schrieb: >> >> even though it is session specific it still sets application threadlocal. > > does not work

Re: WicketFilter

2009-08-30 Thread Uwe Schäfer
Igor Vaynberg schrieb: even though it is session specific it still sets application threadlocal. does not work, and does not look like it would: public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { HttpServletReques

Re: WicketFilter

2009-08-30 Thread Igor Vaynberg
(), and >>> Application.get() > > actually, (as the name implies), this is quite session centric. my current > use case is web services where i don´t have a session. > > subclassing WicketFilter is not too easy as well, because it does not reveal > the application reference (priv

Re: WicketFilter

2009-08-30 Thread Uwe Schäfer
session. subclassing WicketFilter is not too easy as well, because it does not reveal the application reference (private, no getter). this makes me do nasty reflection tricks to get it, which - while it works - feels even much more dirty than using the singleton approach to get an application

Re: WicketFilter

2009-08-30 Thread Uwe Schäfer
Igor Vaynberg schrieb: map WicketSessionFilter in front of those servlets, you will get both Session.get() and Session.get().getApplication(), and Application.get() awesome. i was not aware of this. thanks Igor. cu uwe - To u

Re: WicketFilter

2009-08-29 Thread Igor Vaynberg
application. currently, i do it through singletons which > feels quite dirty. > > i was wondering, if it would be possible to extend the WicketFilter, to > offer a reference to anyone processing the request (further in the chain) to > the application the request belongs to. > > It mi

WicketFilter

2009-08-29 Thread Uwe Schäfer
Hi once in a while, i´d like to create a servlet (or worse) that can grab data from the wicket application. currently, i do it through singletons which feels quite dirty. i was wondering, if it would be possible to extend the WicketFilter, to offer a reference to anyone processing the

WicketFilter and nullpointerexception

2009-08-03 Thread Fernando Wermus
Hi all, I am using wicket and blazeds. The users logs in through wicket and they use blazeds services as well. I need to verify in MessageBrokerServlet (blazeds servlet) that the user has logged in. Then I added the WicketSessionFilter to get the session. But I got a null pointer exception: ja

Re: WicketFilter Session Information

2009-06-25 Thread Igor Vaynberg
Jun 25, 2009 at 10:39 AM, Rowe, Richard > A. wrote: >> I want to create a custom filter by extending WicketFilter. How do I get >> the Wicket Session object in my custom filter? >> >> >> >> Richard Rowe >> >> >> >> > > ---

Re: WicketFilter Session Information

2009-06-25 Thread Jeremy Thomerson
Session.get() if the parent filter has already initialized it -- Jeremy Thomerson http://www.wickettraining.com On Thu, Jun 25, 2009 at 10:39 AM, Rowe, Richard A. wrote: > I want to create a custom filter by extending WicketFilter. How do I get > the Wicket Session object in my custom

WicketFilter Session Information

2009-06-25 Thread Rowe, Richard A.
I want to create a custom filter by extending WicketFilter. How do I get the Wicket Session object in my custom filter? Richard Rowe

Re: HTTP error code 404 is returned by Wicket1.3.5(WicketFilter) and WAS6.0.1(And FixPack 21).

2008-12-24 Thread shetc
The WicketSerlvet class is still fully supported -- if you look closely at its code, you will see that it basically hands everything off to the WicketFilter class. My experience has been that the servlet solution works best with WebSphere 6.1. -- View this message in context: http

Re: HTTP error code 404 is returned by Wicket1.3.5(WicketFilter) and WAS6.0.1(And FixPack 21).

2008-12-24 Thread kanou
To our regret, I already had confirmed this information. HTTP error code 404 is not generated because I am using WicketServlet now. However, the use of WicketFilter is recommended from WicketServlet since Wicket1.3. I want to learn the achievement method in WicketFilter. If I can do, I want to

Re: HTTP error code 404 is returned by Wicket1.3.5(WicketFilter) and WAS6.0.1(And FixPack 21).

2008-12-24 Thread Michiaki Kanou
Thank you for the giving information. To our regret, I already had confirmed this information. HTTP error code 404 is not generated because I am using WicketServlet now. However, the use of WicketFilter is recommended from WicketServlet since Wicket1.3. I want to learn the achievement method in

Re: HTTP error code 404 is returned by Wicket1.3.5(WicketFilter) and WAS6.0.1(And FixPack 21).

2008-12-24 Thread shetc
Not sure if this applies to your case but have you seen http://cwiki.apache.org/WICKET/websphere.html Notes on using Wicket with WebSphere ? -- View this message in context: http://www.nabble.com/HTTP-error-code-404-is-returned-by-Wicket1.3.5%28WicketFilter%29-and-WAS6.0.1%28And-FixPack-21%29.-

HTTP error code 404 is returned by Wicket1.3.5(WicketFilter) and WAS6.0.1(And FixPack 21).

2008-12-23 Thread Michiaki Kanou
I am using Wicket1.3.5 and WAS6.1.0(And FixPack21) now, and when WicketFilter is used, HTTP error code 404 is occur(It is not occur in Tomcat5.0.28). The following question is here. In the close() method of BufferedWebResponse, the Writer instance might have to be shut. For instance, after the

Re: CometServlet and WicketFilter

2008-05-08 Thread freak182
reak182 <[EMAIL PROTECTED]> >> wrote: >> > >> >> >> >> Hello, >> >> my problem im having problem integrating the wicket-push example to >> our >> >> project using wicketfilter and since the wicket-push examples using >

Re: CometServlet and WicketFilter

2008-05-08 Thread Johan Compagner
wrote: > > > >> > >> Hello, > >> my problem im having problem integrating the wicket-push example to our > >> project using wicketfilter and since the wicket-push examples using > >> wicketservlet..how can i configure this changes?i

Re: CometServlet and WicketFilter

2008-05-07 Thread freak182
oblem im having problem integrating the wicket-push example to our >> project using wicketfilter and since the wicket-push examples using >> wicketservlet..how can i configure this changes?i already ported to >> servlet-api 2.5. >> >> i change from... >> ServletContex

Re: CometServlet and WicketFilter

2008-05-07 Thread Johan Compagner
> project using wicketfilter and since the wicket-push examples using > wicketservlet..how can i configure this changes?i already ported to > servlet-api 2.5. > > i change from... > ServletContext servletContext = > ((WebApplication)Application.get()).getServletContext(); > &

CometServlet and WicketFilter

2008-05-07 Thread freak182
Hello, my problem im having problem integrating the wicket-push example to our project using wicketfilter and since the wicket-push examples using wicketservlet..how can i configure this changes?i already ported to servlet-api 2.5. i change from... ServletContext servletContext

Re: Exception starting filter WicketFilter on Glassfish

2008-04-19 Thread Johan Compagner
> Netbeans 6. I am getting following error: > > WebModule[/MyApp]PWC1270: Exception starting filter WicketFilter > java.lang.NoClassDefFoundError: javax/servlet/Filter >at java.lang.ClassLoader.defineClass1(Native Method) >at java.lang.ClassLoader.defineClass(ClassL

Re: Exception starting filter WicketFilter on Glassfish

2008-04-16 Thread Igor Vaynberg
plication on Glass Fish server. I am > > using > > > Netbeans 6. I am getting following error: > > > > > > WebModule[/MyApp]PWC1270: Exception starting filter WicketFilter > > > java.lang.NoClassDefFoundError: javax/servlet/Filter > > >

Re: Exception starting filter WicketFilter on Glassfish

2008-04-16 Thread PJ Pillai
; wrote: > > Hello, > > > > I deployed my first hello world application on Glass Fish server. I am > using > > Netbeans 6. I am getting following error: > > > > WebModule[/MyApp]PWC1270: Exception starting filter WicketFilter > > java.lang.NoClassDefF

Re: Exception starting filter WicketFilter on Glassfish

2008-04-16 Thread Igor Vaynberg
Pillai <[EMAIL PROTECTED]> wrote: > Hello, > > I deployed my first hello world application on Glass Fish server. I am using > Netbeans 6. I am getting following error: > > WebModule[/MyApp]PWC1270: Exception starting filter WicketFilter > java.lang.NoClassDefFound

Exception starting filter WicketFilter on Glassfish

2008-04-16 Thread PJ Pillai
Hello, I deployed my first hello world application on Glass Fish server. I am using Netbeans 6. I am getting following error: WebModule[/MyApp]PWC1270: Exception starting filter WicketFilter java.lang.NoClassDefFoundError: javax/servlet/Filter at java.lang.ClassLoader.defineClass1(Native

Re: Tip:ServletContext from WicketFilter

2008-01-22 Thread Ayodeji Aladejebi
thanks, works great! On 1/21/08, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > there is a webapplication.getservletcontext(). > > -igor > > > On Jan 21, 2008 7:42 AM, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > > Well, I have started migrating some code to 1.3, however i had some > > STOP-AN

Re: Tip:ServletContext from WicketFilter

2008-01-21 Thread Igor Vaynberg
there is a webapplication.getservletcontext(). -igor On Jan 21, 2008 7:42 AM, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > Well, I have started migrating some code to 1.3, however i had some > STOP-AND-CONFIRM situation > > In 1.2.x > > ServletContext context = Application.getWicketServlet

Re: Tip:ServletContext from WicketFilter

2008-01-21 Thread Johan Compagner
that should still work. On Jan 21, 2008 4:42 PM, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > Well, I have started migrating some code to 1.3, however i had some > STOP-AND-CONFIRM situation > > In 1.2.x > > ServletContext context = Application.getWicketServlet > ().getServletContext() > ? >

Tip:ServletContext from WicketFilter

2008-01-21 Thread Ayodeji Aladejebi
Well, I have started migrating some code to 1.3, however i had some STOP-AND-CONFIRM situation In 1.2.x ServletContext context = Application.getWicketServlet().getServletContext() ? doSomethingWithContext(context); Migrating to 1.3.x ServletContext context = Application.getWicketFilter().getFi

Re: WicketServlet vs. WicketFilter

2008-01-11 Thread Igor Vaynberg
yes there is some overhead. but it is much better then the servlet. the filter can let the resource fall through and be served by the servlet cotainer. if you use a servlet then the servlet itself has to stream the resource out. guess which will have a more optimized implementation... -igor On J

Re: WicketServlet vs. WicketFilter

2008-01-11 Thread Eelco Hillenius
On Jan 11, 2008 5:33 PM, Maris Orbidans <[EMAIL PROTECTED]> wrote: > > > also wicket filter is much better at handling /* mapping > > > The only problem with this mapping is that filter is invoked for all > requests that fetch static web resources (css, images, etc). > I may be wrong but I don't th

Re: WicketServlet vs. WicketFilter

2008-01-11 Thread Maris Orbidans
also wicket filter is much better at handling /* mapping The only problem with this mapping is that filter is invoked for all requests that fetch static web resources (css, images, etc). I may be wrong but I don't think it's good for performance. Especially if you use some other filter, f

Re: WicketServlet vs. WicketFilter

2008-01-11 Thread Joshua Jackson
I think it's Websphere: http://joshuajava.wordpress.com/2007/11/12/my-first-impression-about-wicket/ On 1/11/08, Gwyn Evans <[EMAIL PROTECTED]> wrote: > On 10/01/2008, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > example weblogic has pretty broken filter support, > > Wasn't that Websphere rather t

Re: WicketServlet vs. WicketFilter

2008-01-11 Thread Gwyn Evans
On 10/01/2008, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > example weblogic has pretty broken filter support, Wasn't that Websphere rather than Weblogic, or did I miss something? /Gwyn - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: WicketServlet vs. WicketFilter

2008-01-10 Thread Beyonder Unknown
Thanks Igor! I understand it now. Best, WT -- The only constant in life is change. - Original Message From: Igor Vaynberg <[EMAIL PROTECTED]> To: users@wicket.apache.org Sent: Thursday, January 10, 2008 11:48:04 AM Subject: Re: WicketServlet vs. WicketFilter sometimes you

Re: WicketServlet vs. WicketFilter

2008-01-10 Thread Igor Vaynberg
sometimes you might want to chain preprocessors/postprocessors around wicket - in that case you have to use filters since you cant chain servlets. also wicket filter is much better at handling /* mapping generally i would recommend wicketfilter. wicketservlet is there as a backup for situations

WicketServlet vs. WicketFilter

2008-01-10 Thread Beyonder Unknown
Hi All, Are there any criteria in choosing WicketFilter over WicketServlet? In the api it says, "Please use WicketFilter if you require advanced chaining of resources". What does this mean? If you have deeply rooted Panel within a Panel with a Panel? Thanks, WT -- The only c

Re: full path/url to page using wicketfilter

2007-08-16 Thread Thijs
Subject has to be wicketfilter of cource Thijs wrote: I'm migrating my app from 1.2.2 to 1.3 And the only real problem I have is getting my rss feed up. I'm adding the rss to the page head I need the full path to the bookmarkable page to get this working (and generate the all li