Hello
if the message you want the user to see after he/she had submitted a form, then you would refresh the page for the message to appear. you can do that through the meta tag.
Thanks
Type: Posts; User: Alaa
Hello
if the message you want the user to see after he/she had submitted a form, then you would refresh the page for the message to appear. you can do that through the meta tag.
Thanks
hello
even vector is thread-safe but what about if it is called from non synchronized method? this is why vectors don't guarantee concurrent operations to be safe. because threads still have access...
Hello,
I think you miss the return type of your Class466() method.
thanks.
hello,
protected fields and methods are accessed through inheritance, they are not meant to be accessed by the DOT operator. try to change the ob.show() to show() only without calling it by the...
hello
try to make the class square of type jpanel and override the paintComponent method to place the images in it. then you should be able to place as many squares as you want in the chess board....
hello,
you can make your servlet thread safe by wrapping up the fields, that users will have access to and make changes to their values, by synchronized blocks. however you need to take extra care...
hello,
I have noticed that you did not add your button2 in your constructor and the else if statement is actually outside the actionperformed method.
try to fix that and see what you will get. ...
Hello copeg,
Unfortunately that was good book to read. I will have to look for more recent books though they are much higher in price.
Many Thanks
Hello,
I need help with source codes of Wrox Professional Java Server Programming published 1999 ISBN: 1-861002-77-7. I have looked at wrox website and did not find it, then I figured out that wrox...
hello,
try this code and see what you get. however trying class 9 7 will output different than class 7 9
have a look...
....
hello,
i believe i can not reverse if i can not do so, there is no way to get out without using string methods, however check that if the requirement does not allow you to use the string.reverse()...
hello,
have a look to this code and see what you get...
public void reverse(String str)
{
int length = str.length();
for(int i = length-1; i >= 0; i--)
{...
hello,
think of check.next() and username are different objects since String objects are immutable. you cant compare two objects by == operator however java team provided the method equals to...
hello,
for rows and columns output you would use nested loops. this is an array-like-value resulting from your code so the for loop you have written is good one step towards your program however...
hello,
try the equal method instead of == operator and see what you get which in your case:
if(check.nextLine().equals(username))
{...}