• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp page currently being displayed  RSS feed

 
Peekaboo Switchback
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have played around with jsp pages. Any time a jsp page is displayed or if a servlet redirected the request to a jsp page, I always see a jsp name being diplayed on the browser. For example,
http://dynamic.macromedia.com/bin/MM/software/trial/survey_pg1.jsp?BV_SessionID=@@@@0367956036.1046620129@@@@&BV_EngineID=dcadcgihdjdgjbeecgemcgchf.0
Is this always the case or can we possibly hide the path to the jsp page for security reasons? I am asking because in my company, it seems like the name of the jsp page never gets diplayed even though I can see from the trace that the request is being redirected to a jsp page. All I see is the controller servlet name in the URL. Help!
Thanks
 
Peekaboo Switchback
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess this could be a forward in which case the displayed url would not change.
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use HTML frames.
Rene
 
Peekaboo Switchback
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply Rene but I am not sure I understand.
Are you saying that if one uses htmlFrames, only the top level url will be displayed?
I do belive in my case it is a forward that is causing the request to get forwarded to jsps. I don't see any frames in the corresponding jsp code.
 
Praful Thakare
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
one thing u try is set ur method as post in form tag
OR
use requestDispatcher to foward ur request
OR
Register all ur jsp's
regards
....Praful
 
Irene Loos
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peekaboo,
You may try to use MVC pattern and store all your JSP names in the XML file. Controller will take care of displaying proper JSP based on the request.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!