Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6961133
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:29:30+00:00 2026-05-27T15:29:30+00:00

I am developing an application in which i have to read the contents of

  • 0

I am developing an application in which i have to read the contents of the url and after giving request parameter to it i have to post that request back to the server. I have used Jsoup library for fetching the response. But the response is not fetched when i give my url (“http://10.100.56.55:8090”) which is for cyberoam. I am developing application for automatically make login into the cyberoam. Now if i give any other url then my code is working just fine. But for this url the exception is thrown which is written here.

Code :

ResourceBundle rb = ResourceBundle.getBundle("bundle.Configuration");                              
try
{             
    Document doc=Jsoup.connect(rb.getString("cyberlink_url")).get();
}
catch (Exception e) 
{
    System.out.println("Error Class is :- " + e.getClass());
    e.printStackTrace();
}

Error :

Error Class is :- class java.nio.charset.IllegalCharsetNameException
java.nio.charset.IllegalCharsetNameException: UTF=8
    at java.nio.charset.Charset.checkName(Charset.java:320)
    at java.nio.charset.Charset.lookup2(Charset.java:496)
    at java.nio.charset.Charset.lookup(Charset.java:475)
    at java.nio.charset.Charset.forName(Charset.java:540)
    at org.jsoup.helper.DataUtil.parseByteData(DataUtil.java:78)
    at org.jsoup.helper.HttpConnection$Response.parse(HttpConnection.java:440)
    at org.jsoup.helper.HttpConnection.get(HttpConnection.java:133)
    at cyberoam.Cyberoam.btnLoginActionPerformed(Cyberoam.java:199)
    at cyberoam.Cyberoam.access$000(Cyberoam.java:24)
    at cyberoam.Cyberoam$1.actionPerformed(Cyberoam.java:82)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    .......

The problem i am facing here is why only website’s response is not fetched? What is wrong with that? I have tried the above code with other website’s url like google,yahoo and it works perfectly. This url is accessible in url. Please help me if i am missing anything important.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:29:30+00:00Added an answer on May 27, 2026 at 3:29 pm

    Since you don’t enabled port forwarding, we can’t take a look at the “content of your url”.

    However, I guess the there is a line of the response is this:

    <?xml version="1.0" encoding="UTF=8" ?>
    

    Or

    <meta http-equiv="Content-Type" content="text/html; charset=UTF=8">
    

    You have to change it to

    <?xml version="1.0" encoding="UTF-8" ?>
    

    Or

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    

    By changing, I mean: The webserver who servers the response (you set up by your own, for example XAMPP) is probably uploading an xml (or html) file. That file is the one with the wrong line.

    Of course, UTF=8 doesn’t exist. UTF-8 does.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing an application in C# WPF which will have Client-Server architecture (Client
i am developing an web application in which i have to read binary from
I am developing an application in which I have to show the address that
I'm developing an application which currently have hundreds of objects created. Is it possible
I am developing an application in which i have to get data from .xls
I am developing an application which requires to add Calendar event. I have written
Hai every one I am developing an windows application in which i have to
I am developing a web application which has Chart Controls. I have developed a
I'm developing a window application in C# VS2005. I have a dataGridView in which
In an application we are developing, I have access to a database table which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.