3,760 Topics
| |
I m new in jasper report and eclipse. Actually I created a receipt in jasper studio (.jrsml file) and I want to change the report properties on run time. Description: I want to fetch a report properties in jsp page and user can change this properties at runtime and save … | |
My servlet is not working even though the code seems to be correct. where have I gone wrong? First.java import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class First extends HttpServlet { protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html;charset=UTF-8"); try (PrintWriter … | |
i am working on a project. i have database and it has 20 coloumns for each row. i display rows in form of table. in table i am retrieving data from database and displaying it. <% While(special.next()){ %> <ul class="features"> <li><%= special.getString("company")%></li> <li><%= special.getString("catagory")%></li> <li><%= special.getString("place")%></li> <li><%= special.getString("verified")%></li> <li><%= special.getString("phone")%></li> … | |
Dear All, I need to choose the value of a list item in jsp. There are many employees in various departments and i need to choose that employees in department wise. Example. I have two list items in jsp 1. Select dept_no,dept_name from departments 2. SElect emp_name from employees, departments … | |
Hi I have a Select element in my page, It looks like this [CODE] <select name="test"> <option value="1">Hi</option> <option value="2">Hello</option> <option value="3">GoodBye</option> </select> [/CODE] Ok, don't mind the syntax or if I missed something, everything works fine, the problem is that I want to get the selected option value from … | |
Hi there , We know that we can use taglibs in JSP page. Is it possible to refer tlds and its tags from the servlets. Can we have control over the taglibs in the servlet programmatically ? I googled but invain. All the results are about creating custom taglibs. Any … | |
Hi i have an application created in grails.. class Route { Integer prlNo String name String address String address2 String address3 String month Integer week Integer day Integer position String van String period Integer rang static mapping={ sort:["rang","day","position"] } and i have a controller that look for same van to … | |
# Heading Here # **Design and implement a simple web application that automates few of the management aspects for the business of your liking.** ## Sub-Heading Here ## Please follow the following pattern, as this is to demonstrate and capture your understanding on the subject matter. **Version 1** ➔ Use … | |
type Exception report message Unable to compile class for JSP: description The server encountered an internal error that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 22 in the jsp file: /index_submit.jsp name cannot be resolved to a variable … | |
if i have html forms that takes data from the client with jsp code i want to save this data at mysql data base how can i do this with code ??? | |
I have website project .user can log in to use it at the home page now the problem is if any user write URL for any other page without login it will show him the page I need to ensure that any user visit other page have already logged in … | |
I need to create stateful web pages consisting of various forms to be filled up by the user. I want to make UI tools look something like that DOJO framework provides. My problem is what tool is better suited for this type of website?? DOJO+JSP ? (but i'm confused about … | |
Hi Friends, I have tomcat 7 and eclipse. My problem is when I start tomcat without war file it starts successfully but when I am Adding my war file by right clicking on Tomcat Server in eclipse, it gives in following exception : java.lang.RuntimeException: Unable to scan WEB-INF for JAX-RS … | |
i have written a connectivity code for ms access to jsp but i get a error message root cause "java.sql.SQLException: [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application" | |
hello!I install tomcat server and set CLASSPATH variable `servlet-api` and my servlets running properly but when i compile and run my old program program of `java 2 SE` then it compile successfully but not run it prints an error message G:\Java>javac BinarySearchDemo.java G:\Java>java BinarySearchDemo Error: Could not find or load … | |
I'm trying to update an input value using jquery and I can't get it to do anything. I've tried .val(), .attr, .html, .text. $('#acctnum').click(function(){ var index = this.selectedIndex; var bal1 = $('#bal1').val(); var bal2 = $('#bal2').val(); var bal3 = $('#bal3').val(); var bal4 = $('#bal4').val(); if (index == 0){ $('#poamnt').val(bal1); alert … | |
Hi, i want to submit list of object of selectted check box and want to receive same object in controller from jsp. Jsp Code-><form name="multiCheckBox" method="post" action="multiCheckbox.html"> <table> <th>Below are the list of items with status</th> </tr> <tr> <td>Select</td> <td>Print Strip</td> <td>Planogram DB Key</td> <td>Planogram Name</td> <td>Planogram Description</td> <td>Status</td> <td>Print … | |
Hello, so I'm a student and in one of my projects I have to capture the image of a client from a WebCamp and then save it on the database. Now, I'm having some problems and doubts. I've found some videos where they use the library JMF (Java Media Framework), … | |
As we observe during online ticket reservation we will enter passenger details in textfields in a table. how values will be fetched from that Jsp page to action class? | |
how can I sent value to JSP by javascript? I want to sent latitude and longitude parameters to JSP <body> <button onclick="getLocation()">click</button> <script> function getLocation() { if (navigator.geolocation) navigator.geolocation.getCurrentPosition(displayLocation); else alert("Oops, no geolocation support"); } function displayLocation(position) { var latitude = position.coords.latitude; // ดึงเอาค่า lat var longitude = position.coords.longitude; // … | |
Hello Dear, Plz tell me how to create a bar chart fetch data from database using in jsp. this is my connection code and plz tell me i add new code in same page or another page. Thanks <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Customer … | |
hello, how can i access a variable or object defined in a java class to my jsp in same project? | |
Hi i didnt find anything about this here on the forum and i cant figure out how to do it myselfe either. i have a homepage runing java with servlets and jsp pages and i want a simple contactform that sends a message from the form to a specific mail. … | |
I have javascript variable as var str = "str"; want to access this value in jsp scrptlet Want to know what r the possible ways? Thanks | |
Hello friends, I have a greeting card website am working on and i need my customization page to be like this http://www.funkypigeon.com/Pages/CustomiseCards.aspx?ProductId=122130 Also to be able to create DIV with a click of a button. Specify the width & height, margin-top & margin-left tec. Pls which software/script/plugin do I need. … | |
I'm trying to list currently online users on a pet project I'm working on. I've found a few ways to do it, but I'm having difficutly getting the one I chose to work properly. The basic idea was to use an HttpSessionBindingListener on the users information to add it to … | |
I am trying to edit and delete a single record from multiple records.Here below is my sample record displaying on jsp page, ![enter image description here][1] [1]: http://i.stack.imgur.com/suJMS.png I can edit the record for each row easily using below code, <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page import="java.util.List" %> … | |
Web address of some web sites end with ".aspx", ".php", ".jsp", etc.How web developers can hide the extensions from visibility. | |
404 error.requesting the resource while i click submit, i included lib files of struts in web-inf dir in this project. build success, not forwarding as per code in mainpage.java. index page(run): <body> <h1>Hello World!</h1> <a href="mainpage">Main page</a> </body> main page: out.println("<html>"); out.println("<head>"); out.println("<title>Servlet mainpage</title>"); out.println("</head>"); out.println("<body>"); out.println("<form action='strapp' method='post'>"); out.println("<input … | |
$('#selectList :selected').text(); //retrieve text from multiselect how do you check in the servlet if the text equals to this do this method else the text is this do other method |
The End.