Re: how to get some data from servlet

2010-05-09 Thread Fernando Wermus
would you paste your code here? I will get a try if there is no problem. On Sat, May 8, 2010 at 9:04 PM, Zilvinas Vilutis cika...@gmail.com wrote: The problem is not in wicket, but in SwfUpload or more specific would be the Adobe Flash itself - which uses IE cookies in any case, even when

Re: how to get some data from servlet

2010-05-09 Thread Zilvinas Vilutis
SecureSessionHolder: http://pastebin.com/J891bDye SecureSessionListener: http://pastebin.com/UBnLRLJ7 and just inside your implementation of org.apache.wicket.authentication.AuthenticatedWebSession.authenticate(String, String) ( or any other auth method ) call

Re: how to get some data from servlet

2010-05-08 Thread Zilvinas Vilutis
The problem is not in wicket, but in SwfUpload or more specific would be the Adobe Flash itself - which uses IE cookies in any case, even when you're using FF or Chrome or Safari on Windows ( http://swfupload.org/forum/generaldiscussion/869 ) Not sure how secure is it - but I've solved this in

Re: how to get some data from servlet

2009-07-28 Thread bgooren
Thanks Fernando, I was looking for some code like this! Fernando Wermus-2 wrote: Hi, Instead using a servlet you could try the following (you can find the whole code at wicketstuff pickwick ) This way you will have the session because your are into the requestCycle On your

Re: how to get some data from servlet

2009-07-23 Thread Altuğ B . Altıntaş
Hi all ; I can't use WicketSessionFilter maybe because I am using Apache Shiro (old name is Apache Kİ). In fact Fernando's solution works; Now I can reach and use Session inside UploadRequestTarget which implements IRequestTarget. But then I realized that I reach a different Session object in

Re: how to get some data from servlet

2009-07-23 Thread Fernando Wermus
Could you show to us the whole code? I mean, the page or panel that upload the files as well the IRequestTarget class you have implemented? On Thu, Jul 23, 2009 at 10:31 AM, Altuğ B. Altıntaş alt...@gmail.comwrote: Hi all ; I can't use WicketSessionFilter maybe because I am using Apache Shiro

Re: how to get some data from servlet

2009-07-23 Thread Altuğ B . Altıntaş
I will post my codes. But now i catched a very very strange position in WicketSessionFilter . Let me explain : I used WicketSessionFilter and a Simple UploadServlet as Igor said. I tested my application using Firefox 3. It gives : java.lang.IllegalStateException: you can only locate or create

Re: how to get some data from servlet

2009-07-23 Thread Altuğ B . Altıntaş
I forgot to say : I am using Wicket 1.3.6 + Tomcat + java 6 maybe it gives a clue 2009/7/24 Altuğ B. Altıntaş alt...@gmail.com I will post my codes. But now i catched a very very strange position in WicketSessionFilter . Let me explain : I used WicketSessionFilter and a Simple

Re: how to get some data from servlet

2009-07-20 Thread Igor Vaynberg
see WicketSessionFilter -igor On Sun, Jul 19, 2009 at 3:20 PM, Altuğ B. Altıntaşalt...@gmail.com wrote: Hi Igor; I found the problem; problem is when i hit my UploadServlet via http-get method , i simply write the url and hit the enter then below code is working  Session wicketSession =

Re: how to get some data from servlet

2009-07-19 Thread Altuğ B . Altıntaş
Hi Igor; I found the problem; problem is when i hit my UploadServlet via http-get method , i simply write the url and hit the enter then below code is working Session wicketSession = Session.get(); I can get wicket Session, wow !! it is great... BUT ... When i hit my UploadServlet via

Re: how to get some data from servlet

2009-07-19 Thread Fernando Wermus
Hi, Instead using a servlet you could try the following (you can find the whole code at wicketstuff pickwick ) This way you will have the session because your are into the requestCycle On your WicketApp mount(new URIRequestTargetUrlCodingStrategy(/upload) {

Re: how to get some data from servlet

2009-07-19 Thread Altuğ B . Altıntaş
Great solution Fernando. It works !!! Thanks. 2009/7/20 Fernando Wermus fernando.wer...@gmail.com Hi, Instead using a servlet you could try the following (you can find the whole code at wicketstuff pickwick ) This way you will have the session because your are into the requestCycle

Re: how to get some data from servlet

2009-07-14 Thread Altuğ B . Altıntaş
Also I have a problem like yours. Servlet session and Wicket's session are different so you are getting nul. Just debug your application and you will see that they have different session Id's. I tried to use WicketSessionFilter but it doesn't work. I am using wicket 1.3.5. Cheers... Altug.

Re: how to get some data from servlet

2009-07-14 Thread Igor Vaynberg
that doesnt make any sense. all things within the webapp share the session. you guys are welcome to create a quickstart that replicates this. -igor On Tue, Jul 14, 2009 at 3:47 AM, Altuğ B. Altıntaşalt...@gmail.com wrote: Also I have a problem like yours. Servlet session and Wicket's session