3,760 Topics
| |
I have followed all the tutorials, but still I have a problem that I can't get an object from a form to the controller using Spring MVC. What might be the case? I am using Thymeleaf to format my jsp pages. <!DOCTYPE HTML> <html xmlns:th="http://www.thymeleaf.org"> <head> <title>Getting Started: Handing Form … | |
i am getting the value of button by request.getParameter and comparing by .equals.....but the values are not getting stored in the database(it is not entering the if condition)...hoping for a solution. | |
Can anyone help me out ?....... I have written a code for a form. the first five fileds in the form must be filled automatically by capturing the user id from login page. I have been able to capture the data and print it on the screen But, Iam not … | |
Hi Anyone uses Bootstrap?...Which version of JSF compatible with Bootstarp? Thanks Sabari | |
hi everyone, i am new in jsp and i would like to have your advise to develop an online chatting application use jsp. i would like to know is it possible to develop chat application using jps and sockect or should i have to use websocket an do i need … | |
Good day experts, i want to upload image and forms input to database using apachae method but it returns an error display below [CODE] org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 36 in the jsp file: /jsp/cat1.jsp name cannot be resolved 33: String fvalue = … | |
Hello all, I have a function in JS, that I need to translate in Java to be used in my JSP as part of server side script. I need to find out what's the equavalent of JSON.stringify() in Java? This is my current JS function. This functioin takes a CSV … | |
Hello everyone, I need to pass some parameters from my servlet to my JSP. I am able to access 2 of my parameters from the request object, but one of them is returning null value. Here's my servlet snipet: request.setAttribute("selectedA", aBook); request.setAttribute("selectedB", bBook); request.setAttribute("book_ref", book_ref); logger.info("book_ref = " + book_ref); … | |
Hello all, I have an index.jsp that has 3 frames [banner, menu, main]. My menu options are in "menu" frameset, and when I click on a menu option, it calls the servlet, then based on that, it does some processing in my servlet, and forward the request/response to specific JSP. … | |
Plzz provide me the jsp code that: Uploads firstname,lastname and an image to the db. | |
Hi there I am working on a Web application where I need a section called AddNews.This section is under control by Admin of an web application.Admin can add any types of news in the form of Text,Images,Videos and later other user can view it on Latest News section. My Question … | |
I called one sql table "CarDetails" in more than two jsp's and i want to when from 1.jsp are updated "CarDetails" table then at that time update kendo grid from 2.jsp. thank you. | |
Hi guys , I have run into a problem with jasper reports and dynamic reports , i'm just trying to generate a simple PDF from a List of beans fetched from Hibernate , when i try to generate PDF from Action , i get the following Error:NoSuchMethodFound:org.w3c.dom.Node.getTextContent()Ljava/lang/String; the method : … | |
Is it possible to get the current URL in my JSP page. Say i open a site "http://abc.com/page1.jsp" I want to display it in page1.jsp the total url as "http://abc.com/page1.jsp" If yes please tell me the step! Thanks in Advance | |
![IE_11.PNG](/attachments/large/4/7521fb4c6a3b7e95866eef0417e01efe.PNG "align-center") ![Mozilla_Firefox.PNG](/attachments/large/4/8866491155367c5642bc17b36488fbf0.PNG "align-center") Hi. In my project UI Table is not displaying properly (not working) in **Internet** **Explorer 11**, where as in **Mozilla Firefox** it's working properly. please see below pictures. ![enter image description here][1] This is with Mozilla Firefox![enter image description here][2] This is with Internet Explorer 11 … | |
Hi I want to send session variable in an array from one JSP page to another using code given below String[] textfield_a =(String[])session.getAttribute("textfield_a"); But i m getting error . plz help | |
Can any one send me the config setting for jdbc and mysql using apache server setting in netbean. i wanna use jsp with xampp and jdbc | |
hi ! Anyone can tell me how can i get the value of dynamic textbox on jsp page. If i'll use request.getParameter("elementName"); here as text box will be generated dynamically i can't assign name of the text box . Pleeeeeeeeeeeeeeeeeeeeeeez help !!! Thanks :) | |
<html> <head> <meta name="GENERATOR" content="Namo WebEditor"> <title>Insert title here</title> <link rel="stylesheet" type="text/css" href="css/main_style.css"> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> </head> <body> <center> <tr> <th style='width: 3%;'> S.NO </th> <th style='width: 6%;'> Company ID </th> <th style='width: 10%;' > Company Name </th> <th style='width: 6%;' > More Company Details </th> <th style='width: 6%;'> User Details … | |
Hi, I'm trying to make a label visible by clicking on a button. The following code will make the label visible, but will disappear in less than a second. I'm assuming its because the form is getting submitted in the java script, so the page is getting refreshed? Is there … | |
Hi, I have an issue with redirecting from my Spring controller to another servlet. Something similar to RequestDispather.forward. I get the below error. org.springframework.web.servlet.DispatcherServlet noHandlerFound No mapping found for HTTP request with URI [/xxx/xxx/xxx/abc.fcc] in DispatcherServlet with name 'dispatcher'. Is it possible to redirect directly to this url? | |
HTTP Status 404 - /grid/ type Status report message /grid/ description The requested resource (/grid/) is not available. Apache Tomcat/5.5.20 | |
HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet execution threw an exception root cause java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/gridjet/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 … | |
I have a `jsp` page where I enter a username and click on a submit button. On clicking this button, I post the username along with a hidden target page value to the other application. The other application does its processing and issues some cookies and redirects to the target … | |
how can i show the data in a table from database on a click button in jsp page. | |
I am new to java. I am doing small project on Jsp and servlet.backend database is MySQL.I am just trying dynamic charts using Jqplot with Jsp and Servlet. I searched in many sites. I couldn't get the correct solution.Anyone please guide me how to do dynamic charts in Jsp and … | |
I have problems with jasper report. First I inform to I used eclipse luna and jaspersoft studio 6.0. 1] How to show and hide report fields from jsp using servlet? 2] how to fetch static fields text from jsp and display in textbox? how to way i solve this problem? | |
hello experts, I want to show .jrxml file in html div as a preview of created report. I am using eclipse luna and I was created a report in jasper soft studio 6.0. and i need to show this jrxml file in html <div> </div> So please help me. thank … | |
| I have created the following button: <form method="post" action="website.sup"> <input type="submit" id="btn1" name="btn1"/> </form> I am trying to call a ".java" file when i press this button. Sample of my .java code : package website; import javax.swing.* public class sup implements Runnable{... How do i call my java file? Additional … |
The End.