This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am currently using Servlet and Jsp to do a webpage. I would like to know, is there anyway to hide the URL address with a fake one? I know someone was able to did that. I was reading his code, and I couldn't find the trick. Does anyone know?
You can use Front Controller Pattern, i.e. all your request go to a common servlet with your desired URL pattern. Depending upon the value of some of your form parameter you can decide what response to send.
Also you can use iframe html tag inside your html response. It doesnt display the url address in the brower.