Can't mount a page using mount()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Can't mount a page using mount()

aabfattah
Hello,
I want to mount a page such that it will be requested with a query url like this :
localhost:8080/reciever?k=متاح&t=22-11-2002&q=0196374859&s=

So , I searched and tried to use this :
mount(new QueryStringUrlCodingStrategy("/reciever", SMSReceiverPage.class) );

But eclipse gives me a compile error
The method mount(IRequestMapper) in the type WebApplication is not applicable for the arguments (QueryStringUrlCodingStrategy)

Though I found this line used in many tutorials
Loading...