0

Can i place a string value in thymeleaf link instead of id and without first listing the database table contents. Like this

<a th:href="@{particularList/{type}(type=lcd)}">
  • could you let us know, how the URL has to be genrated for the above template. like a sample url genrated – Laminoo Lawrance Mar 17 '20 at 05:19
  • I don't have sample. There's a column "type" in my database i want to fetch only those type which will be passed by this url. This Url is the starting point – Devashish Bhardwaj Mar 17 '20 at 05:27
  • 1
    Sure you can. I don't understand your question. What exactly did you try so far and what do you want to know? https://stackoverflow.com/help/how-to-ask – Simon Martinelli Mar 17 '20 at 07:46
  • Does this answer your question? [Thymeleaf construct URL with variable](https://stackoverflow.com/questions/14938344/thymeleaf-construct-url-with-variable) – riddle_me_this Mar 19 '20 at 15:57

0 Answers0