Sorry, but I can't find out how to get remote IP address. Could
someone give example code? (Wicket 1.2)

2006/7/4, Johan Compagner <[EMAIL PROTECTED]>:
> remote address can be get from the http request (of the WebRequest from the
> RequestCycle)
> The snoop servlet does this
>
> http://www.rawbw.com/~davidm/tini/TiniHttpServerDemo/servlet/SnoopServlet.html
>
>
>
>
> On 7/4/06, Johannes Fahrenkrug <[EMAIL PROTECTED]> wrote:
> > Johan,
> >
> > Thank you. Actually what I really need to know is this: How do I find
> > out what IP the request comes from?
> > Does only Jetty "know" the http request details or are they also
> > accessible from "within" Wicket?
> >
> > - Johannes
> >
> > Johan Compagner wrote:
> >
> > > if you set different pages as a response page  or set a different style
> > > both dependend on the ip you get then yes.
> > >
> > > johan
> > >
> > >
> > > On 7/4/06, *Johannes Fahrenkrug * <[EMAIL PROTECTED]
> > > <mailto:[EMAIL PROTECTED]>> wrote:
> > >
> > >     Hi,
> > >
> > >     is it possible to show different pages dependent on what IP the
> > >     request
> > >     comes from?
> > >
> > >     - Johannes
> > >
> > >     Using Tomcat but need to do more? Need to support web services,
> > >     security?
> > >     Get stuff done quickly with pre-integrated technology to make your
> > >     job easier
> > >     Download IBM WebSphere Application Server v.1.0.1 based on Apache
> > >     Geronimo
> > >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > >
> <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >
> > >     _______________________________________________
> > >     Wicket-user mailing list
> > >     Wicket-user@lists.sourceforge.net
> > >     <mailto: Wicket-user@lists.sourceforge.net>
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> >
> >------------------------------------------------------------------------
> > >
> > >Using Tomcat but need to do more? Need to support web services, security?
> > >Get stuff done quickly with pre-integrated technology to make your job
> easier
> > >Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> >
> >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > >
> > >
> >
> >------------------------------------------------------------------------
> > >
> > >_______________________________________________
> > >Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > >https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> >
> >
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job
> easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to