Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!

Danny Carson

Greenhorn
+ Follow
since Aug 05, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Danny Carson

Hey man,

Thats a cool app, I was looking to itegrate a java version similar to this into my current project.

I can scan a network much like this although I am using sockets to ping the addresses, which takes an age. Is there any way to speed it up?

Cheers
Thanks for the reply, but it did not work on the printer im trying to print to.

It may just be this printer.

Thanks again.
Im looking for an example of how to scan a network to find all ip's with a specific open port.

Any ideas?

cheers
Hey thanks for the reply. I am closing the printStream just not sure why it still dont work.

Hey guys n gals,

I am trying to check all addresses on a LAN to determine if they use port 9100.

I have looked at DatagramSocket/Packet but I could be missing something.

Can you tell me if this is possible to do in Java?

Code below is to test the Datagram on one address but this doesnt work either.



Cheers
Keep up the good work guys!
You're doing your part to educate the inexperienced developers.

Cracking Forum by the way.

DC
13 years ago
JSP
Hey

Thanks for the reply. I ended up scrapping the scroll table in the end.
But I will keep the book in mind for the future.

Cheers

Originally posted by Paul Clapham:
It's not my opinion. I've used applications that don't let you go back. Quite often I'm done with looking at that application and I want to go back to where I was earlier. Usually the Google search page where I found the link to the application. It's extremely annoying if I can't do that.



Yes on second thoughts I agree. I was looking at it from an internal web app point of view.
13 years ago
JSP
No probs. Enter '& n b s p ;' into {in here} without the spaces in between the letters and no single quotes, as the space I referred to in my last post. Its not letting me type it normally as it shows as a blank space (how ironic, using html lol)

Should be:



[ August 22, 2008: Message edited by: Danny Carson ]

[ August 22, 2008: Message edited by: Danny Carson ]
[ August 22, 2008: Message edited by: Danny Carson ]
13 years ago

Originally posted by Bear Bibeault:

Very non-user-friendly, and not a tactic that serious web developers should employ. Rather, use good patterns on the server to make sure that the web application behaves well rather than hobbling the user's browser.



I dont see it as much of a problem if the developer has a good navigation tool on each page. If the user wants to go back to that page then they click the menu item. Thats my opinion anyway.
13 years ago
JSP
if you create a table at the top of your page and make a row then a column. then add  (space) into the column. at the side of this space enter your struts error.

it should then be displayed in the same place all the time because its a place holder.

regards
13 years ago
have a look at javascript, window.history.forward(1);

add this in the head of your next page and the user cannot go back to that page.
13 years ago
JSP
Hey guys,

I have written a small app that utilises a socket and an outputfilestream in order to print a file to a network printer.

The problem is that when I have sent the data to the printer it is stored in the printers memory and does not print until I press the 'Go' button on the printer.

When I send data from a telnet session I have to end the process with '^]' as an escape character but I dont know if this must be done in my app too.

All help much appreciated

DC
can anyone offer any suggestions?
think this is main part of interest.