Hi All,
I tried to create my custom magnolia module. I have followed the following steps to create it and include a serlvlet into it. - I have created the basic structure using maven archetype (magnolia's archetype)
- Then I have added following to mymodule.xml
 <servlets>
   <servlet>
     <name>Mail</name>
     <class>com.xebia.xcms.HelloWorld</class>
     <comment>Just a sample servlet</comment>
     <mappings>
       <mapping>/.magnolia/sample*</mapping>
     </mappings>
   </servlet>
 </servlets>


- I have created HelloWorld servlet and did maven install
- When I have restarted I could see following message regarding this module

INFO info.magnolia.module.ModuleManagerImpl ModuleManagerImpl.java(startModule:375) 23.06.2008 13:34:53 starting module mymodule INFO info.magnolia.cms.module.AbstractModule MyModule.java(init:23) 23.06.2008 13:34:53 Initializing module : mymodule INFO info.magnolia.cms.module.AbstractModule MyModule.java(init:27) 23.06.2008 13:34:53 The value of the dummy node is : Dummy value

But When I tried accessing the URL http://localhost:8080/.magnolia/sample , I am getting 404 error. Any one please let me know the mistake I did.
Thank You.

Regards,
Ganesh Gembali
Xebia IT Architects
www.xebiaindia.com.

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to