Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~5K People Reached
Favorite Tags
Member Avatar for Xessa

I want to connect to an FTP server and transfer a file with Java. I could not find anything about secure FTP.Can anybody help me about this? I also want to ask that if i can connect to an FTP server using SSL with command line. If i can connect …

Member Avatar for vglass
0
198
Member Avatar for Xessa

[code] String host = host_adress SshClient ssh = new SshClient(); ssh.connect(host,10022); System.out.println("ssh is connected--->"+ssh.isConnected()); PasswordAuthenticationClient passwordAuthenticationClient = new PasswordAuthenticationClient(); passwordAuthenticationClient.setPassword(password); passwordAuthenticationClient.setUsername(username); int result = ssh.authenticate(passwordAuthenticationClient); if(result != AuthenticationProtocolState.COMPLETE){ throw new Exception("Login to host failed"); } ssh.disconnect(); [/code] Above i just want to connect to an FTP server. We gave them …

0
57
Member Avatar for Xessa

I am sending an array which consists of objects that i have created. And my class consists of a String value and a HashMap How can i get these values? $F{myObject}.get(1) Can the code i wrote above work?

0
60
Member Avatar for Xessa

Hi. I want to print out Turkish characters on my report and i can't at the moment. I select PDF encoding as CP1254(Turkish) and i still can't write ğ or ş. How can I solve this problem?

0
54
Member Avatar for Xessa

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 the pdf file when i try to do Times.Roman and 10 …

Member Avatar for peter_budo
0
110
Member Avatar for Xessa

I want to write this. [b]Last[/b] night i dreamt of [b]San Pedro[/b]. How can I write this with 1 PdfPCell

Member Avatar for quuba
0
107
Member Avatar for Xessa

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. customerID;name;surname;phoneNumber 1;Gokhan;Terzioglu;333444333 2;Melih;Terzioglu;555444333 There are 100.000 columns like this. How can I read the data …

Member Avatar for parry_kulk
0
105
Member Avatar for Xessa

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 the new line.

Member Avatar for quuba
0
57
Member Avatar for Xessa

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 year... My code is here [code] public static String toFormattedDateString(Calendar input){ String year = …

Member Avatar for Xessa
0
152
Member Avatar for Xessa

I have a Servlet and JSP page. I invoke a method with form submit and the method is a java method. [code] response.setHeader("Content-Disposition", "attachment; filename = report.XLS"); response.setContentType("application/vnd.ms-excel"); response.getWriter().write(result); response.getWriter().flush(); [/code] Everything works fine but it tries to fit the columns in 1 page. So i have a long adress …

Member Avatar for ~s.o.s~
0
78
Member Avatar for Xessa

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 do this in its shortest way?

Member Avatar for ShawnCplus
0
80
Member Avatar for Xessa

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 to release my ResultSet and my PS Will assigning null to my Connection object after closing the Connection object also assign null …

Member Avatar for JamesCherrill
0
365
Member Avatar for Xessa

[code] package mypackage; import java.security.SecureRandom; import java.util.Random; public class SecureRandomTest { /** * @param args */ public static void main(String[] args) { SecureRandom sr1 = new SecureRandom(); System.out.println("1. SecureRandom object 1. nextInt() result :" + sr1.nextInt()); System.out.println("1. SecureRandom object 2. nextInt() result :" + sr1.nextInt()); System.out.println("1. SecureRandom object 3. nextInt() …

Member Avatar for Xessa
0
315
Member Avatar for Xessa

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. For example It looks like Helegemere More And because of after every word i have a …

Member Avatar for essential
0
74
Member Avatar for Xessa

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 window; i want the button to be there and …

Member Avatar for Krishna_vs
0
95
Member Avatar for Xessa

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 everything works fine and i can print it on screen. But i can not turn …

Member Avatar for Airshow
0
79
Member Avatar for Xessa

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 12345123451 (it shows in my textbox) then i type 9999(it doesn't …

Member Avatar for Airshow
0
150
Member Avatar for Xessa

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

Member Avatar for essential
0
133
Member Avatar for Xessa

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?

Member Avatar for Xessa
0
70
Member Avatar for Xessa

I want to avoid user to press " and ' characters. What must i do in keyup event?

Member Avatar for essential
0
102
Member Avatar for Xessa

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 character is not 0 will work?

0
62
Member Avatar for Xessa

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 representetive.

Member Avatar for JamesCherrill
0
68
Member Avatar for Xessa
Member Avatar for Xessa
0
83
Member Avatar for Xessa

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 filled in the textarea. I want the user to edit the textarea. But when he is editing, …

Member Avatar for Xessa
0
116
Member Avatar for Xessa

I have 3 textboxes names myTextBox1 myTextBox2 myTextBox3 onblur i want to check if the value of the checkbox is true. I have a function in my js file. [code] function isNumeric(myString) {.......} [/code] In my JSP file i write; [code] onblur="isNumeric(X)" [/code] I wrote everything and it does not …

Member Avatar for itsjareds
0
94
Member Avatar for Xessa

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 prevent this? Does that mean that my transaction is wrong? When the result data …

Member Avatar for masijade
0
76
Member Avatar for Xessa

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 information that is not that much small. For example when i select from 3000 …

Member Avatar for Xessa
0
102
Member Avatar for Xessa

Hello. I have a web page and i want user to be able to select multiple options. The problem is that when i write [code] <select name="aha"> <option value="hhh">HHH</option> <option value="kkk">KKK</option> <option value="ppp">PPP</option> [/code] There is no problem in my JSP page. But later when i try to write [code] …

Member Avatar for jodin
0
208
Member Avatar for Xessa

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 is selected people can select a and c. But if a is selected …

Member Avatar for essential
0
125
Member Avatar for Xessa

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 have been working. Why is this happening? How can i make …

Member Avatar for essential
0
84