Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    #16
    Threading is a very large topic, trying some Google searches, or, if you want to just not have to worry about it in your servlet, implement the SingleThreadModel interface, which causes only one thread to go through each instance of your servlet and hence will work around most threading issues.

    You absolutely *must* get your Developer Console working (it's basically bad to post at all without checking the Developer Console first) so make sure you have followed the complete installation instructions and get it working before doing anything else.
    Last edited by Isomorphic; 12 Dec 2009, 16:14.

    Comment


      #17
      So,

      I implemented the SingleThreadModel to quickly see if that solves the problem:

      YES.

      So I'll try your solution in a 2nd time.

      Thanks you very much

      Comment


        #18
        Hello,

        I revised the rule of servlet programming and I found my mistake!
        I set the property "out" (PrintWriter out = response.getWriter ();) as an instance variable of the servlet.

        I'm sorry and thank you again.

        Comment

        Working...
        X