3,760 Topics

Member Avatar for
Member Avatar for Kert

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 …

0
319
Member Avatar for muskan.upadhyay.355

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.

Member Avatar for stultuske
0
117
Member Avatar for vasudha k

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 …

Member Avatar for jwenting
0
4K
Member Avatar for skanagaraju

Hi Anyone uses Bootstrap?...Which version of JSF compatible with Bootstarp? Thanks Sabari

Member Avatar for jwenting
0
105
Member Avatar for bogoreh_1

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 …

Member Avatar for stultuske
0
121
Member Avatar for mutago

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 = …

Member Avatar for Mangesh_2
0
1K
Member Avatar for new_2_java

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 …

Member Avatar for peter_budo
0
2K
Member Avatar for new_2_java

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); …

Member Avatar for new_2_java
0
249
Member Avatar for new_2_java

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. …

0
134
Member Avatar for #1 zamy
Member Avatar for anand01
0
83
Member Avatar for rogerwar

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 …

Member Avatar for anand01
0
186
Member Avatar for prafulla23

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.

Member Avatar for peter_budo
0
64
Member Avatar for deceivingrakesh

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 : …

0
131
Member Avatar for kaushik259106

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

Member Avatar for Ranjit_1
0
15K
Member Avatar for Sudhakar_1

![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 …

Member Avatar for Aeonix
0
246
Member Avatar for shweta797

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

Member Avatar for Jarvisk
0
793
Member Avatar for usiyalla

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

Member Avatar for hemeneugene
0
813
Member Avatar for nikita.chandra

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 :)

Member Avatar for Varun_2
0
2K
Member Avatar for gopal_3

<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 …

Member Avatar for stultuske
0
1K
Member Avatar for Danny_501

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 …

0
214
Member Avatar for newcoder310

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?

0
83
Member Avatar for Akshay_4

HTTP Status 404 - /grid/ type Status report message /grid/ description The requested resource (/grid/) is not available. Apache Tomcat/5.5.20

Member Avatar for stultuske
0
78
Member Avatar for Akshay_4

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 …

Member Avatar for stultuske
0
362
Member Avatar for newcoder310

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 …

Member Avatar for DaveAmour
0
161
Member Avatar for bongumusa
Member Avatar for Ankur_3
Member Avatar for milil
0
75
Member Avatar for sabariN13

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 …

Member Avatar for stultuske
0
136
Member Avatar for prafulla23

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?

Member Avatar for stultuske
0
239
Member Avatar for prafulla23

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 …

Member Avatar for prafulla23
0
299
Member Avatar for amogh.max

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 …

Member Avatar for stultuske
0
267

The End.