This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Url Display  RSS feed

 
vasubabu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i show the same url to users through out my web application
 
Priyadharshini Nagarajan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

1) Store that in session and u will get that anywhere in ur application

2) Store in some variable in the servlet init() method
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"vasu",
welcome back to the Ranch!

Unfortunately your display name is not valid. We require display namse to be two words: your first name, a space, then your last name. Fictitious names are not allowed.

Please edit your profile and select a valid display name. Accounts with invalid display names are deleted, often without warning!

thanks,
Dave.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With regards to your question: what are you trying to do?

Is it enough that the url in the address bar remains the same, but the actual page address changes but can be discovered by the user? If so you can use frames to hide the inner frame changes.

You may want to look at a pattern called the Front Controller, related to the Model View Controller (MVC) pattern. If you distiguished each page using action parameters, the URL would be the same. You could POST the action for each page or use the session to maintain a workflow.

As I said, it would help to have more information.

Dave
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!