im a beginner. im making a web application for a uni project. i need help in making a grid page in jsp and fetch data to that page from the data base like shown in the picture.
please teach me how to do this
And taking that last point by Bear, before doing the JSP produce the layout as a dummy HTML page, complete with all the data you want to show (images included), and CSS etc.
That's what you will use to build your JSP page.
You can then tinker with that HTML and tweak it til you're happy with the layout without having to deal with the JSP elements.
After that it should be a fairly simple task to replace the table rows with JSP tags.
posted 3 months ago
Ik about basic of jsp and servlets but thanks for the useful articles you shared. I did display data on a table , but instead of table I want to put them under div tag but it mess up the format not in order
isuru Liyanage wrote:Ik about basic of jsp and servlets but thanks for the useful articles you shared. I did display data on a table , but instead of table I want to put them under div tag but it mess up the format not in order
And that's the sort of issue that's best handled with straight HTML, before you sort out populating the page with data from a DB.
Get the page open in your browser, open up the tools (F12) and tinker with the tags directly (I assume that works with all the browser tools, but it definitely does with Chrome).
Move things around, add/remove CSS bits/formatting.
Fire me boy! Cool, soothing, shameless self promotion:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database