> > > > > >To change your membership options, refer to: > >http://www.sys-con.com/java/list.cfm > > > Just curious. Why does the above URL not end in DOT JAY ESS PEE ? > > Huh? Anybody want to explain that? > > Tomm -- an ardent JSP fan.
hi tomm! I don't know why this one doesn't... but to achieve something similar, take a look at the front-controller-pattern (it's somewhere on java.sun.com, or else try google) this means using one central entry point for your whole webapp (usually a servlet) by mapping a wildcard-url to it (e.g. .../java/* for the above example) in this servlet you can not only do a centralized check of authentication (if applicable...), you can also map any "logical" url (as known to the client) to any "physical" url inside your app and forward to that resource (see the RequestDispatcher class) so it would be possible that the above url "www.sys-con.com/java/list.cfm" maps to something like e.g. "www.sys-con.com/java/WEB-INF/jsp/listoptions.jsp" this makes the physical url invisible to the outside world (WEB-INF is the "hidden" resource directory used in tomcat, similar concepts apply to other servlet/JSP-engines) with this, you can expose "nice and simple" urls to the outside world which are easily remembered.... no difference to be seen between servlets, JSP's, html-documents etc... now, who tells us how it is done on sys-con.com and why exactly ".cfm"? ;o) greetings willi -- another JSP-fan (who likes simple urls as well) ;o) -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net To change your membership options, refer to: http://www.sys-con.com/java/list.cfm
