AJAX request intercepted by Wicket
----------------------------------

                 Key: WICKET-489
                 URL: https://issues.apache.org/jira/browse/WICKET-489
             Project: Wicket
          Issue Type: Bug
    Affects Versions: 1.2.5
            Reporter: Joseph Toth


I have the wicket servlet mounted as /*
I have a GWT (Google Web Toolkit) module installed at 
/com.omegasurveys.gwt.Application/

When I request /com.omegasurveys.gwt.Application/Application.html Wicket passes 
the request thru (I guess) and the file in that directory is served, which 
works great. Now...the Application.html loads the GWT application via 
javascript (all AJAX calls).  One of the AJAX calls is to get the contents of 
/com.omegasurveys.gwt.Application/com.omegasurveys.gwt.Application.nocache.html 
which errors with the following...
WARN - ernalResourceRequestTarget - the resource requested by request [method = 
GET, protocol = HTTP/1.1, requestURL = 
http://localhost:8080/com.omegasurveys.gwt.Application/com.omegasurveys.gwt.Application.nocache.html,
 contentType = null, contentLength = -1, contextPath = , pathInfo = 
/com.omegasurveys.gwt.Application/com.omegasurveys.gwt.Application.nocache.html,
 requestURI = 
/com.omegasurveys.gwt.Application/com.omegasurveys.gwt.Application.nocache.html,
 servletPath = , pathTranslated = 
C:\projects\omegadivisons\omegasurveys\src\main\webapp\com.omegasurveys.gwt.Application\com.omegasurveys.gwt.Application.nocache.html]
 was not found

That error is a lie because 
C:\projects\omegadivisons\omegasurveys\src\main\webapp\com.omegasurveys.gwt.Application\com.omegasurveys.gwt.Application.nocache.html
 DEFINITELY DOES exist.

My guess is that Wicket detects AJAX requests and something is wrong with 
passing the request thru to just serve a file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to