Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How is encodeURL() in HttpServletResponse used for static HTML pages?

 
Seid Myadiyev
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear friends, I have two questions:
1. Discussing encodeURL in HttpServletResponse (String url) Manning-Book says:
“None of the static HTML pages that contain URLs can be served directly to the client. They must be parsed in a servlet and the session ID must be attached to the URLs.” Can you please provide a simple example for this?

2. My second question is how does SCWCD Examination Score Report look? (if of course it is not something that we can only see after they printed out for us)
For example, this is my SCEA Examination Score Report:
Concepts_________________100%
Common Architectures______16%
Legacy Connectivity________40%
EJB______________________77%
EJB container Model________100%
Protocols_________________100%
Applicability of J2EE________66%
Design Patterns___________100%
Messaging________________100%
Internationalization________100%
Security__________________50%
Thank you very much!
Seid
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As to your question about encoding the URLs within static HTML pages...
You need to serve your static pages through a servlet, which reads the HTML code and appends the current session ID to every <a href=""> it encounters.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic