Results 1 to 2 of 2
  1. #1
    Join Date
    May 2008
    Posts
    1
    Rep Power
    0

    Default Enabling Javascript

    I know that Java and Javascript are different things. Don't worry about that part. Here's my deal:

    I'm writing a gui to login to a database through a url. I'm pretty new to this, so I called up an inputstream to see what was coming my way when I opened the connection on the url. It printed off an html page which is what I hoped, but instead of being the login page I desired, it was simply a page that said that Javascript had been disabled, to continue I must enable it. Has anyone ever heard of a way to enable javascript using java.net? Any other ideas? Thanks.

  2. #2
    Hibernate's Avatar
    Hibernate is offline Senior Member
    Join Date
    Dec 2010
    Location
    Stockholm, Sweden
    Posts
    222
    Blog Entries
    9
    Rep Power
    4

    Default

    I think the problem is at the server. There is no way for the server to no if a client have JavaScript enabled.

    Or are you previewing the page and not printing its HTML-code?
    Ex animo! Hibernate
    Java, Arch Linux, C, GPL v3, Bash, Eclipse, Linux VT, GNOME 2 and many buttons on windows.

Similar Threads

  1. Javascript into Excel
    By gdj100 in forum Advanced Java
    Replies: 0
    Last Post: 03-12-2008, 12:03 PM
  2. Enabling JDBC logging (example)
    By Java Tip in forum Java Tip
    Replies: 1
    Last Post: 02-13-2008, 07:28 PM
  3. please help with javascript code!!!!
    By sahkab in forum New To Java
    Replies: 1
    Last Post: 11-26-2007, 04:20 PM
  4. Jsp and javascript
    By Ed in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 07-04-2007, 05:54 AM
  5. javascript validation
    By yuchuang in forum New To Java
    Replies: 5
    Last Post: 05-14-2007, 04:38 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
  •