3,760 Topics
| |
Hi All, I have JSP and Servlet that need to "talk" to each other. Actually I need to get record from database, fill it in JSP file. I have created Servlet that does the query and gets the result. I need those results to be shown on JSP file. In … | |
Hi all, I used [B]Timestamp[/B] data type in mysql and Date object in jsp. Now my question is how can I store system`s current Date n Time in Timestamp field using jsp? | |
Hi!! I'm using JSP+Servlets+JavaBeans to make a simple application of inventories. I have created some beans in the servlet that contain the name of a factory , and then i want to get that data in a jsp page. Since i'm having many names of factories i named the respective … | |
Dear All, I have a dedicated server with Godaddy and I am running XMLDigitalSignatureAPI on it. It works fine on my local server but when I uploaded the war file to the production server I got the error below and if I try to refresh the page again I get … | |
Hi, I have developed application in jsp and apache tomcat. How to achieve extension less url? For eg, if have [url]http://www.xxx.com/yyy.jsp[/url] as [url]http://www.xxx.com/[/url] and [url]http://www.xxx.com/user/yyy.jsp[/url] as [url]http://www.xxx.com/user/[/url] | |
I am having the strangest problem. Here is my code: <c:set var="updAlloc" value="" /> [CODE]<if test="${1==0}" > If Statement: ${1==0} <c:set var="updAlloc" value="disabled" /> </if> Update Alloc equals ${updAlloc}[/CODE] This is the output: [CODE]If Statement: false Update Alloc equals disabled[/CODE] Originally, I was testing a different variable, but realized that … | |
I wonder why this does not insert data :-O [CODE=JSP] <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@page import = "java.sql.*" %> <%--@page import = "dbfiles.*" --%> <% //VDbManager mgr = new VDbManager(); String sqlApp = "INSERT INTO application VALUES (NULL, 810, 2010-08-26, 2010-10-27, 30, \"Dummy Leave\", \"Dummy Reason \", \"Applied \")"; Class.forName("com.mysql.jdbc.Driver"); Connection … | |
hi all, i have a problem when i click the link in jsp page. whenever i am clicking the jsp page link it wants to open a pdf file, the pdf file is located in remote system. its working properly in Internet Explorer. but i am opning this in FireFox … | |
hi i have a problem , i want use the exisiting jsp page which is in a different project want to call that jsp in another project using servlet... my code jsp page and servlet pages are from two different projects SampleWebProject1:- WebContent: Web-INF:- jsp:- Sample.jsp SecondSampleProject:- src:- sampleServlet.java i … | |
-----> How can I make one report file using JSP so I can send to other user and he/she can refer it?? -----> And How can I redirect one page to other page with some delay such one page can display 5sec and thn redirect automatically redirect to other page. … | |
hi guys >> i need ur help please >>> i ve created a login page which includes user name and password and i created a welcome page which contains the required codes for connection and verifying the username and password from oracle database .. when i run the login page … | |
I am looking for a host that supports jsp files and xml. I went to several host provider and I noticed that most of them supports asp and not jsp. Is jsp a standard language that every host supports it? | |
hi, i want to insert the values into the postgresql database using jsp code.first i have to retreive the values from one table which will be displaying in combo box.And i have to store it in another table which is having the auto increment data. hope u understand.... can anyone … | |
Hello, I'm remotely debugging a J2EE application from eclipse. I developed an external tool that will copy the file I modified to the server and then debug the application from the server. It used to work perfectly, but since a few days ago, it doesn't work anymore. This means that … | |
Hello, Because of licensing constraints, we're allowed a single Development server where our application will be installed. Supposing I have the tomcat server running on a remote machine in the company's network, let's say that multiple developers should be able to remotely debug that application. Is it possible?? How could … | |
Hi, I'm a developer with little experience in J2EE. I'm working with an Application called Enovia Matrix, which is an N-Tiers System composed by an oracle database, an RMI server, some "thick-client" applications and a Web-Based interface. I develop using Eclipse, in which I imported the War File generated for … | |
Hi, We've got an application running on Tomcat and we've setup Manage Engine's Applications Manager 9.0 to monitor our environment. I've set an alarm that fires whenever a thread is in the "BLOCKED" state at the moment of the polling and I'd like to get a thread dump of that … | |
Hi, i have developed an web application using JSF. In that, if the user remains idle in the application for more than 15min then their session should expire. i have tried it by giving <session-timeout> tag value as 15 min in web.xml. but i don't know how to redirect the … | |
Why is this code not working???? [CODE] <c:if test ="${sessionScope.qCounter == 0}"> <!-- {((Quiz1) (sessionScope.quizVal)).correctAnswer(sessionScope.boxval)) == 'true'}">!--> <br><font size='3' color = 'red'>Your last answer was not correct! Please try again!!</font><br> </c:if>[/CODE] qCounter and quizVal are a session scope attributes I declared like . [CODE] HttpSession s = request.getSession(); s.setAttribute("quiz", new … | |
Hello, i tried too long so i describe my problem here. im really desprate. I want to link from JSP1.jsp to JSP2.jsp with a simple <a href=...> statement This link should also have an identification number. this is my JSP1.jsp: [CODE] <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC … | |
Hi All, I am writing jsp to export data in excel format to user. An excel could be recieved on the cient side. However, since there's large amount of data, and I don't want to keep it in the server memory and write them at the end. I try to … | |
Hi All, I have developed a web application using jps. I have a user pages, which can be accessed after entering login credentials. If a user tries to go the a certain page directly without logging in, it directs to login page, this works perfectly in all browsers except mozilla. … | |
I want to add a chat room for my web site,I have used jsp/servlet technology to develop my site, I have heard that like "jaxter" or something, I don't know how to spell it. Appreciate if someone can help me for this. | |
[code] Statement statement = connection.createStatement(); String frmdate = request.getParameter("date1"); String todate = request.getParameter("date2"); SimpleDateFormat df = new SimpleDateFormat("DD/MM/YYYY"); //Date frmdate = df.parse("strdate1"); //Date todate = df.parse("strdate2"); try { // java.util.Date date3 = df.parse(frmdate); // java.util.Date date4 = df.parse(todate); java.util.Date ufdate1 = df.parse(frmdate); java.util.Date utdate2 = df.parse(todate); java.sql.Date fs1 = new … | |
Hi All, How to store the resultset value in a array? I have a field "prodvalue" in DB Table, now i want to store this "prodvalue" in array. Am able to print the values of "prodvale" in jsp, but not able to store in array. Pl. find below the code, … | |
I'm doing a web application for one of my projects in my computer class. I have been using Apache 6.0 as my server and SQL for my database. I'm am having trouble with getting my create form which is in the view form to save with is controlled by my … | |
Hi there? Can anyone plz tell me that how to connect html forms/pages to m.soft acess database? | |
Hi, When I try to connect a jsp page with MS Access database, it gives an error "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified " What does that means? | |
Hi, Like the title says I am having a little difficulty connecting a JSP page to database.Here is my code containing the setDataSource, I am pretty sure that this is whats causing the problem. [CODE] <%@ taglib prefix="sql" uri="htpp:/java.sn.com/jsp/jstl/sql" %> <sql:setDataSource var = "labdb" scope = "session" driver = "sun.jdbc.odbc.JdbcOdbcDriver" … |
The End.