Category "jsp"

Error executing DDL "drop table Player if exists" via JDBC Statement

Creating a spring mvc project with database using java configuration . The application gives error for tables operation like create, drop, alter operation for

File downloads but while extracting it gives "invalid zip file"

I am working on a jsp zip file download ,I am able to download the file but while extracing I get Invalid zip file error. In the java controller I have added @

Jetty: How do I protect unpack war file [closed]

I developed web that deploy ROOT.war through jetty(windows10) and I will deploy that to my client but I don't want to who modify my unpacked w

Spring boot, JSP file as view not loading when run in IntelliJ

I've created a simple Spring Boot Web Application in intelliJ. I've placed a simple .jsp file in the /src/main/resources/templates/ folder which contains some b

Why I am getting java.lang.IllegalStateException when the validate servlet is called?

I have a login web application. Whenever I login, the request must be validated by validate Servlet and it must be forwarded to admin.jsp Everything is fine exc

JSP is not found with error java.lang.NoClassDefFoundError after renaming it

I am facing typical issue with the simple servlet, JSP application. I have developed some JSP pages and servlet. It works fine. After it, I have changed JSP fil

Form based Authentication in Tomcat

I performed login using form based authentication in tomcat(using j_security_check). I have added jdbc realm code in server.xml and also security constrains in

how to get clicked value and pass it to another jsp page (integer)

I am working in a project in which I have a Display.jsp page which fetches all the records from mysql database and shows in a table on the page. While I want to

Spring boot: JSP not found (404)

I'm trying to create a new project with spring boot. But I'm getting Error described below. I have added my code. Error HTTP ERROR 404 page not found He

how to convert Calendar type to String?

i tried to convert calendar type to String for display the date in my jsp page here is my servlet code where i convert string to calendar type private Evaluat

how to read json array from servlet to jsp

JSONObject,jsonarray cannot be resolved to a type servlet: while(rs.next()) { JsonObject jo=new JsonObject(); jo.put("id",rs.getString(1));

Update database table through jsp to jsp

View.jsp this jsp to fetching the data from the database. <form method="post" action="updatedemo.jsp"> <table width="50%" border="1" align="center"

Dynamically Populate Drop down List In Spring MVC

I am new to Spring MVC. I have two Dropdown Lists in Jsp.One for country and Other for State. As soon as i select country from list State list should be populat

Correct HTML Component with the name must be given correctly

I getting error Like Fail 1 Correct HTML Component with the name 'userName/contactNumber/emailId/confirmEmailId/status/submit' must be given correctly Fail 2

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