Questions tagged [JSP] (143)

2
answers

How to alter a sign HTML?

I have been trying for scriplet to make this sign my best result was here such here is my code <% out.print("<table border='2' cellpadding='5' cellspacing=false >"); out.print("<tr>"); out.print("<td width='20'></td>"); for (int i = 1; i < 10; i++) { out.print("<td align='center' width...
anjali_Buckrid asked April 16th 20 at 09:59
1
answer

Are there any books on creating client-server applications in java?

Good afternoon. Prompt please the literature for creating client-server java applications. I want to make a application type Yandex music to java script on the server worked with the java application and the database.
lulu.Prosacco15 asked April 8th 20 at 10:35
1
answer

How to convert a @PathVariable in a number?

A controller that outputs the edit form user:@GetMapping("{user}") public String editForm(@PathVariable User User, Model model) { if (user.isAdmin()) { return "redirect:/users"; } model.addAttribute("user", user); model.addAttribute("roles", Role.values()); return "userEdit"; } The problem is this - the database user...
Vivien_Hudson asked April 4th 20 at 00:03
1
answer

In Spring MVC how to display images?

Application is collected with the help of @SpringBootApplication, styles managed to connect to the index file.jsp<style> <%@include file='../css/main.css' %> </style> However, the display does not work, when you try to access the picture through the address bar localhost:8080/img/gmail.png, a message in t...
Lula.Corkery86 asked April 2nd 20 at 16:00
0
answer

I do not understand how it works?

Actually there are files in C:\Users\User\Desktop\Tropic-Island\Tropic-Island\Java\apache_tomcat\apache-tomcat-8.5.23\webapps\ROOT edit.jsp,index2.jsp notfound.jsp,create.jsp I go to localhost:8080/index2.jsp here are its contents <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <!DOCTYPE html> ...
Jamison_Harb asked March 29th 20 at 23:15
0
answer

Why not request after changing the jsp page значениt?

Data after a select forwards in servlet ajax. The servlet receives a valid request, updates the contents of the html variable, but on the jsp page the attribute value remains the same@WebServlet( mapping includes = {"/index.html", "/readServlet"}) public class ReadServlet extends HttpServlet { private static final long ser...
rodrigo asked March 25th 20 at 13:10
2
answers

How to login with a dropdown list (domain), using request?

Is there a website servicedesk There is a working script for local authorization s = requests.Session() url = 'https://~.EN/j_security_check' s.get(url) data = dict(j_username='test', j_password='test') s.post(url, data=data) I want to log in under a domain u/z, j_security_check swears. Looked at the Network in IE (F12) to...
antwon_OKee asked March 24th 20 at 13:27
2
answers

Authorization is required for servicedesk, python, how do I know that authentication is successful?

Good afternoon. An internal site management in servicedesk, you need to pass the authorization and output the contents of page at a specific url. s = requests.Session() url = 'https://desk**.EN' s.get(url) data = { 'j_username':'test', 'j_password':'test', } ask = s.post(url,data=data) r = s.get('https://desk**.EN/HomePage....
elias.Crist asked March 24th 20 at 13:22
1
answer

How to organize the client part in thymeleaf?

Hello , I have a problem with the client part after registration and authentication the user gets to the page where personalAccount sees their name and list their boxes(originally they are not there) and he has the ability to add them there as well as to alter and remove ie initially, their user IDs are all the boxes , if t...
gladys.Bail asked March 23rd 20 at 18:51
1
answer

Multipart/form-data java is not come of the field?

Help solve the problem of obtaining data with Multipart/form-data form: Form:<form method="post" action="UploadServlet" enctype="multipart/form-data"> Select file to upload: <input type="file" name="uploadFile" > First name:<br> <input type="text" name="firstname" value="Mickey"> <br / > L...
yessenia.Hand asked March 21st 20 at 13:31