portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Liao (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Created: (JS2-407) Ajax Service broken due to servlet mapping configuration
Date Sun, 13 Nov 2005 01:11:22 GMT
Ajax Service broken due to servlet mapping configuration
--------------------------------------------------------

         Key: JS2-407
         URL: http://issues.apache.org/jira/browse/JS2-407
     Project: Jetspeed 2
        Type: Bug
    Versions: 2.0-M4    
 Environment: JDK1.4.2_10, WinXP SP2
    Reporter: James Liao
    Priority: Critical
 Attachments: Ajax.diff

The following servlet-mapping breaks ajax service( Portlet Application Browser does not work.)
in /Jetspeed/WEB-INF/web.xml.

<servlet-mapping>
       <servlet-name>
          jetspeed
       </servlet-name>
       <url-pattern>
         /ajax/*
       </url-pattern>
</servlet-mapping>

When call request.getServletRequest().getServletPath() to get ajax template name, it return
the "/ajax".

Comment the above configuration can fix it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message