User Profile

Collapse

Profile Sidebar

Collapse
jijoja
jijoja
Last Activity: Apr 4 '07, 08:52 PM
Joined: Mar 24 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jijoja
    started a topic Image upload
    in Java

    Image upload

    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...
    See more | Go to post

  • jijoja
    replied to Converting string into hyperlink
    in Java
    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.
    See more | Go to post

    Leave a comment:


  • jijoja
    replied to Jsp
    in Java
    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...
    See more | Go to post

    Leave a comment:


  • jijoja
    started a topic Converting string into hyperlink
    in Java

    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...
    See more | Go to post

  • jijoja
    replied to help find any error jsp connect to mysql
    in Java
    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) ;...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...