Erm.. jiggery pokery.. technical term.. for erm.. well roughly what you go on to describe.. but can also be used in more generic fashion for .. well jigging about and poking about..
;-) -----Original Message----- From: Sean Dockery [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 5 February 2003 5:19 PM To: Tomcat Users List Subject: RE: JSP's in other directories Um... What is jiggery pokery? Accessing a JSP inside the WEB-INF hierarchy can be done quite easily using a servlet tag in the web.xml file. <servlet> <servlet-name>HiddenView</servlet-name> <jsp-file>/WEB-INF/views/HiddenView.jsp</jsp-file> </servlet> <servlet-mapping> <url-pattern>/views/HiddenView</url-pattern> <servlet-name>HiddenView</servlet-name> </servlet-mapping> This is useful, for example, for adding a level of indirection between controllers and views. At 14:47 2003-02-05 +1100, you wrote: >Ps: you can't actually access jsp files from inside the WEB-INF directory >(at least not without some involved jiggery pokery). WEB-INF is for the >configuration files, class files, beans, deployment descriptor etc. > >------------------------------------------------------ >Tref Gare >Development Consultant >Areeba >Level 19/114 William St, Melbourne VIC 3000 >email: [EMAIL PROTECTED] >phone: +61 3 9642 5553 >fax: +61 3 9642 1335 >website: http://www.areeba.com.au Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants http://www.sbdconsultants.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]