Manish

As far as I know, and anyone please correct me on this if I am wrong, this
is handled by the internal compiler within Tomcat and the .class is placed
within web application scope.

You can register a .jsp to act as a servlet and call it as if it is one. For
instance on our website we include our footer.jsp like this.

First add the following code to your web.xml:
<servlet>
    <servlet-name>footer</servlet-name>
    <description>Copyright footer for www.volume4.co.za</description>
    <jsp-file>/includes/footer.jsp</jsp-file>
 </servlet>

You can now call it from anywhere within your webapps simply as
/servlet/footer, for instance <jsp:include page="/servlet/footer"
flush="true"/>

Hope this helps.

Kind Regards
Schalk Neethling
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 

:: -----Original Message-----
:: From: manish pandey [mailto:[EMAIL PROTECTED]
:: Sent: Monday, September 01, 2003 9:28 AM
:: To: [EMAIL PROTECTED]
:: Subject: how's the jsp page compile into servlet
:: 
:: hello sir ,
::   i am new in ur list. i would like to answer that
:: how's a jsp page covert into a servlet and where is
:: the .class file store in webapplication . and how a
:: web.xml find these servlet name and servlet class name
:: .plese
::  tell me the internal details about application server
:: 
::                                         wating ur
:: reply
::                                         manish
:: 
:: 
:: __________________________________
:: Do you Yahoo!?
:: Yahoo! SiteBuilder - Free, easy-to-use web site design software
:: http://sitebuilder.yahoo.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]

Reply via email to