Results 1 to 2 of 2

Thread: ถ้าเราจะเขียนโปรแกรมโดยใช้จาวา เราควรใช้จาวาชนิดไหนดีคะ

  1. #1
    Senior Member
    Join Date
    Jul 2007
    Location
    Bangkok
    Posts
    271


    คือเราต้องการให้ server กับ client สามารถติดต่อส่งข้อมูลหากันได้
    โดยให้ client รับค่าจาก server แล้วเอามาคำนวน+- หรือวนลูป for ได้
    และ server รับค่าจาก client มาคำนวนได้เช่นกัน
    ตัวอย่างเช่น
    server มีข้อมูล 1 2 3 4 5 ส่งไปให้ client
    client รับข้อมูลจากผู้ใช้มา 3 ค่า สมมุติเป็น 11 22 33
    ถ้า client รับค่า 1 จาก server มาให้เอา 1 ไปบวกกับ 11
    ถ้า client รับค่า 2 จาก server มาให้เอา 2 ไปบวกกับ 22
    รับ 3 4 5 จาก server มาให้ส่ง ข้อความ error กลับไป

    การจะทำอย่างงั้น น่าจะต้องใช้ jsp or servlet คะ
    เรายัง งง งง กับ jsp และ servlet อยู่ว่าต่างกันยังไง
    รบกวนตอบทีค่า

  2. #2
    Senior Member
    Join Date
    Sep 2007
    Location
    Laos
    Posts
    192


    i found the really great post on this site

    http://www.narisa.com/forums/index.php?showtopic=52

    Hope this help you

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Posting Permissions

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