Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » BufferedReader reader = new BufferedReader( new InputStreamReader(connection)
BufferedReader reader = new BufferedReader( new InputStreamReader(connection) [message #115104] Wed, 23 July 2008 13:06 Go to next message
Shura is currently offline ShuraFriend
Messages: 2
Registered: July 2009
Junior Member
Hi Everyone,

I have been trying some examples based on Jetty Server and equinox.
I'm having interesting error since I miss something for sure.
First of all,I have 3 classes.
1)I have small interface which takes 2 parameters and send to the servlet
2)I have servlet
3)called by servlet ; and it is using packages like jts toplogy
suite...meanly i am importing some packages...

Okey everything works if i don't use those imported packages...If i say
to servlet heyy i have sent you 2 parameters give me back..that's fine and
working..
but whenever i try using external packages (in 3rd class) i am having
problems like :
java.io.FileNotFoundException: http://localhost:8084/HelloServletSwing
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(U nknown
Source)
at
org.eclipse.forumapp.swing.HelloWorld.actionPerformed(HelloW orld.java:97)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unk nown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Thank you for any help,


Shura
Servlet Problem [message #115186 is a reply to message #115104] Thu, 24 July 2008 13:09 Go to previous message
Shura is currently offline ShuraFriend
Messages: 2
Registered: July 2009
Junior Member
Hi Everyone,

I have been trying some examples based on Jetty Server and equinox.
I'm having interesting error since I miss something for sure.
First of all,I have 3 classes.
1)I have small interface which takes 2 parameters and send to the servlet
2)I have servlet 3)called by servlet ; and it is using packages like jts
toplogy suite...meanly i am importing some packages...

Okey everything works if i don't use those imported packages...If i say
to servlet heyy i have sent you 2 parameters give me back..that's fine and
working..
but whenever i try using external packages (in 3rd class) i am having
problems like :
java.io.FileNotFoundException: http://localhost:8084/HelloServletSwing
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(U nknown
Source)
at
org.eclipse.forumapp.swing.HelloWorld.actionPerformed(HelloW orld.java:97)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unk nown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Thank you for any help,


Shura
Previous Topic:[p2] How to prevent installation step (just unzip)
Next Topic:How to telnet to osgi console when use server-side equinox?
Goto Forum:
  


Current Time: Mon May 06 01:42:25 GMT 2024

Powered by FUDForum. Page generated in 0.03201 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top