jsp Questions
3
Solved
I use jQuery DataTables and get this warning message:
DataTables warning: table=userTable - Invalid JSON response
A servlet fetch users from MySQL which I want to display in a jQuery Datatable...
Melamine asked 7/11, 2015 at 11:26
2
Solved
I am using JSTL. I want to display a date in JSP using <c:out ..> tag.
I tried <c:out value = "<fmt:formatdate value = '${datevar}'"/>.
But it displays as <fmt:formatdate value ...
8
Solved
I have the following separated fragment in a Thymeleaf template.
<ul class="nav nav-tabs">
<li role="presentation"><a href="/">Freight Invoices</a></li>
<li role...
Petes asked 17/2, 2015 at 10:28
2
Solved
I'm using spring for the first time and
I can't find the reason why I keep getting a 404 for 2 straight days.
Here is my [updated] pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<p...
Battle asked 24/9, 2017 at 15:48
10
Solved
I'm experimenting on re-writing my configuration-heavy, vanilla Spring MVC project using Spring Boot. I started a brand new Spring Boot project in IntelliJ using the Spring Boot Initiaizer and I'm ...
Stickup asked 19/3, 2016 at 9:51
4
I tried codes with jstl. The exception is
org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deplo...
6
Solved
So I was working with JSTL in OSGi, under Gemini runtime. And I'm getting following exception, when I try to access the url to my servlet: -
SEVERE: Servlet.service() for servlet jsp threw e...
5
Solved
I have been looking at solutions for sharing session data between mutliple war files. I came across the following solution http://www.fwd.at/tomcat/sharing-session-data-howto.html
The basic idea o...
7
Solved
I have a simple form which accepts a username and a password. I have to use sendRedirect() method for the page to redirect to one page if log in is valid and to another if not. I need to use sendRe...
Schlicher asked 26/12, 2012 at 10:17
12
I am using ORACLE database in a windows environment and running a JSP/servlet web application in tomcat. After I do some operations with the application it gives me the following error.
ORA-125...
4
Solved
I´m using for my app spring-mvc and I have managed go up file to server, with label: <form:input path="file" type="file" id="file"/>, but I have a problem when my app changes of language, bec...
Bruns asked 11/12, 2013 at 10:59
6
Solved
34
Solved
This is the exception:
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: mvc3.model.Topic.comments, no session or session was closed
Here is the model:
...
Rostellum asked 31/7, 2012 at 18:18
2
Solved
I'm trying to display an uploaded picture (which is now a byte array) on a jsp page. Now, the byte[] column exists in the database and has to be converted to an image.
This is what I've been tryin...
Snowclad asked 1/1, 2016 at 21:27
4
Solved
I just set foot on JSP. I started writing simple programs to display dates, system info. Then I tried to connect a MySQL database I have a free hosting account, but I am not able to connect t...
Nightie asked 22/11, 2012 at 4:19
4
Solved
Hi I have testfield in which I want to put test not in English(for example into Russian)
but in my action class I get instead of text only ?????????.
I trying to write simple filter which de...
Decentralization asked 31/8, 2012 at 18:5
6
Solved
8
How can I submit a POST form to showMessage.jsp using just the <a href="..."> tag?
<form action="showMessage.jsp" method="post">
<a href="showMessage.jsp"><%=n%></a>...
3
Can't load a very simple JSP page with spring-boot, getting 404 Not Found
HmisApplication.class
@SpringBootApplication
public class HmisApplication extends SpringBootServletInitializer {
@Overrid...
Ecclesiasticus asked 8/5, 2017 at 12:39
2
Solved
or say get class name or get type name
so that can work on major popular web container/servers?
Thank you.
4
Solved
I have tried to resolve by adding missing/unnecessary jar's but nothing works for me. if you know how to resolve this issue then kindly help... Thank you in advance.
I am using JDK 9.0.4 install...
Megaton asked 27/2, 2018 at 20:46
6
Solved
I get the following error, what could be the problem?
My context descriptor:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="...
7
org.apache.jasper.JasperException: /index.jsp(1,1) The value for the useBean class attribute com.b5 is invalid.
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)...
Paquin asked 11/6, 2010 at 16:33
27
Solved
I get the error:
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 7 in the generated java file
Only a type can be imported. org.eresearch.knowledgepor...
Ulloa asked 7/12, 2009 at 7:46
4
Solved
I am trying to execute JSP with JSTL, but I am not able to. I have Apache Tomcat 10, i.e. jakarta.servlet.* instead of javax.servlet.*. So whenever I execute the web app with JSTL 1.2.5 files...
Tinfoil asked 29/10, 2020 at 19:24
1 Next >
© 2022 - 2024 — McMap. All rights reserved.