Sometimes we need to pass parameters along with the url to get the
data. In Spring MVC framework, we can customize the URL in order to
get data. For this purpose @PathVariable annotation
is used in Spring framework.
For example you want to write a url to get user's details as below
You can read such more blogs on Java at our Java Development Blogs Section.
In FindNerd we are offering instant solutions of your programming queries such as android, php, java, c programming questions and answers etc., on ask questions section.
For example you want to write a url to get user's details as below
http://localhost:8080/app/findMe/user@gmail.comTo view complete blog about Spring MVC @PathVariable Uses visit FindNerd.
You can read such more blogs on Java at our Java Development Blogs Section.
In FindNerd we are offering instant solutions of your programming queries such as android, php, java, c programming questions and answers etc., on ask questions section.
No comments:
Post a Comment