Some questions about developing blog system

I want to write my own blog system with Java, but I don"t know how to write the logic of accessing a blog post. If you use dynamic web pages to generate, this is relatively simple, but the server is very stressful. Excuse me, how does the blog system generate a static page for each article, write a html page, and then use ajax to access the data for rendering?
there is another question: how does a blog.csdn.net/valada/article/details/79982704, like csdn end up with a number? Is this number the id number of the article? If so, how did you do this? For example, I use javaweb to write, don"t I access http://./search?id=799.

when accessing servlet or action?
Mar.06,2021

1. The article is on the same page, but the rendered article is different
2. https://juejin.im/post/5ae081aaf265da0b767d263a. This is the article details of the Nuggets. You can see that it is also in the format of / post/:id . In fact, this is the route implemented at the front end, and the Nuggets are developed by vue . If you want to implement this url , you can learn about it. The ordinary one, as you said, is url followed by the parameter

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e97b4d-1676.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e97b4d-1676.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?