1) Add the following code in web.xml <servlet> <servlet-name>jsp</servlet-name> <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class> <init-param> <param-name>mappedfile</param-name> <param-value>false</param-value> </init-param> </servlet> 2) If above solution does n’t work then split jsp page and include those jsp’s
see the below example. readonly=”true” was defined twice. If attribute defined more than once in an element then we will get this type of error . <s:textfield name=”%{‘recList[‘+#recStatus.index+’].accountedAmount’}” value=”%{accountedAmount}” readonly=”true” readonly=”true” />
Make sure you added jackson-core-asl-XXX.jar to build path.
adding below dependenceis in your pom.xml may resolve yous problem <dependency> <groupId>org.apache.html</groupId> <artifactId>xercesImpl</artifactId> <version>2.2.1</version> </dependency> <dependency> <groupId>org.apache</groupId> <artifactId>xalan</artifactId>
adding below dependenceis in your pom.xml may resolve yous problem <dependency> <groupId>org.apache.html</groupId> <artifactId>xercesImpl</artifactId> <version>2.2.1</version> </dependency> <dependency> <groupId>org.apache</groupId> <artifactId>xalan</artifactId>
npm ERR! code ENOTFOUNDnpm ERR! errno ENOTFOUNDnpm ERR! network request to https: //registry.npmjs.org/@angular%2fcli failed, reason: getaddrinfo ENOTFOUND proxy.company.com proxy.company.com:80npm ERR! network This is a problem related to network connectivity.npm ERR!
Below changes may resolve your problem Change 1 : Add your service in ngmodule providers @NgModule({ … providers: [ yourServiceName ] }) @Component({ … providers: [ yourServiceName ] }) Change
add below dependencies in your pom.xml . Make sure you selected required verion. <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> </dependency>
Make sure you added view resolver and override configureDefaultServletHandling() as beolw @Configuration @EnableWebMvc public class TinyUrlWebMvc extends WebMvcConfigurerAdapter{ @Bean public ViewResolver getViewResolver() { InternalResourceViewResolver resolver = new InternalResourceViewResolver(); resolver.setPrefix("/WEB-INF/views/"); resolver.setSuffix(".jsp");
What is SQL? SQL stands for Structured Query Language and is used to communicate with databases. That is , if we want to store , delete , update the data
CREATE TABLE statement is used to create a table in a database. Tables are defined as combination of rows and columns. And each table should have a name. Syntax :
If we want to see the structure of a table we have to use the DESC keyword. Here, structure means column names , column type and each column size of
If we want to remove the table from database, we use DROP command. Once you drop the table all the data along with the table will be deleted permanently. So
In this tutorial we are going to see how to remove the column from table .If we want to remove column from table , we have to use DROP with
In this tutorial we are going to learn how to add column to the existing table . If we want to add a column to table we have to use
In this tutorial we are going to learn how to modify the data type of a column . If we want to Modify the datatype of a column , we
In this tutorial we are going to learn how to increase the size of a column . If we want to increase the size of a column , we have
We use following sytax to rename the column of a table Oracle syntax : ALTER TABLE table_name RENAME COLUMN old_column_name TO new_column_name; MySql syntax : ALTER TABLE table_name Change old_column_name
To insert new records in a table , we have to use INSERT INTO command Syntax : INSERT INTO table_name VALUES (value1,value2,value3,…); If we use above syntax , we have
The most commonly used SQL command is SELECT statement. SELECT statement is used to retrieve data from a table in the database . Syntax 1 : To retrieve all the
In this article we wre going to learn , how to add user in MySQL and Oracle MySQL Syntax : CREATE USER user_name@’localhost’ IDENTIFIED BY password Example : CREATE USER
In this article we wre going to learn, how to grant privileges to users. MYSQL SYNTAX : GRANT [permission_type] ON [database_name].[table_name] TO [username]@’localhost’; Example 1 : GRANT CREATE ON MY_DATABASE.*
In this article we are going to learn how to insert multiple records into table using single statement . Query : INSERT INTO student (id, name) VALUES (‘111′,’sree’), (‘222′,’krish’), (‘333′,’guru’)
In this article we wre going to write a query to find contraint names existed on a table . Query : SELECT AC.CONSTRAINT_NAME , AC.CONSTRAINT_TYPE , AC.TABLE_NAME FROM ALL_CONSTRAINTS AC
In this article we wre going to learn , How to find the parent table of a table in oracle . Here, we are going to find parent table of
In this article we wre going to learn , How to find a children and it’s descendents of a table in Oracle . Here, we are going to find children
In this article we wre going to learn how to get current date with required format. Query: SELECT SYSDATE FROM DUAL; Output : SYSDATE 07-MAR-16 If we want to get
In this article we wre going to learn how to get tomorrow and yesterday dates. Query: SELECT SYSDATE+1 FROM DUAL; –prints tomorrow date SELECT SYSDATE-1 FROM DUAL; –prints yesterday date
In this article we wre going to learn how to get tomorrow and yesterday dates. Query: SELECT SYSDATE+1 FROM DUAL; –prints tomorrow date SELECT SYSDATE-1 FROM DUAL; –prints yesterday date
In this article we wre going write a query to get full name of today. See the below query. Query: SELECT TO_CHAR( TRUNC(SYSDATE),’DAY’) AS TODAY FROM DUAL ; Output :