krishna dey

Greenhorn
+ Follow
since Mar 11, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by krishna dey

In actin class i have an object and after executing this action when i will get the jsp page i want that object. How can i pass that object?

According to me using session: in action, i will put that object to session and in jsp page i will retrieve that object from session and can used for further process.

however interviewer asked other option. please help me.
[ October 14, 2008: Message edited by: krishna dey ]
15 years ago
JSF
Hi,
i want to retrieve two different fields from two different database. suppose 1st name from databse1 and last name from dtabase2 and then i want to display both in a jsp page. what is the procedure to get the values from different DB?
Thanks for your reply,

instead of link i can use form tag and by submitting the form i can pass those parameter.that is not a problem. my problem is how to connect to that ftp server without disclosing the username & parameter.

Anyway How can i create proxy and connect to FTP server?
15 years ago
Hi all,
when i am opening ftp://mail.ftpsitename.com it is prompting for username and password. without disclosing the username and password to the user(i will pass both username and password using a link in jsp page), i want to connect to that ftp site. how can i do that?

please help me
15 years ago
you can download servlet.jar and put it in Tomcat5.0\common\lib or WEB-INF/lib.
15 years ago
there is a link in my jsp page. like
<A href="somePage.jsp?skill=c#"></a>
15 years ago
JSP
hi,
In jsp page i have a link which will pass a parameter "skill" and its value is "c#". when i am retrieving that skill from response using request.getParameter("skill"), i am only getting "c" not c#.

how can i retrieving "c#" from response.
please help me..
15 years ago
JSP
Hi Ulf Dittmer,

Using this code i am retreivivg and converting the image to string
then i am using this string for word generator code. is there any other way to write image to word document?


int len = 0;
len = (int)(rslogo.getBlob("uftjobs_logo").length());
byte [] data = rslogo.getBlob("uftjobs_logo").getBytes(1,len);
for (int ii = 0; ii < len; ii++)
{
byte c = data[ii];
logo = logo + (char)c;
}
now i can retrieve the image from database. As i told that i am generating a word document. so after retrieving that image i am converting blob type to byte[] and then to string.

however while i am generating the word domument the image is is not coming. so many characters are printing to that documents. how can i get that image.
Actually i am retrieving data from database and generating a word file. on that word document i have to display one image. I have inserted that image manualy to the database. but i dont know how to retrieve that image. if you have any idea to solve this problem then please help me.
Hi,
How can i retrieve image from database (in java). i am using MySQL. i have created a table which contain a column of blob type and manualy i have stored one image. after retrieving i will display it in word document.

Please help me......
16 years ago
Hi,
How can i retrieve image from database (in java). i am using MySQL. i have created a table which contain a column of blob type and manualy i have stored one image. after retrieving i will display it in word document.

Please help me......