- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
19 Posted Topics
Hi I am trying to genarate report in java. my basic requirement is like: 1. i have to print sales invoice in .txt format. 2. In application, user will select sales invoice no in drop down list. after clicking print button, user can show his invoice . 3. invoice contain … | |
Hi everyone I have one we application developed using java,servlet and jsp. i am running it using Apache tomcat server 5.5. When i am running it on my local machine, i am given path as [B][url]http://localhost:8080/student/[/url][/B] where as student is name of application. Now if i require run same application … | |
Hi, Can anyone help me how to retrieve data from table in the following manner. In my application I have five button namely First,last,next,previous,and Query. When I will press the query button, it should show me last data that I had feed to the table. When I press first button … | |
Currently I am working on one form development using Java. In JSP page I retrieved the data from table using F9 keys i.e for any input field variable available in JSP page, once I pressed the F9 key, all the related data is displayed in the popup window. Once I … | |
Hi I am trying to send the mail to client containing message as a data retrieved from database in table format. I am retrieving data in below servlet. now i want to send all this data in jsp page in table format. from this page i am sending all this … | |
Hi; The below page validates the user. if the groupid of the user is null into the database,it forward the user to accessdenied.jsp page. The below code works fine without closing [B]rs[/B] If i had tried to close rs.close(); [B]it show the compile error: rs might not have been initialised[/B]. … | |
Hi; This is my first project. I am developing a project: student feedback system for an institution. Here each student will get an userid and password . There are six tables in database to support project 1. User—consist of user information like username, password etc. 2. Groupid—consists of various groups … | |
Hi, I have one query. Can we use empty resultset objetct for checking any condition. supose in my query: [B]rs= st.ExecuteQuery("select * from user where userid=1 and eventid =4");[/B] which result in [B]empty resultset [/B]. so can i use [B]rs[/B] for following use as: if(rs==null){ do some operation }else{ do … | |
Hi; The below jsp page is compiling fine but executing it shows error as[B]javax.servlet.ServletException: java.sql.SQLException: Column 'Total' not found.[/B] [CODE] <%-- Document : evaluationeventtable Created on : Jul 24, 2008, 6:52:37 PM Author : user1 --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@ page language ="java" %> <%@ page import="java.sql.*, javax.sql.*, javax.naming.*,java.io.*,java.util.*" %> … | |
Hi, my adduser.jsp page consist of form with field username,groupid like. I am forwarding this page to insertuser.jsp. my aim is that when I submit adduser.jsp page then the field filled in form should insert into the usertable.The insertuser.jsp is like: [code] String USERID=request.getParameter("id"); String NAME=request.getParameter("name"); String GROUPID=request.getParameter("group"); InitialContext context … | |
Hi, I am trying to retrieve data from table in two times. In first query I am displaying all data available in table. Now I want to count the no. Of rows available in the same table by using select count(*)from table-name type query. How can I retrieve records of … | |
Hi, I have one jsp page containing 2o questions retrieved from table along with its possible four-option answer in this manner: [B]Question1: Option-a Option-b Option-c Optio-d[/B]All the options are in radio button form. I am trying to store the result of these question test in my final output table: [QUOTE]Structure … | |
Hi All, Kindly give me some guidelines regarding below issue. I am developing Student feedback system to provide feedback about faculty to in institution. Now I have three tables in database: 1.Questionid containing column as id, questionid-description, type 2.event table containing column eventid ,eventdescription,questioned-description(contain same data as like questionid-description from … | |
Hi, Here is my jsp page where i trying to display the data from table. Here form1 is the name of drop down list in my searchuser.jsp page. The content in the drop down list is a name of one column of the database. I am able to connect firstjsp … | |
error:javax.servlet.ServletException: java.sql.SQLException: Illegal operation on emp -------------------------------------------------------------------------------- Hi, I am stuck here about 2-hours. Kindly help me. In this my updateuser.jsp page I am retrieving the data from drop down list which is in my search user.jsp . I am taking form name of searchuser.jsp page for reference here which … | |
Hi, I am creating the updateuser.jsp page. For that I create search.jsp where one can serch users and after submitting this page.it should display the updateuser.jsp page where I can update the details of user. Here is my code of searchuser.jsp: [code=JSP]<% Connection connection = null; Statement st = null; … | |
Hi, In main.jsp i wish to display the data from the database( user information stored in user table ). my codein main.jsp is: [code=JSP]<h2> description about user:</h2> <% Statement st = null; ResultSet rs = null; rs = st.executeQuery("Select description from user "); %> <option value = "<%=rs.getString("description")%>" > </option>[/code] … | |
Hi All, I had created application where once you log in into index.jsp page, the next validateuser check for validation. but when i fill the form of username and password the error shows like: [COLOR="Red"]The requisted resources are not available[/COLOR] Here my context.xml [code=xml]<?xml version="1.0" encoding="UTF-8"?> <Context path="/student" docBase="student" debug="5" … | |
Dear sir. My queries is: i have project folder contain directory like sect-1' section-2,and particular directory contain relative jsp pages, how can i deploy all jsp pages at time so that my hole project will be compiled? project folder structure is like as: project folder\index.jsp,home.jsp,validuser.jsp project folder\section-1\one.jsp,two.jsp,three.jsp project folder\section-2\one.jsp,two.jsp,three.jsp / … |
The End.