can someone help me with spring boot project thst have rest controllers and need to have 2 jsp pages
18 Replies
⌛
This post has been reserved for your question.
Hey @Stefan Adamovic! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
What exactly is the issues? Deployment?
Also are you sure about using JSP in Spring?
Unknown UserOP•2y ago
Message Not Public
Sign In & Join Server To View
What specifically are you looking for?
Yes, you can use JSP but Thymeleaf or similar probably works better
Unknown UserOP•2y ago
Message Not Public
Sign In & Join Server To View
well you don't have to use JSP, right?
it just sais like JSP
It will likely be easier when using Thymeleaf or similar
but if you want to, you can also use JSP
Baeldung
Spring Boot With JavaServer Pages (JSP) | Baeldung
Learn how to build a web application with Spring Boot and JSP.
But note that with JSP, you cannot deploy yur application as a JAR as stated here: https://stackoverflow.com/a/74459458/10871900
Stack Overflow
How to use JSP in Spring Boot
Configured Spring Boot according to a guide, still it cannot find my jsp views. So after launching I get this message "This application has no explicit mapping for /error, so you are seeing t...
See also the Spring documentation: https://docs.spring.io/spring-boot/docs/current/reference/html/web.html#web.servlet.spring-mvc.template-engines

Unknown UserOP•2y ago
Message Not Public
Sign In & Join Server To View
Now do you want to use JSP or not? You can do whatever you want and I can probably help you in both cases
Unknown UserOP•2y ago
Message Not Public
Sign In & Join Server To View
I would use one of the template engines in the above link/image
and yeah ok I think I can now go to a VC
Unknown UserOP•2y ago
Message Not Public
Sign In & Join Server To View
http://localhost:8080/mvc/shop/v2/products
Sort.by(Sort.Direction.DESC, "colName")
CrudRepository
-> PagingAndSortingRepository
yourRepository.findAll(PageRequest.of(page, limit, Sort.by(Sort.Direction.DESC, "colName")))
change that to
Stack Overflow
Spring data Pageable and LIMIT/OFFSET
i'm looking at migrating our traditional jpa/dao solution to Spring Data.
However, one of our front-ends is SmartGWT, and their databound components load data progressively using limit/offset only,
yourRepository.findAll(new OffsetLimitPageRequest(start, limit, Sort.by(Sort.Direction.DESC, "colName")))
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.