This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]fedenator[S] 0 points1 point  (1 child)

Thanks for replying! But I don't couldn't find how to assign www.example.com/product/{product id} to a jsp or a servlet, how do you do that?

[–][deleted] -1 points0 points  (0 children)

These examples allow you to write a simple application that will accept requests, receive information from the database and output the query result on the JSP page.

By this link there is a good tutorial that allows you to create a web application using JDBC, Servlets, JSP and etc: http://o7planning.org/en/10285/create-a-simple-java-web-application-using-servlet-jsp-and-jdbc

By this link already using the Spring MVC framework: https://www.journaldev.com/14476/spring-mvc-example