adobe connect cross-origin filter -


i creating web app checks status of other sites , services. 1 page checks whether other sites on other domains. sites using iis7, have add http response header allow access domain hosting page:

access-control-allow-origin, *   

my problem 1 thing have check whether adobe connect server up, , uses jetty. looked @ these 2 pages:

i download jetty-servlet.jar, put in e:\breeze\8.2.0.1\appserv\web\web-inf\lib folder, , add following lines in e:\breeze\8.2.0.1\appserv\web\web-inf\web.xml file:

<web-app ...>     ...     <filter>         <filter-name>cross-origin</filter-name>         <filter-class>org.eclipse.jetty.servlets.crossoriginfilter</filter-class>     </filter>     <filter-mapping>         <filter-name>cross-origin</filter-name>         <url-pattern>//*</url-pattern>     </filter-mapping>     ... </web-app> 

but when do, 404 requested resource () not available when try reach site in web browser.

i'm using java version 1.6 , i've tried every version of jetty-serlet.jar listed on site above.

thanks!

first, standard connect install uses tomcat, not jetty. (unless you've chosen run cps on jetty.) think crossoriginfilter works in tomcat well.

why slash in url-pattern? wouldn't want:

<url-pattern>/*</url-pattern> 

is there trace of request in container or cps logs?


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -