RSS

Tag Archives: JSP

#12 context path and browser redirecting

What is the URL to the application? There is one, and that is the one that the user places into the browser in order to access the application. Unfortunately, along the way, the request will pass through many intermediate services which will distort the request headers. Many of the TomCat services designed to provide information about the context of the running application will return incorrect values. Thus we must be very clear on how to get those values correctly and consistently across the application, so that when the browser is forwarded it is always successful. Read the rest of this entry »

Advertisements
 
Leave a comment

Posted by on October 14, 2011 in Coding

 

Tags: , ,

#8 The “go” parameter

Web pages can be designed to be reusable like subroutines that go and do something for the user, and then return. For example, the login may need more information, redirecting to a page to prompt for that information, and when done return to the page you were on. These pages need to be designed to be able to redirect correctly back to the original. This post proposes a convention to use to make all such pages work the same way. Read the rest of this entry »

 
Leave a comment

Posted by on October 6, 2011 in Coding

 

Tags: ,