3,760 Topics

Member Avatar for
Member Avatar for baktha.thalapat

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

Member Avatar for peter_budo
0
173
Member Avatar for ravi25a

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 …

Member Avatar for parry_kulk
0
196
Member Avatar for manmeet khanuja

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 …

0
44
Member Avatar for EverydaySunday

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 …

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for fankoff

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

Member Avatar for fankoff
0
133
Member Avatar for divyakprabh

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

Member Avatar for finito
0
84
Member Avatar for Viruthagiri

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 …

Member Avatar for ~s.o.s~
0
140
Member Avatar for sara khan

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

Member Avatar for sara khan
0
78
Member Avatar for IsaB

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 …

Member Avatar for parry_kulk
0
557
Member Avatar for eswaramoorthy

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

Member Avatar for eswaramoorthy
0
229
Member Avatar for Tym326

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 …

0
93
Member Avatar for fankoff

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

Member Avatar for peter_budo
0
267
Member Avatar for parsa.moshrefi
Member Avatar for periyasamy1904
0
71
Member Avatar for musthafa.aj

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

0
79
Member Avatar for manmeet khanuja

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 …

Member Avatar for peter_budo
0
114
Member Avatar for prathamesh_pita

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 …

Member Avatar for finito
0
78
Member Avatar for aashishdaniweb

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

Member Avatar for Hakoo
0
186
Member Avatar for aravchr

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

Member Avatar for jwenting
0
89
Member Avatar for vishal18

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 …

Member Avatar for xonglennao
0
113
Member Avatar for swati.n

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

Member Avatar for ~s.o.s~
0
1K
Member Avatar for RaulGonzales

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

Member Avatar for ~s.o.s~
0
131
Member Avatar for mayank.15

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 …

Member Avatar for jwenting
0
128
Member Avatar for karanits

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 …

Member Avatar for karanits
0
108
Member Avatar for RaulGonzales

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.

Member Avatar for RaulGonzales
0
110
Member Avatar for nihao

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

Member Avatar for lawrence_o
0
174
Member Avatar for opera

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 …

Member Avatar for s_sridhar
0
97
Member Avatar for pavank_karanam

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>

Member Avatar for javaAddict
0
77
Member Avatar for prem2

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.

Member Avatar for prem2
0
132
Member Avatar for albertkao

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

0
88
Member Avatar for jsp_

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 …

0
44

The End.