I am using the cometd implementation that comes with the jetty server. I'd like to use the callback-polling transport, but when I try to connect to the comet server from javascript (note that the html page is in another web-server), jetty complains that the servlet does not supports the GET method. Is this an error/bug/whatever of the jetty implementation or I am missing something?
comet callback-polling and jetty-cometd implementation
658 Views Asked by cheng81 At
1
There are 1 best solutions below
Related Questions in SERVLETS
- Redirect inside java interceptor
- Which Should i use for date,time,email in servlet?
- Importing a downloaded JAR file into a Servlet
- Execute RequestDispatcher after 5 seconds
- What's the difference between a ServletHandler and a ServletContextHandler in Jetty?
- How to call servlet file from html
- Requested Resource is not available error
- Struts exclude pattern with spring
- How can I get a custom header from the client in Tomcat?
- How to print Jasper reports from servlets?
- The type javax.servlet.ServletContext and javax.servlet.ServletException cannot be resolved
- ServletContext Attribute : Thread Safety test not working
- Servlet ClassNotFoundException when present in a package ... Why?
- How to create a PDF with iText+XMLWorker from servlet using custom font?
- Starting a ScheduledExecutorService from a servlet with a set of parameters
Related Questions in JETTY
- What's the difference between a ServletHandler and a ServletContextHandler in Jetty?
- How to configure standalone Jetty 9 as a reverse proxy to a node app?
- Starting a ScheduledExecutorService from a servlet with a set of parameters
- jetty replay request on timeout
- Jetty server running SPDY behind an Apache firewall
- Java agent not forwarding traces to appneta tracelytics/traceview
- Dropwizard how to configure a datasource?
- Dropwizard 0.7 service hangs while writing output
- View http request when using mvn jetty:run
- How to Close HikariCP JNDI DataSource on Shutdown/Redeploy
- UnsatisfiedLinkError when running Jetty9's setUID feature
- Jetty Web Socket Timeout
- Where does Jetty store information about authenticated user?
- spring + Embedded jetty + <web-app> how to create context
- Jetty + Jersey + Spring DI with no web.xml
Related Questions in COMETD
- Should I use Oort or write my own forwarding using CometD, when nodes don't need to know about each other?
- Does HTTP long polling support heartbeat message?
- There is a line in the Javascript cometd chat client distributed in 3.1 that I don't understand
- How to send parameters from CometD client to CometD server
- Cometd Oort Cluster - Spring configuration
- One to One chat application in java
- ServiceConfigurationError thrown when trying to create new Jetty WebSocketClient instance
- cometd spring Request method 'POST' not supported for /cometd/handshake
- How to fix NPE during WebSocketFactory.upgrade() on embedded Jetty 8.1.12
- salesforce Change Data Capture not sending change event
- How to subscribe to Salesforce Platform Event in a Python application?
- Comet message sent twice
- Establish websocket in cometd unsuccessful
- Push Notification in Spring MVC WebApp
- CometD Issues with Publishing Data to a Channel
Related Questions in GET-METHOD
- Having problem with Try-Catch block in a Java I/O program
- How to get parameters from the URL with JSP
- How to login with retrofit2 using GET method
- Remove get method from url
- How to use GetMethod for static extension method
- Print http request response in JSON format
- How to show encrypted password in URL
- Keeping GET variables from 1 page to anonter
- How can I get $_GET values to a variable
- how to append int value to GET url of retrofit in android
- Ajax response printing whole php code written in php file, What to do?
- how to Change a GET method URL to clean URL in php?
- GET method in php clean URL
- comet callback-polling and jetty-cometd implementation
- How to pass Arabic string via url (GET method) properly to find substring using php?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Ok, seems that GET method wasn't supported in older versions of cometd-jetty implementation. Recent (>= 6.1.19, maybe even before) does support it.