Alain BEDU wrote:
>
> I've been using servlet for a month, and I'm now trying to use SSI.
> But it doesn't seem easy to find some help on this topic.....
> I tried the mailing list archive, but the server doesn't work.
>
> So here are two questions :
>
> 1- how do I specify the path to the servlet in my shtml page, because the
> following code doesn't work :
>
> <servlet code=SecondPackage.StandardHeader>
> <param name="title" value="Gollum's Fifth Riddle">
> </servlet>
>
> even if the servlet StandardHeader, called by the following command line :
> http://host/servlet/SecondPackage.StandardHeader works fine.
For some engines, e.g. JWS 1.1.x, the <SERVLET> tag only works with servlets
that are already loaded. If you're using JWS you may want to specify that
the servlet should be loaded at startup. You may also want to try to name
the servlet (e.g. in servlets.properties) and use the NAME attribute instead
of the CODE attribute.
> 2-When I put a servlet on my page with SSI, can I reload only this servlet
> instead of all my web page ?
I'm not sure what you mean. If you mean reloading in the browser the answer
is no; the browser has no idea that you used a servlet to generate a part
of the page.
--
Hans Bergsten [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html