Results 1 to 4 of 4
  1. #1
    robyf1 is offline Member
    Join Date
    Jun 2011
    Location
    Milano
    Posts
    12
    Rep Power
    0

    Default Thread java vs Jsp

    Hello everyone, sorry for my English.
    I want to know whether it is possible to update some text fields of a given dynamic html page using a java thread that "run" in parallel.

    Thanks in advance

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,830
    Rep Power
    19

    Default Re: Thread java vs Jsp

    Are you talking about a page displayed on the client?
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    robyf1 is offline Member
    Join Date
    Jun 2011
    Location
    Milano
    Posts
    12
    Rep Power
    0

    Default Re: Thread java vs Jsp

    Quote Originally Posted by Tolls View Post
    Are you talking about a page displayed on the client?
    is the page on the client that is also the server

    I'm trying to convert a project that uses the swing in html / jsp and are just starting out with servlets and jsp
    Last edited by robyf1; 03-15-2013 at 04:21 PM.

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,830
    Rep Power
    19

    Default Re: Thread java vs Jsp

    So the text fields are HTML fields on the client.
    Which means you need to look into having the client check for updates on the server for those fields, or look into some form of Push technology (I've not done pushes, so no idea if there's a more up-to-date way of doing this).

    Note that a Swing app and a web app flow very differently, so you won't be able to copy the interaction between the GUI and the server.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Replies: 2
    Last Post: 12-11-2012, 11:35 AM
  2. Main Thread not waiting for grand child thread to finish
    By prashanthn in forum Threads and Synchronization
    Replies: 3
    Last Post: 06-07-2011, 09:26 AM
  3. Replies: 3
    Last Post: 11-06-2008, 04:24 PM
  4. Replies: 0
    Last Post: 01-28-2008, 07:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •