Menu

#74 null parameter in jwebbrowser

v1.0_(example)
open
nobody
1
2014-11-01
2014-10-23
Mr Lee
No

Hi Christopher,
Sorry disturb you again. I have big problem with jwebbrowser in my application.

My customer have CRM in servlet and I embed it in jwebbrowser component. Everything is good. But sometime jwebbrowser can not redirect URL. So, I log every requests from client to servlet and result is parameter null value. In client I check log file sometime return false in navigate function others true.

  • Log file in client is OK with full parameter look like [.../contact_online/basic_edit.jsp?id=388976]. But log file in server haven't parameter like [LeadId: null URL: /contact_online/basic_edit.jsp]

I don't know that bug in jwebbrowser or servlet. Can you give me some suggestion to solve it.

Thank you so much.

Discussion

  • Christopher Deckers

    Hi,

    Technically, I simply embbed a native runtime using SWT as a glue, so this problem is unlikely to be in DJ Native Swing code.

    It is possible that SWT has a bug, just in case make sure you use a recent version of the SWT JAR File.

    If updating the JAR file does not help, then I would strongly suspect a problem in the servlet.

    Hope this helps,
    -Christopher

     
  • Mr Lee

    Mr Lee - 2014-10-27

    Hi Christopher,

    Thanks for your reply,

    I also thing this problem in the servlet, too. But I dont known how to explain for my customer to understand.

    My application run with some librarys:

    • swt-4.4-win32-win32-x86
    • DJNativeSwing-SWT-1-0-3
    • java 1.67 update 20
    • jna-4.0.0

    Regards

     
  • Christopher Deckers

    Hi,

    I am not sure how I can help... If you try the same in Internet Explorer directly, does it work as expected? Is it only when using the JWebBrowser that you have the problem?

    Cheers,
    -Christopher

     

Log in to post a comment.