RE: Reload command in web.xml

"David Cruwys" <[email protected]>
Newsgroups gmane.comp.web.maverick.general
Message-ID <[email protected]>
>In previous mav-user list archives there is mention of using the
>reloadCommand to cause Maverick to reload all the maverick.xml and XSL
>changes automatically. In particular email
>http://sourceforge.net/mailarchive/message.php?msg_id=110721 references the
>following settings in web.xml:

> <servlet>
>   <servlet-name>dispatcher</servlet-name>
>   <display-name>Maverick Dispatcher</display-name>
>
>   <servlet-class>org.infohazard.maverick.Dispatcher</servlet-class>
>   <init-param>
>     <param-name>reloadCommand</param-name>
>     <param-value>reload</param-value>
>  </init-param>
>  <load-on-startup>2</load-on-startup>
> </servlet>

>This appears in the Friendbooks examples and I have tried the examples
under
>both Tomcat and Resin and in neither does this reload appear to work. You
>can change the xsl stylesheets and maverick.xml and refresh the browser but
>until you restart the server nothing changes. How is this reload supposed
to
>work?


I'm new to maverick so I could be wrong here, but I think you will find that
a
command will be added to the system automatically that allows you to reload
the
maverick xml file. The command name will be the value as set by
<param-value>

To call it you would go http://host/application/reload.m

Cheers Dave




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
[INVALID FOOTER]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.