Forum: Java Oct 25th, 2009 |
| Replies: 2 Views: 178 Hello.
I have two questions about iText.
The pdf file exactly has to be like the word file that was sent to me. In the word file; the character is Times New Roman and its 10 puntos.
But in... |
Forum: Java Oct 22nd, 2009 |
| Replies: 3 Views: 214 Thank you. That helped me a lot. Can't we do this by creating an array of Parapraph objects?
Paragraph myParagraph = new Paragraph(3)
myParagraph.add(new Paragraph(......));... |
Forum: Java Oct 22nd, 2009 |
| Replies: 1 Views: 299 Hello
I have a csv file and i want to read data from it and pass the data to the database.
Now.
I have values that are seperated with semicolons.
The file is like this. |
Forum: Java Oct 21st, 2009 |
| Replies: 3 Views: 214 I want to write this.
Last night i dreamt of San Pedro.
How can I write this with 1 PdfPCell |
Forum: Java Oct 20th, 2009 |
| Replies: 1 Views: 197 I want to create a pdf file. And it has a long sentence that it won't fit in 1 line.
Which method can I use to continue from the new line when the sentence to be added in the cell to continue from... |
Forum: Java Oct 7th, 2009 |
| Replies: 6 Views: 361 I used . instead of / and this fixed the problem... |
Forum: Java Oct 7th, 2009 |
| Replies: 6 Views: 361 I have an HTML table and i get this table as a result.
My result is correct.
It's like this.
<table>
<tr>
<td>
03/02/2009 |
Forum: Java Oct 7th, 2009 |
| Replies: 6 Views: 361 public static String toFormattedDateString(Calendar input){
SimpleDateFormat df = new SimpleDateFormat();
df.applyPattern("dd/MM/yyyy");
return df.format(input.getTime());
}
The same results... |
Forum: Java Oct 7th, 2009 |
| Replies: 6 Views: 361 Hello. I'm trying to convert Calendar to dd/MM/yyyy format.
My problem was it couldn't convert to exactly what i wanted. I'm Turkish so when we write a date, we write the day first then month then... |
Forum: JavaScript / DHTML / AJAX Oct 5th, 2009 |
| Replies: 1 Views: 214 I have phone area textbox and i want to test it against values like 1111111 or 9999999.
I want at least 1 character to be different in this text area(it is exactly 7 characters long)
How can i... |
Forum: JSP Oct 5th, 2009 |
| Replies: 1 Views: 393 I have a Servlet and JSP page.
I invoke a method with form submit and the method is a java method.
response.setHeader("Content-Disposition", "attachment; filename = report.XLS");... |
Forum: Java Aug 20th, 2009 |
| Replies: 1 Views: 266 Hello. I have a PreparedStatement/CallableStatement, a ResultSet and a Connection...
Now after execution finishes, i want to release my resources.
First I close my connection...
I also want... |
Forum: Java Aug 14th, 2009 |
| Replies: 2 Views: 279 Sadly no :(
I'm sorry for asking such a question like this. But i wanted a clear explanation from a person who has good and deep knowledge about this topic.
Sorry again for asking :( |
Forum: Java Aug 14th, 2009 |
| Replies: 2 Views: 279 package mypackage;
import java.security.SecureRandom;
import java.util.Random;
public class SecureRandomTest {
/**
* @param args
*/
public static void main(String[] args) {... |
Forum: JavaScript / DHTML / AJAX Aug 12th, 2009 |
| Replies: 1 Views: 217 Hey;
i have a table and rows.
For example two texts
In one row my text is "Helegelemere"
In another row my text is "More"
But in my JSP page they don't seem identical. |
Forum: JavaScript / DHTML / AJAX Aug 4th, 2009 |
| Replies: 2 Views: 335 Hello people. I have a pop up window and i have 2 pages that open the same pop up window.
I want to make a button hidden when one specific page opens my pop up. If the other page opens my... |
Forum: JavaScript / DHTML / AJAX Jul 12th, 2009 |
| Replies: 1 Views: 239 Hello people i have a textbox and i have its size 20 and its maxlength = 11.
it does show it in the textbox while writing, but it lets me insert 15 digit number to my database.
i type... |
Forum: JavaScript / DHTML / AJAX Jul 11th, 2009 |
| Replies: 1 Views: 426 Hello guys. I have a callable statement which runs and gets a value from the database.
I have registeroutparameter which turns an integer value.
I got to alert that value on screen. In java code... |
Forum: JavaScript / DHTML / AJAX Jun 23rd, 2009 |
| Replies: 2 Views: 627 Well it seems that i have a textbox and a textarea under it. Both sizes are 20 but they don't seem identical.
Is there a way to make them identical vertically?
Thanks |
Forum: Database Design Jun 17th, 2009 |
| Replies: 2 Views: 460 |
Forum: Database Design Jun 16th, 2009 |
| Replies: 2 Views: 460 like isnull?
Is there any way to check if like?
select @myVariable isequal("hotta","kutel")
If it is equal to "hotta" set it as "kutel"
something like this? |
Forum: JavaScript / DHTML / AJAX Jun 15th, 2009 |
| Replies: 0 Views: 476 Hi. I am Turkish. When the text is written in Turkish, some characters are double bytes in the database. Is there a shortcut to find these characters?
Will checking if the high byte of the... |
Forum: JavaScript / DHTML / AJAX Jun 15th, 2009 |
| Replies: 3 Views: 778 I want to avoid user to press " and ' characters.
What must i do in keyup event? |
Forum: Java Jun 15th, 2009 |
| Replies: 1 Views: 365 In my textArea the strings ' and " are passed to my Java method as unicodes. So instead of ' what i see is ’
What can i do to prevent this because it is also updated in the database as its unicode... |
Forum: JavaScript / DHTML / AJAX Jun 12th, 2009 |
| Replies: 2 Views: 522 Thank you. This clearly explains when to use what... |
Forum: Java Jun 12th, 2009 |
| Replies: 2 Views: 207 Well, your second suggestion works very good...
Thanks for the information. |
Forum: Java Jun 12th, 2009 |
| Replies: 2 Views: 207 Hello again people.
I have a problem.
Think of a textarea. The text area is filled with information depending on an entrance in a textbox.
Like userID is entered and the information is... |
Forum: JavaScript / DHTML / AJAX Jun 12th, 2009 |
| Replies: 2 Views: 522 ***
form.myTextBox.value
document.getElementById("myTextBox"); |
Forum: JavaScript / DHTML / AJAX Jun 11th, 2009 |
| Replies: 1 Views: 406 I have 3 textboxes
names
myTextBox1
myTextBox2
myTextBox3
onblur i want to check if the value of the checkbox is true. |
Forum: Java Jun 11th, 2009 |
| Replies: 1 Views: 179 Hello. I have a stored procedure that brings information from the database. The problem is when i close the window the transaction continues to work.
What can i do in my JSP and Java code to... |
Forum: Java Jun 10th, 2009 |
| Replies: 3 Views: 233 "J2CA0294W: Deprecated usage of direct JNDI lookup of resource"
But i don'T get any warnings or errors when i choose small numbers.
select * from myTable where (myId between 1 and 100)... |
Forum: Java Jun 10th, 2009 |
| Replies: 3 Views: 233 Hello people.
I seem to connect and select the data i want from a specific and big table. But when the information to be selected is small, everything is allright. But when i try to select... |
Forum: JSP Jun 9th, 2009 |
| Replies: 2 Views: 1,741 Hello. I have a web page and i want user to be able to select multiple options. The problem is that when i write
<select name="aha">
<option value="hhh">HHH</option>
<option... |
Forum: JavaScript / DHTML / AJAX Jun 9th, 2009 |
| Replies: 2 Views: 655 I use select multiple but it is so tiny in HTML page. |
Forum: JavaScript / DHTML / AJAX Jun 9th, 2009 |
| Replies: 2 Views: 655 I want to create a listbox in a jsp page. I want people to be able to choose multiple options...
Also i want if one option is selected, people should not select another option.
EXAMPLE
If b... |
Forum: JavaScript / DHTML / AJAX Jun 9th, 2009 |
| Replies: 1 Views: 918 Hello . I have a web page and a button on it. From that button i pop-up another page and update the user's information. After updating is done, it focuses to my original page. Not the page that i... |
Forum: JavaScript / DHTML / AJAX Jun 8th, 2009 |
| Replies: 2 Views: 853 I have a textbox.
in js code, i try this...
if(isNAN(parseInt(form.myTextBox.value))) {alert("not a number");}
I'm trying to check if it is a number. Else i want to warn him....
How can i... |
Forum: JSP Jun 8th, 2009 |
| Replies: 1 Views: 376 I have a checkbox and when i change it to clicked from non clicked it always turns to servlet as false and it does not affect my search criteria. It always returns "false".
What can I do?
Any... |
Forum: JavaScript / DHTML / AJAX Jun 5th, 2009 |
| Replies: 4 Views: 619 I have a value in servlet.
The user is working with a window. I invoke his method.
I just want to inform him that he could not do it i want to inform him with an alert and close the window. Else i... |
Forum: JavaScript / DHTML / AJAX Jun 5th, 2009 |
| Replies: 4 Views: 619 I submit the form and execute a method in a servlet.
I want to inform the user if the execution worked.
I'm returning false from the method if it did not executed. Else if he was able to do the... |