Results 1 to 17 of 17
  1. #1
    kha
    kha is offline Member
    Join Date
    Apr 2011
    Posts
    9
    Rep Power
    0

    Question connect Java applet with asp.net

    I designed site so to put a sketch of the buildings i make the sketch by program Java applet

    I want to connect these graphics (Sketch) with my site (which is designed by asp.net + # c)
    the site is connected with database (which is designed by SQL Server Management Studio Express) , site allows a user to change the sketch of the buildings (add new rooms and new floors)
    so any change in sketch must change in database

    thanks

  2. #2
    kha
    kha is offline Member
    Join Date
    Apr 2011
    Posts
    9
    Rep Power
    0

    Default

    please help help help help me

  3. #3
    ra4king's Avatar
    ra4king is offline Senior Member
    Join Date
    Apr 2011
    Location
    Atlanta, Georgia, US
    Posts
    396
    Rep Power
    10

    Default

    How do you submit a sketch to your site?

  4. #4
    kha
    kha is offline Member
    Join Date
    Apr 2011
    Posts
    9
    Rep Power
    0

    Default

    this is my question ???

  5. #5
    ra4king's Avatar
    ra4king is offline Senior Member
    Join Date
    Apr 2011
    Location
    Atlanta, Georgia, US
    Posts
    396
    Rep Power
    10

    Default

    No I was asking how to submit a sketch the manual way.
    Also why even connect to your site when you can connect to the database directly?

  6. #6
    kha
    kha is offline Member
    Join Date
    Apr 2011
    Posts
    9
    Rep Power
    0

    Default

    i wont to put the sketch to my website , so when the user log in to the site , he find his sketch and he can modify in it (in the database there is table about how many room and floor in the building )
    so when the user modify sketch in the website ,the site must Modify the database automatically

  7. #7
    ra4king's Avatar
    ra4king is offline Senior Member
    Join Date
    Apr 2011
    Location
    Atlanta, Georgia, US
    Posts
    396
    Rep Power
    10

    Default

    Then what does this have to do with Java? You need javascript and other tools to do this, not Java.

  8. #8
    kha
    kha is offline Member
    Join Date
    Apr 2011
    Posts
    9
    Rep Power
    0

    Default

    i draw the sketch withe java applet

    i wont the way to connect asp.net withe java applet

    thanks

  9. #9
    ra4king's Avatar
    ra4king is offline Senior Member
    Join Date
    Apr 2011
    Location
    Atlanta, Georgia, US
    Posts
    396
    Rep Power
    10

    Default

    I don't really understand how you want to do this. ASP.NET is a server-side language. It spits out HTML to the browser. If you want to connect to a javascript function on the page from your applet, you will need to look into LiveConnect.

  10. #10
    kha
    kha is offline Member
    Join Date
    Apr 2011
    Posts
    9
    Rep Power
    0

    Default

    OK how can i make it in java script

    thanks

  11. #11
    ra4king's Avatar
    ra4king is offline Senior Member
    Join Date
    Apr 2011
    Location
    Atlanta, Georgia, US
    Posts
    396
    Rep Power
    10

    Default

    Well your Java applet will have to communicate with javascript on the page to sned the sketch to the server. LiveConnect - Wikipedia, the free encyclopedia

  12. #12
    kha
    kha is offline Member
    Join Date
    Apr 2011
    Posts
    9
    Rep Power
    0

    Default

    hi i do not understand this ????
    what i will write in java script?

  13. #13
    ra4king's Avatar
    ra4king is offline Senior Member
    Join Date
    Apr 2011
    Location
    Atlanta, Georgia, US
    Posts
    396
    Rep Power
    10

    Default

    Look, for you to communicate with a web server/database, you either need to use plain HTML connection, call javascript functions that will send the image, or directly connect to the database (best and most secure option).

  14. #14
    kha
    kha is offline Member
    Join Date
    Apr 2011
    Posts
    9
    Rep Power
    0

    Default

    ok
    how can i connect java applet with database (Microsoft SQL Server 2005)
    thanks

  15. #15
    ra4king's Avatar
    ra4king is offline Senior Member
    Join Date
    Apr 2011
    Location
    Atlanta, Georgia, US
    Posts
    396
    Rep Power
    10

    Default

    You need to look into the java.sql.* and javax.sql.* packages.

  16. #16
    kha
    kha is offline Member
    Join Date
    Apr 2011
    Posts
    9
    Rep Power
    0

    Default

    thanks
    how can i put column in database about (the name of the sketch ) which is building in java applet ?

  17. #17
    ra4king's Avatar
    ra4king is offline Senior Member
    Join Date
    Apr 2011
    Location
    Atlanta, Georgia, US
    Posts
    396
    Rep Power
    10

Similar Threads

  1. Connect Java to SQL
    By ŖΫ ỏ Ңόρę in forum New To Java
    Replies: 6
    Last Post: 12-31-2010, 12:16 PM
  2. applet class inside java.applet.* or java.awt.*
    By Manish87 in forum Java Applets
    Replies: 1
    Last Post: 09-27-2010, 03:15 PM
  3. connect two applet
    By dg_iiita in forum Java Applets
    Replies: 0
    Last Post: 02-15-2008, 02:59 PM
  4. Connect applet with mysql
    By baltimore in forum Java Applets
    Replies: 1
    Last Post: 08-07-2007, 07:39 AM
  5. Connect applet with mysql
    By Felissa in forum Java Applets
    Replies: 3
    Last Post: 07-05-2007, 07:26 PM

Posting Permissions

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