Hey there!
Has anyone ever come across of this problem: I have a servlet that lets users upload images (actually up to 4 images) each one at most 100 kb. In IE I have no problems, but Firefox is not uploading anything. If upload is successful then in IE I see message “you have uploaded # images. Thank you” In Firefox the very same application it always says “you have uploaded 0 images”. Firefox doesn’t let it happen. I have dealt...
User Profile
Collapse
-
Fellows, don't bother. I am through with this function. Easy one if enough time and thoughts are invested. Just about 10 lines of code. Take care. Have a nice day. -
It is a matter of choice.
Go to google and type in jsp vs php and you will see people fighting viciously trying to prove which one is better. What jsp people say is that jsp page is compiled only once and does not have get recompiled every time same person comes to visit a website. Though right now php has some Zend optimizer that accomplishes somewhat similar. Pick one and stick with it. Keep in mind that usually jsp servers are more expensive...Leave a comment:
-
Converting string into hyperlink
Hey there!
Does anyone have a ready to plugin function that takes as an argument arbitrary long string and converts links written as a string into actual links.
For example:
Input string is: Please, visit our website http://www.thescripts. com and find out more about programmers community. You can also go to http://www.thescripts. com/forum/archive/index.php/f-130.html if you need help in yari, yari, yari.
Output... -
I am not sure you do stuff like that:
out.println(rs. getString("Host ")+"<br>");
Even before that try to avoid using "Select * from user";
What if alter your table tomorrow? You whole code will meaningless. Put in names of columns that you want to get out of your table.
Let's say "Select username, userpasswrod, host from user".
Then you can use this line rs.getString(3) ;...Leave a comment:
No activity results to display
Show More
Leave a comment: