Skip to main content

All Questions

Tagged with
0 votes
1 answer
63 views

I am running a HTML code on a springboot which is misplaced while going on mail [closed]

Actually i wrote a code in Java which is responsible to format a HTML birthday card according to employee birthday. Issue i am facing that if the mail is open on thunderbird it is perfect but while ...
Tanmoy's user avatar
  • 11
1 vote
1 answer
40 views

Update from Tomcat 8.5 to 9: different caching behaviour

I have a web-application, which displays some 3D objects. The 3D objects are static files in a TomCat subdirectory. The app is based on Java 8 and JavaScript. If it runs under TomCat 8.5 everything ...
RoR's user avatar
  • 33
1 vote
0 answers
25 views

intl-tel-input erro in jhipster - problem with CSP

I'm having problems regarding CSP rules in my jhipster project, I'm using the intl-tel-input plugin, the problem is, locally the flags (flags.png) work, load and are visible to the user, but when I ...
JackmanBR - Paulo Guerra's user avatar
0 votes
0 answers
51 views

HMTL image isn't shown in browser after sending it with the httpExchange responseBody

I'm working on a small com.sun.net.httpserver project where i want to show images a user has uploaded. I already managed to get the image and safe it onto the file system. Now i want to send the image ...
Bessarionis Zockiflocki's user avatar
0 votes
0 answers
35 views

set default Locale in s SpringBoot - Thymeleaf

I have this template: <!DOCTYPE html> <html xmlns:th="http://www.thymeleaf.org" th:lang="${#locale != null ? #locale.language : 'en'}" lang="en"> <head> ...
Nuñito Calzada's user avatar
0 votes
0 answers
28 views

How to recognise tablet devices in browsers in java

Here is the code to recognize the tablet devices using the spring mobile dependency but it is not working and kept returning null, do you know any solution? public static boolean isTablet(...
Yazdan ZandiyeVakili's user avatar
0 votes
1 answer
62 views

Thymeleaf - Replace common parts in a fragment

I have a file named footerScripts.html: <!DOCTYPE html> <html xmlns:th="http://www.thymeleaf.org" lang="en"> <body> <div th:fragment="common-scripts"&...
Nuñito Calzada's user avatar
0 votes
1 answer
80 views

How to fix this: Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' is not supported

I have a Spring Boot REST API, and it works perfectly when tested via Postman—all HTTP methods function as expected. However, when I try to interact with the API from the client-side application, I ...
TheRealKing's user avatar
1 vote
0 answers
51 views

SpringBoot + Thymeleaf + Spring Security: loading images but no CSS

I have this template: <head> <meta charset="utf-8"/> <meta content="width=device-width, initial-scale=1.0" name="viewport"/> <meta ...
Nuñito Calzada's user avatar
0 votes
1 answer
50 views

JLabel: how to get space between two span tags

Have following program import java.awt.BorderLayout; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.SwingUtilities; import javax.swing.WindowConstants; public class ...
Sergiy Medvynskyy's user avatar
0 votes
0 answers
37 views

using Jquery load assets in android studio

I have been trying to use jQuery's Load in a webView through Android Studio. I have an HTML page that, when I click a button, would load the new HTML and replace the content of a DIV with the new HTML....
Bernard Weger's user avatar
0 votes
0 answers
50 views

How can I get image from gallery and place it in edittext with html?

That's what I tried to do: private fun addImage(camera: Boolean = false) { if (camera) { val intent = Intent(MediaStore.ACTION_IMAGE_CAPTURE) startActivityForResult(intent, CONST....
Feuer und Wasser's user avatar
0 votes
0 answers
52 views

How do I get memory extensive JavaScript to work on HTML canvas via Android Studio Webview?

I am trying to make an Android App, I'm a baby developer I won't lie, but it's based on astrology calculations. However my canvas will load when I comment out astrology.js but breaks because of this ...
J Moral's user avatar
0 votes
0 answers
12 views

WebView and Custom Tabs Not Granting Location Permission for Agreement signing on SignDesk Website

I’m integrating the SignDesk website in my Android app for agreement signing. The website requires location permissions to function correctly. I’ve implemented geolocation permissions in my WebView, ...
developer growindigo's user avatar
2 votes
1 answer
50 views

How to paint custom background behind an element in Java Swing JTextPane with HTML?

I know that Java Swing's HTML renderer is super basic and very much outdated (and I guess has not received any updates since it was added, which is sad tbh), but I use it to display a very simple HTML ...
TheEntropyShard's user avatar

15 30 50 per page
1
2 3 4 5
1016