Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Khanjan

    PreparedStatement

    I thought that PreparedStatement would help to solve my probleem, but it didnt. I have a content management systeem(CMS) where i can put my text in a textarea. In mysql the "layout" is preserved. But when i retriev the text and show it in my website the layout is gone. I can not set <br> or...
  2. Khanjan

    PreparedStatement

    Is it possible to get data from database with PreparedStatement instead of inserting? My probleem is when i store an aricle into the database with some "layout"( like free space between two paragraphs), by retrieving it, the "layout" is gone. The two paragraph is attached to each other withoud...
  3. Khanjan

    Upload a file to a Destination Folder

    well, just enter a path in a text field is enough.
  4. Khanjan

    Upload a file to a Destination Folder

    Hi, agian, Does anyone knows anything about my problems? Please help,
  5. Khanjan

    Upload a file to a Destination Folder

    Hi, I want to upload a file to my server, it works very well. But i use HardCoded Path like ("c:\\temp\\file\\"). I want to know how to set the path for saving like any other programm. Like Office Word, where you can save a file by chosing a Destination. What will be changes that i have to...
  6. Khanjan

    Need a script

    Thanx guys, adam0101 Your code helped alot, that was wat i wanted to know. Thanx again. LookingForInfo thank you too.
  7. Khanjan

    Need a script

    No no, I juist want that users put their image url in the prompt window, and the same url should be visible after clickin OK in a textarea. No image showing, nothing else. I have been able to do this: <input type="button" onClick="set()" value="Open window"> function set(){ name =...
  8. Khanjan

    Need a script

    Hi, I am developing a website where i need a javascript script, but i never worked with javascript. I hope someone can help me. After clicking a button, a prompt window should be visible. In this prompt window , one should put the URL of an image, juist like it works in some Forums. AFter...
  9. Khanjan

    Email attachment pro

    Hi, Well, i got this code from Java mail , i dont know how it works. There they didn't say anything about reading the file. though i had my doubts about it. Can someone tell me how to do this, in jsp??? I have found a code in java , but not sure how to use it in combine with jsp and html...
  10. Khanjan

    Unicode character set

    Hi, How can store korean characters into mine Mysql databse and retrieve it back, without any losse of characters. I mean when i am storing an aricle in non European language, and later retrive it on my website, it shows very strage characters or somtime this ?????? ???? ????. Can anyone...
  11. Khanjan

    Email attachment pro

    Hi, I am trying to send mail with attachment, but i cant do this. Below is my code, Can someone tell me what is wrong with it?? simple.jsp: <% Properties props = new Properties(); props.put("mail.smtp.host", "smtp.quicknet.nl"); Session s = Session.getInstance(props,null)...
  12. Khanjan

    links in JSP

    I am storing www.google.com into my database. When i am asking it back from DB, i get www.google.com on my page. By clicking on this link , i get http://localhost:8080/www.google.com. Www.google.com is attached behind the localhost. How can i avoid this????
  13. Khanjan

    links in JSP

    This is what i can see on my page: Google www.google.com But clicking on this link results: http://localhost:8080/www.google.com And this is not right....
  14. Khanjan

    Jsp mail problem

    I must say, i dont get any ERROR, when i excute this code. I dont get any email either
  15. Khanjan

    links in JSP

    HELP Please Regarding this problem :(
  16. Khanjan

    Jsp mail problem

    Hi, I want to send email, but i am not able to do so. Below is my code. What is wrong with this???? SMTP = smtp.quicknet.nl Code:::::: <%@ page language="java" import="java.util.*, javax.mail.*, javax.mail.internet.*"%> <% // create the HTML email message to send String htmlText =...
  17. Khanjan

    links in JSP

    Hi everyone, I have a table where i can store all mine links. When i am asking to show all of these links on my page, i get all of them to see. But when i am clicking on the links , i cant go to that website. How should i handle this problem? Here is the code , i use: <% db.DBConnectie data...
  18. Khanjan

    How to Get the Unique ID for the Last Inserted Row

    Hi, I have found the probleem. Instead of select * , i did select nieuwsid, that is why i could not show the news articles on my page. Thank you siberian for your help,
  19. Khanjan

    How to Get the Unique ID for the Last Inserted Row

    siberian Thank you for your reply. I want to show the 3 newst news on my page. When i store news in mine database(Mysql), i want to show juist three newst news articles not all of them but juist the newst three articles. By doing what i am doing, i cant do it. Can anyone tell me how to do...
  20. Khanjan

    How to Get the Unique ID for the Last Inserted Row

    hi, I want to get the last three ids that are inserted into the database, where ids are auto-increment. When i try to do this: SELECT MAX(nieuwsid) AS nieuwsid FROM nieuws; i get the highst id. To get the last three ids, i want to store this highst id in a variable. Later i want to do this...

Part and Inventory Search

Back
Top