A cursory look at http://download.eclipse.org/jetty/stable-9/apidocs/
doesn't show a similarly-named package in jetty 9.x.
What exactly is the purpose of org.mortbay.html, anyhow? It looks like
it's meant to facilitate the creation of HTML markup, but I'm not
familiar with the package.
Also, I'm seeing:
org.eclipse.jetty.http.spi.JettyHttpContext
org.eclipse.jetty. http.spi.JettyHttpServer
which may be what you need, and
org.eclipse.jetty.websocket.api.WebSocketListener (which probably
isn't). You may want to check the API to find classes and methods that
will do what you need them to do. There have obviously been a ton of
changes between 5.x and 9.x.
Best,
Steve
Arun Kumar wrote:
Hi Steve,
Thanks for the reply. But the main issue I'm facing is unable to
replace the package "org.mortbay.html ". The existing code using
classes from html package.
Could you please help to find out these html classes in Jetty 9. Any
alternative on this.
Also some classes in like HttpContext, HttpServer, SocketListener are
not found in "org.eclipse.jetty.http" package. Please help me on this .
Thanks,
Arun
On Sun, Aug 2, 2015 at 11:56 PM, Steve Sobol - Lobos Studios
<[email protected] <mailto:[email protected]>> wrote:
In general, replace org.mortbay with org.eclipse... That's a good
place to start. You may need to do some additional refactoring
besides that, too.
--
Lobos Studios - Website and Mobile App Design & Development; IT
Support; Computer Maintenance
Toll Free 877.919.4WEB - Apple Valley 760.684.8859
<tel:760.684.8859> - Los Angeles 310.945.2410 <tel:310.945.2410> -
Cleveland 216.242.4010 <tel:216.242.4010>
www.LobosStudios.com <http://www.lobosstudios.com/> *
www.facebook.com/LobosStudios
<http://www.facebook.com/LobosStudios> * @LobosStudios
On Aug 2, 2015, at 10:13, Arun Kumar <[email protected]
<mailto:[email protected]>> wrote:
Hi Friends,
I'm migrating a Java application from Jetty Server 5.1.1 to Jetty
9. In the existing project I can see only one jar file related to
Jetty 5(org.mortbay.Jetty 5.1.1) .
I have downloaded Jetty-all -9.0 jar and build the project. But
some of the packages in existing code shows compile error since
the packages in org.mortbay.Jetty in 5.1 changed to
org.eclipse,jetty in version 9.
My code is using some imports like org.mortbay.http.HttpServer,
org.mortbay.http.HttpContext. I'm unable to see the similar
packages in Jetty-all-9.0.jar.
Also package 'org.mortbay.html' needs to replace with similar
classes in Jetty 9.
Could someone help me to fix these compile errors ?. Which are
the new classes and packages in Jetty9?.
Is the procedure I'm following is correct for Jetty 9 ?.
Thanks,
Arun
_______________________________________________
jetty-users mailing list
[email protected] <mailto:[email protected]>
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
_______________________________________________
jetty-users mailing list
[email protected] <mailto:[email protected]>
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
--
Lobos Studios - Website and Mobile App Design & Development; IT Support;
Computer Maintenance
Toll Free 877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles
310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users