Actually in the tomcat 6.0, i did not even find this
servlets-ssi.renametojar file and also in the documentation of tomcat 6 ,
they did not even mention about the jar file.
    whether I also need to change all the *.html to .shtml files..*

**



2009/5/28 Martin Gainty <mgai...@hotmail.com>

>
> enable the see servlet-mapping in your web.xml
>    <!-- The mapping for the SSI servlet -->
>    <servlet-mapping>
>        <servlet-name>ssi</servlet-name>
>        <url-pattern>*.shtml</url-pattern>
>    </servlet-mapping>
>
> <!-- IMPORTANT: To use the SSI servlet, you also need to rename the
> -->
> (mv/rename)  $CATALINA_HOME/server/lib/servlets-ssi.renametojar file
>  $CATALINA_HOME/server/lib/servlets-ssi.jar
>
> please read directive syntax (config,echo,include) directive information
> displayed at
> http://tomcat.apache.org/tomcat-5.5-doc/ssi-howto.html
>
> //for example this directive will insert contents of file-name
> #include virtual="file-name"
>
> hth
> Martin Gainty
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
> destinataire prévu, nous te demandons avec bonté que pour satisfaire
> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
> de ceci est interdite. Ce message sert à l'information seulement et n'aura
> pas n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>
>
>
> > Date: Thu, 28 May 2009 10:48:56 -0400
> > Subject: Re: HELP ME PLEASEEEEE--------------->first login page SSI is
> not    getting enabled
>  > From: email2jo...@gmail.com
> > To: users@tomcat.apache.org
> >
> > Thanks for your response ..I m doing it through the servlet.
> >
> > *WEB.XML:*
> >
> >
> >   <servlet>
> >   <servlet-name>ABC</servlet-name>
> >   <servlet-class>com.abc.servlet.MyServlet</servlet-class>
> >   <init-param>
> >    <param-name>abc.dir</param-name>
> >    <param-value>path/config</param-value>
> >   </init-param>
> >   <init-param>
> >    <param-name>abc.props</param-name>
> >    <param-value>xyz.props</param-value>
> >   </init-param>
> >   <init-param>
> >    <param-name>abc.log</param-name>
> >    <param-value>xyz.log</param-value>
> >   </init-param>
> >       <load-on-startup>1</load-on-startup>
> >   </servlet>
> >
> >   <servlet-mapping>
> >   <servlet-name>ABC</servlet-name>
> >  *<url-pattern>/XYZ/login</url-pattern>
> > *
> >   </servlet-mapping>
> >
> >
> >   <resource-ref>
> >    <description> DataBase </description>
> >    <res-ref-name>jdbc/my jdbc</res-ref-name>
> >    <res-type>javax.sql.DataSource</res-type>
> >    <res-auth>Container</res-auth>
> > </resource-ref>
> >
> >   <welcome-file-list>
> >     <welcome-file>*com/xyz/abc/servlet/login.html*</welcome-file>
> > </welcome-file-list>
> >
> >
> >     <servlet>
> >         <servlet-name>ssi</servlet-name>
> >        * <servlet-class>
> >           org.apache.catalina.ssi.SSIServlet
> >         </servlet-class>
> > *        <init-param>
> >           <param-name>buffered</param-name>
> >           <param-value>1</param-value>
> >         </init-param>
> >         <init-param>
> >           <param-name>debug</param-name>
> >           <param-value>0</param-value>
> >         </init-param>
> >         <init-param>
> >           <param-name>expires</param-name>
> >           <param-value>666</param-value>
> >         </init-param>
> >         <init-param>
> >           <param-name>isVirtualWebappRelative</param-name>
> >           <param-value>0</param-value>
> >         </init-param>
> >         <load-on-startup>4</load-on-startup>
> >     </servlet>
> >
> >     <servlet-mapping>
> >         <servlet-name>ssi</servlet-name>
> >         <url-pattern>*.html</url-pattern>
> >     </servlet-mapping>
> >
> >
> > </web-app>
> >
> > Thanks
> >
> > 2009/5/28 Martin Gainty <mgai...@hotmail.com>
> >
> > >
> > > are you implementing SSI via SSIServlet or SSIFilter?
> > > please display web.xml
> > >
> > > Martin
> > > ______________________________________________
> > > Verzicht und Vertraulichkeitanmerkung/Note de déni et de
> confidentialité
> > >
> > > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> > > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede
> unbefugte
> > > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese
> Nachricht
> > > dient lediglich dem Austausch von Informationen und entfaltet keine
> > > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> > > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> > > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas
> le
> > > destinataire prévu, nous te demandons avec bonté que pour satisfaire
> > > informez l'expéditeur. N'importe quelle diffusion non autorisée ou la
> copie
> > > de ceci est interdite. Ce message sert à l'information seulement et
> n'aura
> > > pas n'importe quel effet légalement obligatoire. Étant donné que les
> email
> > > peuvent facilement être sujets à la manipulation, nous ne pouvons
> accepter
> > > aucune responsabilité pour le contenu fourni.
> > >
> > >
> > >
> > >
> > > > Date: Thu, 28 May 2009 08:45:57 -0400
> > > > Subject: HELP ME PLEASEEEEE--------------->first login page SSI is
> not
> > > getting        enabled
> > > > From: email2jo...@gmail.com
> > > > To: users@tomcat.apache.org
> > >  >
> > > > Hi All
> > > >
> > > >            this is my login in which Server Side Include is placed
> and it
> > > is
> > > > the initial page of my web application.
> > > >
> > > > <SCRIPT language="JavaScript">
> > > >
> > > > function directSubmit(_form,value)
> > > > {
> > > >    if (value == "Login")_form.action =
> *"<!--:$servletpath-->/*XYZ/login"
> > > >     else _form.action = "../XYZ/getnewlogin"
> > > >    return true
> > > > }
> > > >
> > > >
> > > > in the html page:
> > > >
> > > > <INPUT type="submit" name=login value="Login" onClick="return
> > > > (directSubmit(document.forms[0], 'Login'))">-->this is the action i m
> > > > performing.....
> > > >
> > > >
> > > > Actually this is the page which is used in the iplanet web
> server...Right
> > > > now I am moving the application to Apache Tomcat 6.
> > > >
> > > > I enabled the *SSI in the tomcat configuration* but wen I click the
> login
> > > > button its not able to find out the path which is in the form action
> > > > "<!--:$servletpath-->/XYZ/login".-----------> *getting error 404.*
> > > >
> > > > Can i know how its going to access the path: *
> > > > "<!--:$servletpath-->/XYZ/login"*
> > > >
> > > > Can anyone guide me how can i solve this problem......please...
> > > >
> > > >
> > > >
> > > > Thanks in Advance.
> > >
> > > _________________________________________________________________
> > > Hotmail® has a new way to see what's up with your friends.
> > >
> > >
> http://windowslive.com/Tutorial/Hotmail/WhatsNew?ocid=TXT_TAGLM_WL_HM_Tutorial_WhatsNew1_052009
> > >
>
> _________________________________________________________________
> Hotmail® has ever-growing storage! Don’t worry about storage limits.
>
> http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage1_052009
>

Reply via email to