#help with spring boot

14 messages · Page 1 of 1 (latest)

fringe swift
#

I have created a spring boot and java class with multiple functions. I need help with fetching the java using javascript.
Context: I have a input and button element. When user has an input and clicks button, the input will be used for one of the public functions and then will be shown in html

limpid magnetBOT
#

This post has been reserved for your question.

Hey @fringe swift! Please use /close or the Close 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.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

tardy hull
#

Use @RestController

fringe swift
#

nvm I already solved the controller problem

limpid magnetBOT
fringe swift
#

but I still have problem calling java function method on javascript

silver mortar
#

I'm sorry but what are you trying? You're giving nothing here.
Do you even know how a website is supposed to work by having its pages call REST APIs?

silver mortar
#

..... I suppose. Didn't you say you solved the controller problem?

fringe swift
#

I was unable to create a servlet file

silver mortar
#

Look if you just don't want to talk, don't come to a communication space