Skip to main content

All Questions

Tagged with
0 votes
0 answers
23 views

get javascript table element in jsp [duplicate]

I'm using a jsp and I need to do something like this but it doesn't work, the elements of table doesn't show in my page and I tried to replace the extension of my jsp file into html and it works ...
Yaris Razafindramanana's user avatar
0 votes
0 answers
17 views

Checkmarks issue in JSP [duplicate]

Check marks is flagging cross site scripting issue in the below code. can you please help me in resolving the issue. Code in JSP: <a href="javascript:getData('${sta.Date}','${sta.EndDate}');&...
Vishnu's user avatar
  • 1
0 votes
0 answers
9 views

Checkmark flagging an issue with Crosssite scripting [duplicate]

Checkmark is flagging a cross site scripting issue in JSP. This is the issue checkmark displaying: The method "javascript:getdata() embeds untrusted data in generated output with BinaryExpr, at ...
Vishnu's user avatar
  • 1
0 votes
0 answers
22 views

javascript function changes when used with jsp [duplicate]

I am starting my long and bumpy road to move website i made 20 years ago to Jakarta ee backend, mysql and html javascript frontend. Have some success with java, but problems in javascript. In my JSP I ...
Gunārs Šmerliņš's user avatar
0 votes
0 answers
79 views

How to use window event in parent React JSX window with Child JSP window

In one of the scenario I am redirecting an external JSP in a new window, keeping the source window open. An event is triggering from JSP Page side which I am not able to read in React screen. In this ...
Ankit Kulkarni's user avatar
0 votes
1 answer
40 views

Get value of display:column property JSP page in JS

I don't know how to get the value of a display:column in a JSP page to check in a JS function. JSP Page: <display:table> ... <display:column property="surnameName" title="...
crmaidev's user avatar
0 votes
0 answers
77 views

Dropdown value not persisting after saving in Spring MVC

Question: I am working on a Spring MVC application where I have encountered an issue with dropdown values not persisting after saving a form. Below is a simplified version of the code along with some ...
nutan's user avatar
  • 9
0 votes
0 answers
44 views

I am having problems with <script> tag not working when it is clearly there in the html body in the browser console [duplicate]

I have a jsp file which has an "iframe" tag where my data is shown when user searches for a field. When user clicks search, my servlet gets userdata from the database and create html page ...
DamanS's user avatar
  • 1
-2 votes
1 answer
56 views

Can Babel be used to transpile only JavaScript code in JSP files?

I want to use Babel to transpile my .jsp files What I am worried about is that in JSP file there are many languages not only JavaScript. For example: HTML, CSS, JavaScript code with EL Expression, as ...
Aiden Lee's user avatar
0 votes
0 answers
70 views

How to integrate OTP authentication into existing JSecurity Login?

I have a pure JavaEE application (EJB Jars and Web Archive) The WAR according Java EE security defines the j_security_check action for login forms (FORM Based Authentication) If userId and password ...
Shaikh's user avatar
  • 11
0 votes
0 answers
34 views

Why my javascript doesn't load into Spring Boot [duplicate]

I am currently working on a Java Spring boot project, everything is worked but excepted the JavaScript code. Here is the JS code: function handleFormSubmission(event) { event.preventDefault(); ...
Lmao's user avatar
  • 1
0 votes
1 answer
68 views

How to access <sql:query> result set of jsp inside <script>

I am trying to use FullCalendar library to design an interactive calendar where user can click on a date to see the corresponding course schedule/ event. For this I need to populate the events in this ...
bear bear's user avatar
0 votes
0 answers
28 views

Mobile phone authentication browser problem

I'm using the mobile phone authentication function. In Chrome, Whale, and Samsung Internet browsers, callback is not made from a white window to an application after authentication. However, it runs ...
허지훈's user avatar
0 votes
0 answers
28 views

How can I show and hide in JSP not included afterimage

Well, I do maintain the Jsp file. You can see above the picture. a, b, c is a same file and d is another file. You should write and submit like a -> b -> c -> d. We have two buttons. One is '...
HUDUNY's user avatar
  • 11
0 votes
1 answer
103 views

JavaScript XSS prevention - what to check

I am trying to prevent a XSS attack on a form. I have read the following, but I am not clear on how to implement their suggestion. I want to prevent the attack, so I need to check the value of the ...
Richard's user avatar
  • 8,731

15 30 50 per page
1
2 3 4 5
572