Hi,
unfortunately there was no description of any home
attribute. I just found in all Tomcat version I
downloaded the following:
<Ejb name="ejb/EmplRecord" type="Entity"
home="com.wombat.empl.EmployeeRecordHome"
remote="com.wombat.empl.EmployeeRecord"/>
What does it mean, perhaps 'Extended java bean'?
But you meant to add the home attribute to the context
(the Context-tag?).
<Host name="cparpart.homeip.net">
<Context path=""
home="??????" <---- [ place it here?, for what ]
docBase="C:/Eigene Dateien/projects/surakware/htdocs"
debug="0" reloadable="true" trusted="true" >
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="surakware_access_log."
suffix=".txt"
pattern="common"/>
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="surakware_log." suffix=".txt"
timestamp="true"/>
</Context>
</Host>
Thanks, Christian.
> -----Urspr�ngliche Nachricht-----
> Von: Dave Smith [mailto:[EMAIL PROTECTED]]
> Gesendet: Samstag, 7. Oktober 2000 19:32
> An: [EMAIL PROTECTED]
> Betreff: Re: How to access servlets without prefixes
>
>
> Christian,
>
> add the "home" parameter to the Context. This is
> explained in the the server.xml comments near the
> Context entries. This seems to be required whenever you
> use a directory as docbase which is not in webapps.
>
> Dave
> ----- Original Message -----
> From: "Christian Parpart" <[EMAIL PROTECTED]>
> To: "Apache Tomcat (User) MailingList" <[EMAIL PROTECTED]>
> Sent: Saturday, December 23, 2000 4:44 AM
> Subject: How to access servlets without prefixes
>
>
> > Hi all
> >
> > how can I access a servlet wich is
> > mapped to any *.xml file without giving him
> > any prefix like /mywebapp?
> >
> > <servlet>
> > <servlet-name>XmlFilter</servlet-name>
> > <servlet-class>myServlets.xmlFilter.XmlFilter</servlet-class>
> > </servlet>
> > <servlet-mapping>
> > <servlet-name>XmlFilter</servlet-name>
> > <url-pattern>*.xml</url-pattern>
> > </servlet-mapping>
> >
> > This should be accessable from every sub directory on my host.
> >
> > <Host name="www.myhost.org">
> > <Context path=""
> > docBase="C:/path/to/htdocs"
> > debug="0" reloadable="true" trusted="true" >
> > </Context>
> > </Host>
> >
> > This data is stored in $tomcat/conf/web.xml, because I thought
> > these information are available for all hosts defined in server.xml.
> >
> > But it doesn't work. Why and how should I define it?
> >
> > Thanks in advance,
> >
> > Christian Parpart
> > SurakWare
> > [EMAIL PROTECTED]
> > http://www.surakware.com
>