Can anyone make me clear on URLRewriting concept and why can they be used for static pages
Thanks in Advance !!!
Venkata Gawtham Perumalla<br />"Wise People Learn from their Mistakes Wiser People Learn from Others Mistakes"
Joined: Jul 27, 2005
Why it cannot be used in static pages (html) is for the same reason you can not use scripting and EL in static pages. HTML is not turned into some sort of JAVA class that will be executed. With a JSP the scripting or EL code is turned into JAVA code when the JSP is transformed into a servlet class that will be executed and the response send to the browser. You need a response.endcodeURL or <c:URL> to encode the URL for you and it will only work in a dynamic page.