spring tag

102 questions


1 answers
77 views
0
Understanding AutoWired Behavior of Spring

Hello, I'm writing to ask for your advice.@Servicepublic class Parent1 extensions Child { // This is just a definition.}public class Child extensions BaseChild { // This is where we call the base call...

2 years ago

1 answers
78 views
0
Please tell me how to create a SpringBoot project that works with Tomcat 8.5.

I would like to create an application that works with a specific Tomcat in Spring Boot starter.I installed Eclipse and created a new project with SpringBootStarter, but by default Eclipse 9.0 is embed...

2 years ago

1 answers
62 views
0
There is an error while using the sts tool, what does this mean?

It pops up a lot every time I write a spring code I don't know what that meansMachine, bootstrap, blah, blah What does it mean? Thank you for letting me know

2 years ago

2 answers
71 views
0
Spring Parameter Binding Question

@RequestMapping(value=/read, method = RequestMethod.GET) public void read(Model model,@RequestParam(bno) int bno)throws Exception{ logger.info (read call); model.addAttribute(service.read(bno)); } @...

2 years ago

1 answers
142 views
0
Is it possible to insert a large amount using an annotation?

Hello, I'm a spring beginner!I am using mybatis for STS.Is there any way to put the collection right away using an annotation?What I want to do is to transfer the following query from the mapper using...

2 years ago

1 answers
149 views
0
Is there a way to get HttpServletRequest from the controller of spring mvc without adding a parameter to the method?

I understand that to receive HttpServletRequest from the controller of spring mvc, you can add the parameter of the function as shown below. @RequestMapping(value = /, method = RequestMethod.GET) pub...

2 years ago

1 answers
102 views
0
Is it possible to give several conditions in @Cacheable?

I want to use Cacheable Annotation to cache Spring.I think there should be several conditions. @Cacheable(value = item, condition = #filter.size == null)It works fine with @Cacheable(value = item, con...


1 answers
62 views
0
An unknown cause error occurs.

Hello, I'm a student studying development.The school is working on a project.Boot using the spring An unknown error has often the cause to developing will raise questions.When testing on the local hos...

2 years ago

3 answers
73 views
0
Determine if the 'Like' button was pressed in the post list

There is a bulletin board table and a like table separately Bbs.javaprivate int id;private String title;private String content;private int likeCount;private User writeUser;// I don't know if I should ...

2 years ago

1 answers
60 views
0
I process JSON from Java to Jackson, but I want to check the data before conversion.

JSON was converted into an object using Jackson 2.7.3 version.Question 1. I want to check the JSON value before converting JSON into an object, how do I do it?Question 2. If number 1 is possible, NULL...

2 years ago
« - 6 - »

© 2024 OneMinuteCode. All rights reserved.