This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Get Programming with Java (MEAP only) and have Peggy Fisher on-line!
See this thread for details.
Win a copy of Get Programming with Java (MEAP only) this week in the Beginning Java forum!

Dana Ucaed

Ranch Hand
+ Follow
since Aug 21, 2016
Dana likes ...
Netbeans IDE Oracle Windows
Cows and Likes
Cows
Total received
6
In last 30 days
0
Total given
0
Likes
Total received
36
Received in last 30 days
0
Total given
981
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dana Ucaed

I want to add some clarifications.

When in a app I did the request : https://numesite.com?key=llllll and want to modify the value of key.

Thanks.

You can use URLConnection or Apache HTTP.
2 months ago
It is about a call on client and you can user JS or TypeScript,

2 months ago
Hello,

I want to intercept one http request (get) and modify one parameter send by url parameter.

I read that there are the interface httpintercept but I don't know how can modify the parameter send by url parameter.

So, URL : http://site/api/rest?k=yyyyyyyyy.

I wanted to send http://site/api/rest?k=vvvvvvvv.

Can someone help me?

Thanks in advance
2 months ago
You want to guess the protocol.

So, if I have a url: www.example.com, I want to try with http. https and if I got 200 it is Ok.

3 months ago
Hello,

I have a URL: www.example.com and I don't know what is the protocol.
I used the URL class , but I got malformed exception.

It is possible that that URL is invalid.

I think that I can verify if the protocol is http:// + URL the response code id 200.

I would appreciate any help.

The browser knows the made redirects, but the URL class don't.

Thanks
3 months ago
Hello,

I need to verify if a web site is well indexed.

So, I need to parse the robots.txt for each web site.

So, I have a issue when the file contains many User-agent tags.

So, for example:

Sitemap: https://lxxxxxxx/googlesitemap.xml

Request-rate: 1/10
Crawl-delay: 10
Visit-time: 0000-0445

User-agent: *
Disallow: /cs-admin
Disallow: /index.php?page=cart
Disallow: /index.php?page=checkout
Disallow: /articole/contact.html

User-agent: CazoodleBot
Disallow: /

User-agent: MJ12bot
Disallow: /

User-agent: dotbot/1.0
Disallow: /

User-agent: Gigabot
Disallow: /

User-agent: 008
Disallow: /

User-agent: Yandex
Disallow: /

User-agent: Baiduspider
Disallow: /

User-agent: AhrefsBot
Disallow: /

User-agent: Synthesio
Disallow: /


I need to extract only Disallow: tags after User-agent:*.

So, I can read the robots.txt and extract the information like this:

User-agent: *
Disallow: /cs-admin
Disallow: /index.php?page=cart
Disallow: /index.php?page=checkout
Disallow: /articole/contact.html

How can do that?

Thanks for a hint.
4 months ago
ROL is my currency.

I live in Roumania.

6 months ago

Carey Brown wrote:Seeing how "1.774.00" is not a double in the U.S.. What double would you expect (like) it to be?



I don't live in US.

I expected 1774.00.
6 months ago
The source of input String is a price placed on a shopping web site.

Yes, I know that I am not use the DecimalFormat.

6 months ago
Hello,

I wrote the method:




I got the exception:

java.lang.NumberFormatException: multiple points


How can resolve this exception?




6 months ago