Wednesday, 26 October 2011

Dynamic URL's

It is desired that the file is automatically uploaded to the server. One concept is to use a dynamic URL which would automatically populate the form on the page.

Dynamic URL's have the Form:

http://www.localhost:8080?value=object

value is the variable
object is its data value

The variable could then be extracted to the JSP using the code:

<% String Name = request.getParameter("value")%>

No comments:

Post a Comment