<img src="D:/nameoffolder/?src='$[description]'" width="50px" /> 
 <input type="text" name="description" /> 
 <input type="file" name="file" /> 
 <input type="submit" />

uploaded image to be displayed at the same time. Here i can get the path of an image in description but i want that to be displayed on the same jsp page.

you say that you want to see the image on the same page .. usually that can be used as a style if its what you want as the background. how do you want the image displayed?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.