Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Attaining static URL for a spring application

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We have an application written in j2ee framework which has a single servlet which controls all the flow in the application.So here
we have a single url seen on the browser,And internally it redirects to classes according to action that's is coming in.Now we want to change this
project to spring application and turn this servlet into a good controller and attain a MVC format application.
The hurdle is we want our application to have static url after we turn it into spring application.So actually if it is http://localhost:8080/TEST
we want to keep it same throughout the application flows.
Since this is a legacy application and has to support multi browser compatibility we cant use frames here.
I am new to spring so please excuse if some one feels the question as dumb.
 
Ranch Hand
Posts: 686
Netbeans IDE Chrome Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the reason for static url?
 
mukesh nair
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Vyas Sanzgiri wrote:What is the reason for static url?


Thanks for the reply.
we want static URL
1.As there are few members of our team who believe it will make application more secure as externally users will see only one URL.
2.As it was an existing application the business persons feel that it will be great to have a static URL so that no one access/sees other pages/controller called internally.
 
Vyas Sanzgiri
Ranch Hand
Posts: 686
Netbeans IDE Chrome Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Every request is URL based unless you want to try AJAX
 
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
You can use ajax call to pupulate data and can sue sitemash, so that the url will not be change.
reply
    Bookmark Topic Watch Topic
  • New Topic