Can't mount a page using mount()

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

Can't mount a page using mount()

I want to mount a page such that it will be requested with a query url like this :

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