Announcement Announcement Module
Collapse
No announcement yet.
I can't retrive my Service Document Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • I can't retrive my Service Document

    I am new to Apache Abdera, i start exploring it using the shipped examples (..... example.appserver )

    i am using it with Apache Tomcat 6 , it works good when i try to view the Feed as:

    http://localhost:8080/abderaDemo/atom/collection

    But i can't retrieve the Service document using:


    http://localhost:8080/abderaDemo/atom/*

    it should retrieve my service document , but it return an Empty file 4 me.

    BTW Here is my web.xml:

    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4"
    xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>Abdera Simple APP Server</display-name>
    <servlet id="abdera">
    <servlet-name>myAbderaServlet</servlet-name>
    <servlet-class>servlet.myAbderaServlet</servlet-class>
    <init-param>
    <param-name>org.apache.abdera.protocol.server.Provider</param-name>
    <param-value>servlet.CustomProvider</param-value>
    </init-param>
    </servlet>

    <servlet-mapping id="abdera-mapping">
    <servlet-name>myAbderaServlet</servlet-name>
    <url-pattern>/atom/*</url-pattern>
    </servlet-mapping>

    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    </web-app>

    and i used the Default AbderaServlet and the shipped-in CustomProvider

    Please, Could any one help me?
Working...
X