3,760 Topics
| |
I have the java code to implemented jsp page, here how to view the pages 100 [code] <% PreparedStatement preparedStatement = null; PreparedStatement preparedStatements = null; ResultSet rs4 = null, rss = null, rst = null; java.sql.Timestamp timest; DateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Connection conn = null; Timestamp timestamp; … | |
i have created a delete.jsp page which checks for datatype entered in the fields and when user enters the student id will delete it from database.i am succesfull while following insert.jsp but i am geting proublem while updating and deleting. i have linked insertiion,updation and deletion jsp files to 1 … | |
Hi all, I am trying to create a website project having multiple pages showing data from database. I am using Netbeans IDE 6.7 and Apache Tomcat Server and Microsoft SQL Server 2005. I was developing this site using JSP,Servlets,JavaBeans to fetch data using MVC Architecture but since i needed some … | |
Hi everyone, i encountered this error when i want to forward user to different page according to different situation. The error occurs if the login is null and the cash is null :( seems like the it does not know where to forward because there is two forward. is there … | |
Hi guys, I need an advice on a html-refreshing issue I have one html document containing three different forms with three submit buttons for each form. The first form has some input fields for personal information (name,surname, age etc). When the user fills in the fields, presses the submit button, … | |
hello, I have created a web application using java,mysql I have to still write functionalities where in the functionalities need the current user name for a web application. The functionalities like view profile needs it. Can anyone please help me out in this. Thanks | |
My project is e learning project. I've a "choose the correct answer" module. When the click the "begin test" button it should fetch the questions and options from database and display it. Instead of that my page displays "java.lang.NullPointerException". I've assigned unique values for each error. So the exact error … | |
I m making a website of Online Programming Forum.. But i m a bit confused about how to display new thread generated by a user to the main window... Can anybody help me... Thanx... | |
Hi, I am new at this... I am trying to display data from a text file to a JSP file and I'm using BufferedReader to do this but having problems getting to the file. Which directory should I put the text file? Should I add anything to web.xml to reference … | |
Hi, I have problem in rich:hotkey when using JQuery i have used rich:hotKey for h:inputText in my jsp page. And also i wrote jQuery for get the textBox value. When i use jquery, that time rich:kotKey not worked [CODE] <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="http://java.sun.com/jsf/html" … | |
Hi all, I have recently decided to implement struct framework with my current project. All are good except there a number of pages that uses , the particular page forwarding statement stopped working. The pages that used are all part of the "body" of the tiles. Say I have a … | |
Hallo guys, I want to first start by saying, that I`m fully aware the question I`m about to ask, has certainly already been posted some thousand times. I`ve looked through some of the posts, but non of them was quite like my case (or I just didn`t stumbled upon any) … | |
Hi all, Is there any way to send a request attribute via href? thanks anyone help me. | |
hai ! i want to make tcp communication using servlet, i tried this servlet program.. it will not work can anybody suggesting me... [CODE]import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.PrintWriter; import java.net.ServerSocket; import java.net.Socket; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class TestServer extends HttpServlet{ ServerSocket server; … | |
Hi all, I am a new developer in J2EE Field working on a web project. My Requirement is to fetch records from database and display on webpages depends on the scenario. The Server i am using is Apache Tomcat 5.5 and Database as SQL Server 2005 and IDE as Netbeans … | |
Hi, I have my website Developed in JSP. It is just a basic , Which only uses menu's & Database Connection to display Dynamic Data. Can i migrate this JSP code to Asp.net, is there any tool Available which will help convert it? As my website contains many pages, i … | |
I want to send email using JSP. I did this for that, 1. Downloaded and Installed Java and Tomcat on My PC. 2. Used the following script, [CODE]<html> <head> <title>JSP JavaMail Example </title> </head> <body> <%@ page import="java.util.*" %> <%@ page import="javax.mail.*" %> <%@ page import="javax.mail.internet.*" %> <%@ page import="javax.activation.*" … | |
Hello please help with these, i want to pass a value in input box to another jsp page without submit button. can i doit cheers | |
Hi Dear to All, I want create & write into excel file. My problem: when we get table as a query result on GUI. If user want to write that table into excel file,it should be done after button click. If we create it on server side then we may … | |
Hi I have to display 4 BufferedImage in jsp page.I am getting these images from a java code. In the jsp page i am using: ImageIO.write(demo.getBuffImage(), "png", response.getOutputStream()); With this i am able to get the image. However if i write different ImageIO.write(....) for displaying each of the 4 images, … | |
How i can build Pagination in JSP/Servlet [B]Design in MVC[/B] I don't know about Pagination Concept. Please give me the example code. Thank You | |
I am working on a project in which i have to crawl through a number of *.jsp files and index some data from them. These files contain links to other jsps and .wav files. However, these links are of the form $root_dir$/<%=language%>ABC.wav, there language is a variable defined in the … | |
Hello everyone. I have a question. In a servlet, can we write something on page using [CODE] PrintWriter out=response.getWriter();[/CODE] ,then clearing the page and then also forward the request using [CODE]RequestDispatcher rd = request.getRequestDispatcher("/some jsp page"); rd.forward(request, response);[/CODE] I was trying to do this but for some reason forwarding part … | |
How i can Rewrite URL JSP in Apache tomcat same MOD Rewrite in PHP [U][B]EX.[/B][/U] [CODE]test.jsp?id=1 as test/1[/CODE] Thank You. | |
Hello all: I find that the tag "<error-page>" could not be executed in my struts project. It could not be forwarded to the "error.jsp" when I try to access a not exist page or a wrong url.Why? The web.xml is like this: [code] <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="[URL="http://java.sun.com/xml/ns/j2ee"]http://java.sun.com/xml/ns/j2ee[/URL]" xmlns:xsi="[URL="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/URL]" xsi:schemaLocation="[URL="http://java.sun.com/xml/ns/j2ee"]http://java.sun.com/xml/ns/j2ee[/URL] … | |
Can I apply JSP and J2ee technology for Social Network developing I am novic in web programming and My thesis title is social networking ! Please reply and advice me how should I do? I have little experiences in J2EE and MySQl looking forward to your reply!! Opera, Mandalay Technological … | |
Hi, In student project have use 2 combo boxes (state and district) how to write the in jsp code please anybody tell me my mail <EMAIL SNIPPED> | |
Hi , I dont have any basic knowledge in servlet program in java.Now i am using Redhat os. Please any one tell some steps how to execute the servlet program. Thank you, Prem. | |
Pressing the enter key at the jsp page receive extra invalid data at the ProdController.java. The alertgroupStr receive "unack" as expected. However, I do not understand why alertgroupStr receive the extra invalid "null" later. Debug log: 11:14:52,187 DEBUG com.systems.monitoring.war.ProdController:54 - alertgroupStr unack ... 11:14:52,187 DEBUG com.systems.monitoring.war.ProdController:54 - alertgroupStr null ProdController.java: … | |
Hi, I have to create a JSP page wherein files are to be uploaded to a specific location. This location is unique for each user and is thus stored in the database. Thus it consists of 2 steps 1. Reading the location from the database. 2. Uploading the file to … |
The End.