• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

static url

 
Ranch Hand
Posts: 35
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,

I have a requirement that when user clicks on a link.. the url should not change...
but the corresponding page should be rendered..

has any body done this..?

I can not use Iframes...
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is this a class assignment? Why are you limited to the same URL? Do you just mean clean URLs? Are you allowed RequestParameters. Or do you need to add a form with hidden fields so you can know where to go?

We can't write your class assignment for you, but we can help point you in a direction.

Thanks

Mark
 
Kiran Gaddam
Ranch Hand
Posts: 35
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for the reply.. Yes, I mean clean URL's
Using urlrewrite filter I fixed it..
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Kiran Gaddam wrote:Thank you for the reply.. Yes, I mean clean URL's
Using urlrewrite filter I fixed it..



Spring also has a UriTemplate class that is cool

Also in Spring 3.0 Spring MVC has the @PathVariable to get that value into an @Controller @RequestMapping method.

Mark
 
reply
    Bookmark Topic Watch Topic
  • New Topic