vini chauhan

Greenhorn
+ Follow
since Dec 07, 2010
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 vini chauhan



In my project the servlet need to access beans through spring framework which has its own xml like built xml,app-context xml,etc.how to integrate the project?
13 years ago

Can anyone tell why multipart/form-data does not work with post methot in servlet. I have a uploading field in jsp and therefore i use multipart/form but other field like text cannot be accessed if i use multipart/form-data . In get method in servlet it works though.

13 years ago
JSP

hi,

I am passing values from jsp to servlet by using this method :


in jsp :

<form action="UploadServlet" method="post"
enctype="multipart/form-data">
<input type="file" name="file" size="50" />

<input type="submit" name="bt" value="gi" />


</form>

In Servlet :

String bt = request.getParameter("bt");
out.print("button value" +bt);

But when the servlet runs i get value of bt as null. Please help.

13 years ago
JSP
Thank You! My Problem Solved
13 years ago
JSP

My Questions is related to displaying image in html where I need to give a path to image which is not static. For example the image is taken from the database and displayed in html.

<img src="staticlink.jpg/> how to solve this problem?
13 years ago
JSP