您现在的位置是:主页 > news > 邯郸网站制作外包/温州seo结算

邯郸网站制作外包/温州seo结算

admin2025/6/5 4:26:01news

简介邯郸网站制作外包,温州seo结算,做分析图网站,注册一个自己的网站我试图使用JSoup获取此URL即使使用编码,我也有例外.我不明白为什么编码错了.它回来了07001而是正确的07002我怎么解决这个问题?谢谢.private static void GetUrl(){try{String url "http://betatruebaonline.com/img/parte/330/";String encoded URLEnc…

邯郸网站制作外包,温州seo结算,做分析图网站,注册一个自己的网站我试图使用JSoup获取此URL即使使用编码,我也有例外.我不明白为什么编码错了.它回来了07001而是正确的07002我怎么解决这个问题?谢谢.private static void GetUrl(){try{String url "http://betatruebaonline.com/img/parte/330/";String encoded URLEnc…

我试图使用JSoup获取此URL

即使使用编码,我也有例外.

我不明白为什么编码错了.它回来了

07001

而是正确的

07002

我怎么解决这个问题?

谢谢.

private static void GetUrl()

{

try

{

String url = "http://betatruebaonline.com/img/parte/330/";

String encoded = URLEncoder.encode("CIGUEÑAL.JPG","UTF-8");

Response img = Jsoup

.connect(url + encoded)

.ignoreContentType(true)

.execute();

System.out.println(url);

System.out.println("PASSED");

}

catch(Exception e)

{

System.out.println("Error getting url");

System.out.println(e.getMessage());

}

}