Category "jsp"

How to change the "Browse" button text

I need to change the "Browse" button text according to the locale in a JSP. (Ex. Russian , Portuguese) for a Spring based project. Following is the current imp

Get values ​from a checkbox to create PDF

I'm working with dataTable in JSP. I need you to generate a PDF file with the data attached to a document X; I can already generate the PDF, the problem I have

JSP servlet JSTL

When I send attribute 'saved' from servlet to jsp, if it equals to true I show alert msg otherwise I want to assign it to false in the second refresh. Servlet:

HTTP Status 500 - Path friends does not start with a "/" character

Below is the error: HTTP Status 500 - Path friends does not start with a "/" character type Exception report message Path friends does not start with a "/" ch

How to configure/disable file caching in WebLogic 12.2

I'm working with WebLogic 12.2.1.3 and I know any web files (jsp, js, css etc) are cached by default in these two locations: ORACLE_HOME/user_projects/domains/y

does not permit cross-origin framing iframe

Hi I 2 have iframes in my page in the one is working fine and another one is not working giving error as does not permit cross-origin framing. Example code is

automatically redirect to login page after session timeout - JSP, Spring

I can redirect a user to home page upon session logout.. this was very simple. However, if an user had logged into the app and had the page open, even on sessio

get json array from servlet using ajax

I have to json array in my servlet. I want to fetch json array value and print in to jsp page using ajax. below is code JSONArray htags = new JSONArray();

how to read json response in jsp

My client side program is like this: DefaultHttpClient httpClient = new DefaultHttpClient(); HttpResponse res = httpClient.execute(req); Server side, I have

In Dropdown list onchange event

My code is as follows: <!DOCTYPE html> <html> <body> <script> function tab() { current=document.get

How to get Time Zone through IP Address in JAVA

I want to get time zone through IP Address in JAVA. Actually i have an application which will run at the client machine. I have IP address of client machine

Dynamic drop down list with AJAX and database

I'm hoping someone could guide me in the right direction. What I'm trying to do is create two drop down lists where the second one (cities) depends on the first

javax.el.PropertyNotFoundException: Property 'foo' not found on type com.example.Bean

I have results from Query query = session.createQuery("From Pool as p left join fetch p.poolQuestion as s"); query and I would like to display it on JSP. I

WebSphere Server V.8.5 troubles with Eclipse project

I'm trying to create an IBM WebSphere V.8.5 web app using Eclipse. I downloaded and installed all the IBM packages needed and followed the official guide to cr

How to pop up a three button dialog without using jquery?

I am currently trying to pop up a dialog with three buttons not using jquery? I know js can only have two button dialog (confirm). But wondering if there is a w

Custom 404 error page not working with Struts 2

I am converting a JSP/Servlet dynamic web project to Struts 2 and the custom error pages (that previously worked with the JSP/Servlet version) have stopped work

SpringBoot Web MVC Application cannot resolve JSP views

I am trying to implement a web application using Springboot. but when I request methods I get 404 Error. Springboot cannot find Jsp files. this is my Controller

JSTL continue, break inside foreach

I want to insert "continue" inside foreach in JSTL. Please let me know if there is a way to achieve this. <c:forEach var="List" items="${requestScope.D

How to iterate through an array list on a JSP without JSTL

//I have retrieved a Result from MySQL and created and Array-list User .i have sent this //US er Array-list in and sent it through request Response Object. Now

HTTP/1.1 401 Authorization Required with HttpClient 4.1.1

Updated Code:- Using SSL, still am getting the same error.. I am trying to open this uri https://some-host/a/getmeta?id=10 (this url is passed to proxi.jsp