Https connectivity with file as an attachment

Hi,
  I have a scenario idoc to file. where my client required the https connectivity between the server.  Initially it was successfull throught ftp connectivity but to have security they are come up with https.
  But i am not sure whether it could be possible to send the same file as an attachment throught https/http.
If yes please let me know your suggestion how can we specify the file details.
Regards,
Dhill

Hi,
  Anybody can let me know if any solution ?.  Please let me know if any more details required or let me know if my question is not understandable way...
Regards,
Dhill

Similar Messages

  • [1.2.0.29.98] connection with files of type plsqlnode

    Hi,
    open a file of type plsqlnode. choose connection with the selector in the right top corner doesn't work. nothing happens. its possible to let a connection "appear" but it won't open or anything else. its just written there.
    press compile, there appears a dialog a "select connection" dialog. sqldev will compile with that connection ...
    however, i couldn't find a way to choose another connection. even after i disconnected the choosen one, sqldev never asked me to choose any but just reconnected to the originally choosen one.
    Regards, Anita

    You're right. I've noticed it before but thought it was a hick-up.
    When selecting a connection, you notice the drop down doesn't accept; you'll have to double click to get it to close. Nevertheless, as said before, that doesn't help to really connect to the chosen connection.
    Then I tried closing the open file through the "x" on the tab, but sqldev just hung!
    I noticed 2 times this same exception in the console:
    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.lang.S
    tring cannot be cast to javax.swing.JLabel
    at oracle.dbtools.raptor.plsql.PLSQLEditorToolbar$1.itemStateChanged(PLS
    QLEditorToolbar.java:107)
    at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
    at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1255)
    at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
    at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.j
    ava:100)
    at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel
    .java:88)
    at javax.swing.JComboBox.setSelectedItem(JComboBox.java:559)
    at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:605)
    at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(BasicCom
    boPopup.java:814)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
    73)
    at java.awt.Component.processMouseEvent(Component.java:6038)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
    at javax.swing.plaf.basic.BasicComboPopup$1.processMouseEvent(BasicCombo
    Popup.java:480)
    at java.awt.Component.processEvent(Component.java:5803)
    at java.awt.Container.processEvent(Container.java:2058)
    at java.awt.Component.dispatchEventImpl(Component.java:4410)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
    at java.awt.Container.dispatchEventImpl(Container.java:2102)
    at java.awt.Window.dispatchEventImpl(Window.java:2429)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    java.lang.ClassCastException: java.lang.String cannot be cast to javax.swing.JLa
    bel
    at oracle.dbtools.raptor.plsql.PLSQLEditorToolbar$1.itemStateChanged(PLS
    QLEditorToolbar.java:107)
    at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
    at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1255)
    at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
    at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.j
    ava:100)
    at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel
    .java:88)
    at oracle.dbtools.raptor.controls.DBConnectionComboBox.setCurrentConnect
    ion(DBConnectionComboBox.java:61)
    at oracle.dbtools.raptor.plsql.PLSQLEditorToolbar$2.update(PLSQLEditorTo
    olbar.java:122)
    at oracle.ide.model.IdeSubject.notifyObservers(IdeSubject.java:94)
    at oracle.ide.model.Node.notifyObservers(Node.java:495)
    at oracle.dbtools.raptor.plsql.PLSQLController.handleEvent(PLSQLControll
    er.java:234)
    at oracle.ide.controller.IdeAction.performAction(IdeAction.java:551)
    at oracle.ide.controller.IdeAction$2.run(IdeAction.java:804)
    at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:82
    3)
    at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:521)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:19
    95)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
    a:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
    .java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
    istener.java:236)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
    72)
    at java.awt.Component.processMouseEvent(Component.java:6038)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
    at java.awt.Component.processEvent(Component.java:5803)
    at java.awt.Container.processEvent(Container.java:2058)
    at java.awt.Component.dispatchEventImpl(Component.java:4410)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
    at java.awt.Container.dispatchEventImpl(Container.java:2102)
    at java.awt.Window.dispatchEventImpl(Window.java:2429)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Another Swing related issue!
    Is this related to these swing provoked unrecoverable lock-ups?
    Java Deadlock
    [b]BUG: Unrecoverable lock-up[/b] - Hang on enableDbmsOutput
    Here's the thread dump after sqldev hung:
    "Timer-10" prio=6 tid=0x37920000 nid=0x5dc in Object.wait() [0x3ad3f000..0x3ad3f
    a94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x13cc5a00> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Timer-9" prio=6 tid=0x35f2f400 nid=0x1f4 in Object.wait() [0x3ab3f000..0x3ab3fb
    94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x13cc5a88> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Timer-8" prio=6 tid=0x37d63400 nid=0x6d4 in Object.wait() [0x3a93f000..0x3a93fc
    94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x13ae3678> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Timer-7" prio=6 tid=0x36a56000 nid=0x27c in Object.wait() [0x3a73f000..0x3a73fd
    94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x13ae3700> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "WaitCursorTimer" daemon prio=6 tid=0x35f24800 nid=0x6bc in Object.wait() [0x3a2
    3f000..0x3a23fd14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x13a7dd30> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Timer-5" prio=6 tid=0x37c66400 nid=0x6d0 in Object.wait() [0x3a13f000..0x3a13fb
    14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x138915e0> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Timer-4" prio=6 tid=0x37c64c00 nid=0x4a8 in Object.wait() [0x39f3f000..0x39f3fc
    14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x13891668> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Thread-8" prio=6 tid=0x37971800 nid=0x684 runnable [0x00000000..0x0189fb74]
    java.lang.Thread.State: RUNNABLE
    "WeakDataReference polling" prio=2 tid=0x3683c400 nid=0x658 in Object.wait() [0x
    39e3f000..0x39e3fa94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x13326998> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at oracle.ide.util.WeakDataReference$Cleaner.run(WeakDataReference.java:
    88)
    at java.lang.Thread.run(Thread.java:619)
    "Timer-3" prio=6 tid=0x37e01400 nid=0x648 in Object.wait() [0x39b3f000..0x39b3fc
    14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x13294e40> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x13294e40> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Timer-2" prio=6 tid=0x37dce800 nid=0x694 in Object.wait() [0x3993f000..0x3993fd
    14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x13295460> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x13295460> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Log Page Updater" prio=4 tid=0x3792e400 nid=0x314 waiting on condition [0x3873f
    000..0x3873fa94]
    java.lang.Thread.State: TIMED_WAITING (sleeping)
    at java.lang.Thread.sleep(Native Method)
    at oracle.dbtools.migration.workbench.core.ui.MigrationTreeTableLogPage$
    5.run(MigrationTreeTableLogPage.java:622)
    "IconOverlayTracker Timer" prio=6 tid=0x36c90400 nid=0x4cc in Object.wait() [0x3
    863f000..0x3863fb14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x12c56738> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Timer-0" prio=6 tid=0x379bdc00 nid=0x71c in Object.wait() [0x3823f000..0x3823fd
    14]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.util.TimerThread.mainLoop(Timer.java:509)
    - locked <0x12bf40c0> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "TimerQueue" daemon prio=6 tid=0x35f39800 nid=0x724 in Object.wait() [0x3738f000
    ..0x3738fb14]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at javax.swing.TimerQueue.run(TimerQueue.java:236)
    - locked <0x12887f10> (a javax.swing.TimerQueue)
    at java.lang.Thread.run(Thread.java:619)
    "AWT-Windows" daemon prio=6 tid=0x36b75c00 nid=0x718 runnable [0x3707f000..0x370
    7fc94]
    java.lang.Thread.State: RUNNABLE
    at sun.awt.windows.WToolkit.eventLoop(Native Method)
    at sun.awt.windows.WToolkit.run(WToolkit.java:290)
    at java.lang.Thread.run(Thread.java:619)
    "AWT-Shutdown" prio=6 tid=0x36b75000 nid=0x714 in Object.wait() [0x36f7f000..0x3
    6f7fd14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
    - locked <0x1285ab20> (a java.lang.Object)
    at java.lang.Thread.run(Thread.java:619)
    "Java2D Disposer" daemon prio=6 tid=0x36b5ac00 nid=0x710 in Object.wait() [0x36e
    7f000..0x36e7fd94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x1285abb8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at sun.java2d.Disposer.run(Disposer.java:125)
    at java.lang.Thread.run(Thread.java:619)
    "Low Memory Detector" daemon prio=6 tid=0x35effc00 nid=0x6e0 runnable [0x0000000
    0..0x00000000]
    java.lang.Thread.State: RUNNABLE
    "CompilerThread0" daemon prio=6 tid=0x35efb000 nid=0x630 waiting on condition [0
    x00000000..0x3656f798]
    java.lang.Thread.State: RUNNABLE
    "Attach Listener" daemon prio=6 tid=0x35ef9c00 nid=0x614 runnable [0x00000000..0
    x00000000]
    java.lang.Thread.State: RUNNABLE
    "Signal Dispatcher" daemon prio=6 tid=0x35ef9000 nid=0x6a8 waiting on condition
    [0x00000000..0x00000000]
    java.lang.Thread.State: RUNNABLE
    "Finalizer" daemon prio=8 tid=0x35ee6400 nid=0x688 in Object.wait() [0x3626f000.
    .0x3626fd14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x1279ac38> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=6 tid=0x35ee5400 nid=0x64c in Object.wait() [0x3
    616f000..0x3616fc94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
    - locked <0x1279acc8> (a java.lang.ref.Reference$Lock)
    "main" prio=6 tid=0x01938400 nid=0x52c waiting on condition [0x00000000..0x0012f
    b44]
    java.lang.Thread.State: RUNNABLE
    "VM Thread" prio=6 tid=0x35ee2000 nid=0x128 runnable
    "VM Periodic Task Thread" prio=6 tid=0x35f1a800 nid=0x2d4 waiting on condition
    JNI global references: 1531
    Heap
    def new generation total 2304K, used 1369K [0x10020000, 0x102a0000, 0x1278000
    0)
    eden space 2048K, 65% used [0x10020000, 0x10170c58, 0x10220000)
    from space 256K, 8% used [0x10220000, 0x102258e8, 0x10260000)
    to space 256K, 0% used [0x10260000, 0x10260000, 0x102a0000)
    tenured generation total 29936K, used 22271K [0x12780000, 0x144bc000, 0x30020
    000)
    the space 29936K, 74% used [0x12780000, 0x13d3feb8, 0x13d40000, 0x144bc000)
    compacting perm gen total 36608K, used 36504K [0x30020000, 0x323e0000, 0x34020
    000)
    the space 36608K, 99% used [0x30020000, 0x323c63a0, 0x323c6400, 0x323e0000)
    No shared spaces configured.
    Please guys, bug & fix these issues!
    Thanks,
    K.

  • Speed of Lightroom with files on network attached storage if preview files are already generated

    I'm trying to figure out if it's practical to use Lightroom to access/manipulate files on network attached storage.
    Specifically, suppose I've already generated the 1:1 preview files, and these preview files are on the local hard drive.  Does it matter then if the raw files are located physically on a NAS v. on the local hard drive in terms of the speed of Lightroom and ease with navigating from image to image?

    Andrew,
    Unfortunately the catalogs can have multiple issues when saved over network due to lot of network variables.
    The same is covered under Lightroom FAQ's as below:
    Can I store my catalog on a network?
    No. There are too many variables in a network configuration to guarantee that the catalog won't get corrupted.
    Source: http://helpx.adobe.com/lightroom/kb/catalog-faq-lightroom.html
    Mandhir

  • Proxy https connection with client certificate credentials

    Hello, we are building a application like netvibes/iGoogle which allows users to have portlets with rss feeds in them. The portlets are all loaded using ajax and therefore, the RSS feeds must exist on the same domain as the portal. If they don't, you run into problems with cross-domain security issues with ajax. Usually to get around this you just proxy the connection on the server which is very simple with rss feeds that are exposed via http. We however have many feeds that are exposed via https. These feeds likely require a client certificate to authenticate them. Therefore, just doing a basic proxy (take the distant url and open a new connection on the server) won't work because it will build the new connection with the servers credentials and not the users.
    Is there a way to build the connection on the server using the users credentials?? How can we proxy this connection over https?
    If anyone has ideas, please let me know.
    Thanks!

    in fact you are more using a reverse-proxy than a proxy since it is on the server part..
    You have to put all the SSL server part on the reserve-proxy itself and not on the final RSS feed. Then, the reverse-proxy will authenticate your client and gets its certificate. After that, either this proxy will open a plain connection (no ssl) towards the RSS, or you can also open a ssl connection but this means you must create a client certificate for the proxy. It just depends on the security level you need, and I used this solution many times in professional hosting.
    hope it helps !

  • SLOW workstation connection with file server

    I have an eMac running Server 10.3 with two firewire disk connected directly into the eMac to function as file servers. I have several diff. Macs connected to the file sharing server and have for six months. They all run 10.4.11 and all connect with the GO command and used to navigate various files and folders throughout the main PUBLIC folder. Suddenly Monday morning 2 workstations connect and navigate folders without problems and 3 other workstations just spin the beach ball when you try to go past first or second folder.
    ALL machines connect without major problem (maybe a tad slower). I have looked at folders (as I can get to them) and view optioned turned off "calc all sizes". It was on in some of the windows and off in some but none were suddenly turned on anyway.
    While beach ball spins I can open Safari, mail and can surf web, get mail, etc. no problem. I can even click on top of the one of the server folder windows and move it around on my desktop. When I let go and move curser it turns into beach ball.
    Also, when I finally get fed up and go to Relaunch on the Finder in the dock, at the top "grayed out" it says application not responding?? Don't know what application it is referencing? I usually have to hit the Relaunch command twice. First time nothing happens, the second time it will immediately relaunch the Finder.

    Had to get my off-site "Mac Expert" to delete some kind of p.list file or files that get corrupted by some server file (InDesign or Photoshop or Illustrator most likely) on my server. Don't know which one and it reappeared some time later and he had to do it again, but he could connect remotely and clear/delete the file. Has to be done from the command line so it is out of my league. Still waiting to see if we can find the corrupted file.

  • Http connection with user name and password

    Hello All,
    I'm trying to open http connection from my application on the 8100 device and i'm getting an error message saying that the port number isn't valid. I'm trying to add user name and password to the prefix of the url (e.g.: http://[email protected]/dir/)
    and the error message appears, but when i'm using the same url without the user name and password everything works great.
    Does anyone knows what's wrong or encountered this issue before?
    thanks.

    hello,
    I believe when you input the credentials, the website does a redirection to another port that is not supported by your internet access provider ?
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • HTTPS connection with client certificate not working in spartan

    Spartan does not show certificate for the user to select
    when I click the https link.
    The certificates (taken from a smartcard) are indeed present in the user CertStore.
    It works with IE 11 and Chrome.
    Has somebody any suggestions ?
    Thanks.

    in fact you are more using a reverse-proxy than a proxy since it is on the server part..
    You have to put all the SSL server part on the reserve-proxy itself and not on the final RSS feed. Then, the reverse-proxy will authenticate your client and gets its certificate. After that, either this proxy will open a plain connection (no ssl) towards the RSS, or you can also open a ssl connection but this means you must create a client certificate for the proxy. It just depends on the security level you need, and I used this solution many times in professional hosting.
    hope it helps !

  • HTTP Connection with Sockets

    Why does the response come back as nothing assume req="GET HTTP/1.0" and url="http://www.google.com".
    String resp = "";
    Socket s = null;
                Scanner in = null;
                BufferedWriter out = null;
                try
                    URL u = new URL(url);
                    int port = u.getPort();
                    if(port < 1)
                        port = 80;
                    s = new Socket(u.getHost(), port);
                    out = new BufferedWriter(new OutputStreamWriter(s.getOutputStream()));
                    out.write(req, 0, req.length() - 1);
                    out.flush();
                    in = new Scanner(new InputStreamReader(s.getInputStream()));
                    while(in.hasNext())
                        resp += in.nextLine() + "\n";
                    System.out.println("RESP:" + resp);
                catch(Exception ex)
                    resp = ex.toString();
                    ex.printStackTrace();
                    /*if(in != null)
                        in.close();
                    if(out != null)
                        out.close();
                    if(s != null)
                        s.close();
                }

    chasepreuninger wrote:
    But if my request is invalid shouldn't the google server send back an error code?It will only respond once it recognises a complete request. Your request is incomplete. Once you terminate it properly, you will get a response from the server (either the page you wanted, or an error, or something).

  • Connection refused when trying to getOutputStream from https connection

    Hi all !
    I want to make an https connection with a server to send/get the request/response
    What can be the cause of the following error in the following code testHttps.java?
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
    at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
    at Test.testHttps.main(testHttps.java:46)
    Exception in thread "main" java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
    at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at Test.testHttps.main(testHttps.java:51)
    testHttps.java
    package Test;
    import java.io.;
    import java.net.;
    import javax.net.ssl.*;
    public class testHttps {
    public static void main(String args[]) throws Exception {
    //System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
    // Create a trust manager that does not validate certificate chains
    TrustManager[] trustAllCerts = new TrustManager[]{
    new X509TrustManager() {
    public java.security.cert.X509Certificate[] getAcceptedIssuers() {
    return null;
    public void checkClientTrusted(
    java.security.cert.X509Certificate[] certs, String authType) {
    public void checkServerTrusted(
    java.security.cert.X509Certificate[] certs, String authType) {
    // Install the all-trusting trust manager
    try {
    SSLContext sc = SSLContext.getInstance("SSL");
    sc.init(null, trustAllCerts, new java.security.SecureRandom());
    HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
    } catch (Exception e) {
    System.out.println("Error" e);
    // Now you can access an https URL without having the certificate in the truststore
    try {
    URL url = new URL("https://..............");-->//address of the server given here
    URLConnection conn = url.openConnection();
    HttpsURLConnection urlConn = (HttpsURLConnection) conn;
    urlConn.setDoOutput(true);
    OutputStreamWriter wr = null;
    try{
    wr = new OutputStreamWriter(conn.getOutputStream());
    catch(Exception e){
    e.printStackTrace();
    BufferedReader in = new BufferedReader(new InputStreamReader(urlConn.getInputStream()));
    String str;
    while( (str=in.readLine()) != null) {
    System.out.println(str);
    } catch (MalformedURLException e) {
    System.out.println("Error in SLL Connetion" +e);
    HostnameVerifier hv = new HostnameVerifier()
    public boolean verify(String urlHostName, SSLSession session)
    System.out.println("Warning: URL Host: " urlHostName " vs. "
    session.getPeerHost());
    return true;
    want to ignore certificate validation.
    plese help me..
    hi brucechapman, as you suggested me, i posted in Core API- networking forum, now please gimme a solution
    Thanks in advance.

    hi brucechapman,
    ran the NetTest program, got the following exception:
    trigger seeding of SecureRandom
    done seeding SecureRandom
    Exception in thread "main" java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
         at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
         at java.net.URL.openStream(Unknown Source)
         at Test.NetTest.main(NetTest.java:40)
    NetTest.java:40 -- InputStream is = url.openStream(); at this ling throwing exception.
    For the following program, i have added the argument -Djavax.net.ssl.trustStore=cacerts
    i have exported the certificate from IE and added to the keystore.
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.security.Security;
    import javax.net.ssl.SSLSocket;
    import javax.net.ssl.SSLSocketFactory;
    public class Communicator {
    public static void main(String[] args) {
    try {
    int port = 34443;
         String strReq = "xml content ";
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    SSLSocketFactory factory = (SSLSocketFactory) SSLSocketFactory.getDefault();
    SSLSocket socket = (SSLSocket) factory.createSocket("jyoti-win2k8-32", port);
    //Writer out = new OutputStreamWriter(socket.getOutputStream());
    //out.write("GET http://" + "hostname" + "/ HTTP 1.1\r\n");
    // out.write("\r\n");
    //out.write(strReq);
    //out.flush();
    OutputStreamWriter wr = null;
    try{
         wr = new OutputStreamWriter(socket.getOutputStream());
         catch(Exception e){
              e.printStackTrace();
         System.out.println("got output stream");
         try{
         wr.write(strReq);
         //System.out.println("response code : "+conn.getResponseCode());
         System.out.println("written");
         wr.flush();
         catch(IOException e){
              e.printStackTrace();
    InputStreamReader is = new InputStreamReader(socket.getInputStream(),"UTF8") ;
         BufferedReader rd = new BufferedReader(is);
         String line;int count=0;
         System.out.println("rd "+rd);
         while ((line = rd.readLine()) != null) {
              System.out.println("line "+line );
              System.out.println(count++);
              // Process line...
         System.out.println(count);
    rd.close();
    BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
    int c;
    while ((c = in.read()) != -1) {
    System.out.write(c);
    //out.close();
    in.close();
    socket.close();
    } catch(IOException ex) {
    ex.printStackTrace();
    Exception :
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
         at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Unknown Source)
         at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
         at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
         at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source)
         at sun.nio.cs.StreamEncoder.implFlush(Unknown Source)
         at sun.nio.cs.StreamEncoder.flush(Unknown Source)
         at java.io.OutputStreamWriter.flush(Unknown Source)
         at Test.Communicator.main(Communicator.java:55)
    Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
         at sun.security.validator.PKIXValidator.<init>(Unknown Source)
         at sun.security.validator.Validator.getInstance(Unknown Source)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(Unknown Source)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
         at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
         at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source)
         ... 7 more
    Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
         at java.security.cert.PKIXParameters.setTrustAnchors(Unknown Source)
         at java.security.cert.PKIXParameters.<init>(Unknown Source)
         at java.security.cert.PKIXBuilderParameters.<init>(Unknown Source)
         ... 19 more
    java.net.SocketException: Socket is closed
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.getInputStream(Unknown Source)
         at Test.Communicator.main(Communicator.java:66)
    please help me and provide me suggestion/solution. how to get rid off this trustanchor paramater exception
    what is it actualy?
    Thanks in advance.

  • Http Connection Problem on 7650 Emulator

    HI!
    I'm trying to establish a http connection with my tomcat server. My code is as following:
    private void callServlet() throws IOException
    HttpConnection http = null;
    InputStream iStrm = null;
    // Data is passed at the end of url for GET
    /* String url = "http://localhost:8080/webserv" + "?" +
    "account=" + tfAcct.getString() + "&" +
    "password=" + tfPwd.getString();*/
    try
    http = (HttpConnection) Connector.open("http://heavenfighter.homeftp.org:8080/webserv?account=marco&password=test");
         catch(IOException e)
              fmMain.append("Verbindung fehlgeschlagen");
         System.out.println(e.toString());
         try
    // Client Request
    // 1) Send request method
    http.setRequestMethod(HttpConnection.GET);
    // 2) Send header information - none
    // 3) Send body/data - data is at the end of URL
    // Server Response
    fmMain.append("Antwort" + http.getResponseCode());
    if (http.getResponseCode() == HttpConnection.HTTP_OK)
    iStrm = http.openInputStream();
    // 2) Get header information - none
    // 3) Get body (data)
    int length = (int) http.getLength();
    if (length > 0)
    byte servletData[] = new byte[length];
    iStrm.read(servletData);
    // Update the string item on the display
    fmMain.append("You passed to the servlet: \n" + new String(servletData));
    else
    fmMain.append("Unable to read data");
    catch (Exception e)
    fmMain.append("Network error2");
    System.out.println(e.toString());
    finally
    // Clean up
    if (iStrm != null)
    iStrm.close();
    if (http != null)
    http.close();
    After a few seconds, i get the network2 error and a message
    java.io.IOException: Status = -20015
    What does it means?
    How can i connect to a http server???
    Thanks

    Sorry, I didn't realize you where talking about an emulator. My advice is relevant only on a real phone.
    Anyway, here's some reading material that could help you:
    Related posts on Nokia's forum (you might have to register before you can enter):
    http://nkn.forum.nokia.com/forum/search.php?s=&action=showresults&searchid=452072&sortby=&sortorder=
    Symbian error codes (and unfortunately -20015 doesn't appear):
    http://www.symbian.com/developer/techlib/papers/errores/Erresapi.html
    shmoove

  • Http post from an application with file attachment

    Hi ! I didn't know where else to post this message...
    I'm trying to make a HTTP POST from an application and upload a file with it. I have no problems with the posting, just that I haven't got any ideas how to get the file uploaded as well. I've been reading loads of examples regarding the topic, and searching older posts the forum here, without any help.
    Here's the method i'm using:
                   // open connections
                  URL url = new URL ("TheURL");
                   URLConnection urlConn = url.openConnection();
                              // We do input & output, without caching
                   urlConn.setDoInput (true);
                   urlConn.setDoOutput (true);
                   urlConn.setUseCaches (false);
                              // multipart/form-data because we want to upload a file
                     urlConn.setRequestProperty ("Content-Type", "multipart/form-data");
                  // Open output stream
                     DataOutputStream printout = new DataOutputStream (urlConn.getOutputStream ());
                  // Set the actual content
                     String content = "upfile=" + System.getProperty("user.dir") + "\\file.ext&";
                       content += "other_key-value_pairs";
                  // write the data to stream, and flush it.
                     printout.writeBytes (URLEncoder.encode(content));
                   printout.flush ();
                   printout.close ();
                   // Get the response.
                     DataInputStream input = new DataInputStream (urlConn.getInputStream());
                   FileOutputStream fos=new FileOutputStream("postto.txt");
                   String str;
                     BufferedReader bufr = new BufferedReader(new InputStreamReader(input));
                  // Write response to outputfile
                     while (null != ((str = bufr.readLine()))) {
                         if (str.length() >0) {
                         fos.write(str.getBytes());
                         fos.write(new String("\n").getBytes());
                   input.close ();Now, the response here I get from the url i'm posting to is "Failure, no data-file". I've tried many diff methods of writing the file to the stream, but always get the same result.
    I need to file attached like it would be when using a HTML form's <input type="file">.
    Please help ! This is getting really urgent !

    String content = "upfile=" + System.getProperty("user.dir") + "\\file.ext&";
    content += "other_key-value_pairs";
    printout.writeBytes (URLEncoder.encode(content));
    printout.flush ();
    printout.close ();Actually, what this does is create a request like:
    GET /path/to/file/script.language?upfile=/home/user/file.ext&other=params HTTP/1.1
    Content-Type: multipart/form-data
    -- And other HTTP params --
    The file is not actually appended to the request.
    I really don't know how Java handles the file upload, but you could do it by hand, like so:
    public static void doFileUpload(String url, String filename, Hashtable params) throws IOException {
        // Construct the request
        String boundary = "----------------------mUlTiPaRtBoUnDaRy";
        String request_head = "POST " + url + " HTTP/1.0\r\n" +
                                         "Content-type: multipart/form-data; boundary=" + boundary + "\r\n";
        String request_body = boundary + "\r\n\r\nContent-disposition: form-data; name=\"upload\"" +
                                         "\r\n\r\n";
        BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream(filename)));
        int b = -1;
        while((b = in.read()) != -1) {
             request_body += (char)b;
        in.close();
        Enumeration keys = params.keys();
        while(keys.hasMoreElements()) {
            String key = keys.nextElement();
            requst_body += "\r\n" + boundary + "\r\n\r\nContent-type: form-data; name=\"key\"\r\n" +
                                    (String)params.get(key);
        request_body += "\r\n" + boundary + "--\r\n";
        int length = request_head.length() + request_body.length() + "Content-length: \r\n";
        String req_length = "Content-length: " + (length + new String("" + length).length()) + "\r\n";
        Socket socket = new Socket(url,80);
        PrintStream stream = socket.getOutputStream();
        stream.print(request_head + req_length + req_body);
        // And now an option to read the response, I will omit that...   
    }Note: I have not tested this code, just wrote it up out of memory. If it does not work, it will propably need some small fixes.
    Tuomas Rinta

  • Using an external drive with shared files (iPhoto, iTunes), attached to a Time Capsule, can the contents of the external drive be backed-up to the internal Time Capsule drive? Perhaps a RAID1 mirror to a partition?

    Using an external drive with shared files (iPhoto, iTunes), attached to a Time Capsule, can the contents of the external drive be backed-up to the internal Time Capsule drive? Perhaps a RAID1 mirror to a partitioned Time Capsule? I understand that the Time Machine (software) cannot backup a networked drive (the external) and that Time Capsule (the router/wireless hard drive) does not have its own backup software... so it won't backup the connected drive. What I would like is an alternate solution for having an automated backup of a networked drive. A 2TB Time Capsule has more than enough space for Time Machine backups of my family of Macbooks, so I had hoped to mirror a 500GB external drive (with shared media files) to a portion of the Time Capsule internal hard drive. I assume this would require a partition of the Time Capsule drive. If not, would the sparse file from the various computers being backed up need to be copied to the external drive as part of the RAID1 setup? This seems like overkill for the Time Machine backup, but it would cover the media files.  

    The complexity with this idea is the software has to run from a Mac computer on your network.. so you need a Mac turned on, probably most of the day.
    It isn't possible to partition the TC although you can create a image area.
    The software would have to copy the material, that means all files to be copied, go from USB drive, back to the Mac, then back to the TC, and written to the drive. In other words you have just added Network congestion, although a proper incremental backup type software will not actually use a lot of capacity.
    Finally it will be slow.. network drives are slower than internal drives. Well USB connected drive is much slower than the same drive connected directly to the computer.. and if the drive is connected directly to a computer it can be shared with the network.
    http://www.anandtech.com/show/4577/airport-extreme-5th-gen-and-time-capsule-4th- gen-review-faster-wifi-/4
    Read carefully the speed of the USB drive plugged into the TC.

  • How can I Create a Client Configuration File for RemoteApp and Desktop Connection with Server 2012?

    I have a working RDS RemoteApp site and looking to test out the feature in Windows 7 Control Panel\All Control Panel Items\RemoteApp and Desktop Connections
    I came across this link: Create a Client Configuration File for RemoteApp and Desktop Connection and I believe this is what I need to do first, but these instructions are for
    Server 2008, and I'm running 2012.
    Any suggestions or tips on how I can begin testing this with Server 2012?

    Hi,
    You can manually enter the path to the 2012 feed and it will connect and download the RemoteApps and Desktop connections.
    If you need a sample .wcx file I have posted one here a couple of times.  If you want I will look for it and post a link.
    -TP
    I tried adding my URL's below, these are sample links that work for me right now for when I log into the web page, but neither of these work.  And I'm not sure what I would need to do with or how to create a .wcx file.
    When I type in my URL of: https://connect.mydomain.org/RDWeb, I get redirected to: 
    https://connect.mydomain.org/RDWeb/Pages/en-US/login.aspx?ReturnUrl=/RDWeb/Pages/en-US/Default.aspx

  • Acrobat 9: Error when PDF form submit with file attachment

    Hi all,
    Hope you can provide some help with my PDF form submit issue. I am getting this error "There is no PDDoc associated with this CosDoc." in Acrobat 9 (Reader and Pro) when I try to submit a PDF form with a file attachment field (the file is specified). The same PDF form works fine in Acrobat 7 or 8 (Reader and Pro) with file attachment.
    If no file attachment is specified (user did not select a file) then the PDF form submits fine in acrobat 9. The form data submission format is in FDF. Same problem if I change to XFDF.
    There are no differences in the problem if the PDF form is created in Acrobat 7 or Acrobat 9, the same submit issue exists in Acrobat 9 but not in the older Acrobat versions.
    Is this a known issue and are there any workarounds/solutions?
    Thanks.

    Sounds like a bug to me. Please report it: http://www.adobe.com/support/feature.html
    George

  • In Aperture 3.4.1, I am not able to connect with referenced files on a network

    I am running OS X 10.8.2 and Aperture 3.4.1, and am unable to connect with referenced files on a network.  Specifically, the referenced files reside on my iMac and I am attempting to connect to them from my MBP.  They appear in red in the dialogue box.  While I know this has been a long standing issue in other versions, I was hoping it had been solved by now.  Any assistance will be appreciated.
    Thanks -
    Dudley

    http://support.apple.com/kb/HT5922
    If you want to mirror your desktop, see:
    http://support.apple.com/kb/HT5404
    Regards.

Maybe you are looking for

  • How do I convert a pdf file to word.doc?

    How do I convert a pdf file to word.doc?

  • Why no Acrobat Pro 9 trial versions for Mac

    I received my upgrade box for CS5 and the instructions said to delete (uninstall) Acrobat Pro 9 and then re-install it from the included disk. No big deal, I installed CS5 then uninstalled Acrobat as instructed, popped in the DVD of the new Acrobat P

  • PRC - Knowledge Directory - createRemoteDocument - 'Object Not Found'

    I can connect to the Knowledge Directory (verified in that I can walk the folder structure etc... ) I can upload files to the document repository (verified in that when I upload the file via PRC I return the new folder and file name and can go to the

  • Bluetooth Apple Mouse Lost Vertically Scrolling

    so yeah, just randomly not able to scroll vertically. i've reinstalled the software but it action has not come back. thinking about sending it back. suggestions?

  • How to get nodes from nlp

    Hello all! My mean problem is that I dont know how to extract nodes from GrammaticalStructure. I am using englishPCFG.ser in java netbeans. My target is o know the quality of the screen like: the screen of iphone 4 is great. I want to extract screen