I'm doing the HFJSP tutorial and trying to understand url rewriting. Since it's already done, I'm simply making
modifications to the beer example to gain an understanding of this.
In my
servlet code, after getting a list of my favorite beers, I use the 3rd version of the app that uses the
RequestDispatcher, in which I attempted to encode the url. At first, the url I tried to encode was myresult page,
beer.jsp. It didn't like that, so I went digging and put in the action I had listed in my form. Similar error. So,
next, I created a logger, encoded the url and logged it. I was expecting something with a sessionid listed in the
url, but all that printed was "selectbeer.do". I've tried encoding the action with both a slash -- "/selectbeer.do" as
well as without the slash, nothing. What SHOULD I be seeing?
John