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...
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...
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...
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 =...
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...
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...
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...
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)...
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????
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....
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.