Home Answers Viewqa JSP-Servlet JSP Financial Year Table

 
 


Satish Nair
JSP Financial Year Table
0 Answer(s)      a year and a month ago
Posted in : JSP-Servlet

Im trying to design a financial year table...wherein the user enters the data in the table and the same is updated in backend.i have successfully desinged the page but i have certain doubts in jsp code.the table is as follows:

MS_target   HSD_Target       ALPG_Target    Lubes_target
april               
May             
June                
July                
August              
September               
october             
november                
december                
january             
february                
march               

The HTML code is fine but im confused on to the JSP part as using an array is not possible. I have tried using the hastable by creating a hashmap for all the months. is it fine to use hashmap...or else kindly suggest me to some alternative.I have given names for all fields separately.also suugest me a code on how to iterate through all the fields.

HashMap april= new HashMap();
april.put("aprMS",new Integer(1)); 
april.put("aprHSD",new Integer(2)); 
april.put("aprALPG",new Integer(3)); 
april.put("aprLubes",new Integer(4)); 

Like wise i ahve created hashmap for all months.but i have doubts on how to read the hashmap data and insert the same in database. Kindly help.

View Answers









Related Pages:
JSP Financial Year Table
JSP Financial Year Table  Im trying to design a financial year table...wherein the user enters the data in the table and the same is updated in backend.i have successfully desinged the page but i have certain doubts in jsp
Mysql Year of Date
; Mysql Year of Date is used to return the current year of the table... (current_date) that return the current year of  the table. Current_Date: The Query is used to return the current year of the date in a  table as fieldname
Retrieving value from multiple table in database
Retrieving value from multiple table in database  Hi fnds, I want to maintain the financial database of 20 users for 1 year and update the details in jsp page.. so i have decided to maintain the details based on month (because
JSP:How to get year of system date - Date Calendar
JSP:How to get year of system date  Please tell me how to get year...=Calendar.getInstance(); int year=cal.get(Calendar.YEAR); System.out.println("Current Year: "+year ); } } For more Examples on Java visit to : http
Time table generation
Time table generation  Hi I am 3rd year bca student i want create time table generator for my project.i am going to create it as school time table...: Generate TimeTable using JSP
Addintion in year fields of sql date in a java page
Addintion in year fields of sql date in a java page  In my database i have a field StartDate and EndDate Now entering date from my jsp...("Year: " + simpleDateformat.format(date)); String k
Time table generation
Time table generation  Hi I am 3rd year bca student i want create time table generator for my project.i am going to create it as school time table...: Generate TimeTable using JSP   Thanks for your reply but still i have
Jsp table Pagination
Jsp table Pagination  I tried the code already.But I dont want it with SQL.I want it for oracle database because I'm using oracle.So please help me with this issue. Thanks
creating instance of table in jsp
creating instance of table in jsp  i face senario look kie as follows; 1)i write a code in jsp to retrieve the data from database. 2)the out put file is obviously a jsp page and shows the output in table manner. 3) now i want
Java Programmers with Financial Application
Java Programmers with Financial Application       Position Vacant: Java Programmers with Financial... on challenging Financial application:  Designing
jsp
jsp  hai sir, i have to send the data which i have in hrid table...(); } function addRows(tbl_actionrequired) { var table... { var table = document.getElementById(tbl_actionrequired
jsp
jsp  hai sir, i have to send the data which i have in hrid table...(); } function addRows(tbl_actionrequired) { var table... { var table = document.getElementById(tbl_actionrequired
leap year
leap year  how to create class for leap year. It is leap year... isLeapYear(int year) { if (year < 0) { return false; } if (year % 4 == 0) { return true; } else if (year % 400 == 0) { return
Table Creation
Table Creation  hi! I want a table which looks like following can u tell me how it can be made with java swings.. YEAR 2005 Jan Feb... to make such table? plz help.........  
multipications table
.. Table (decide if this is HTML or JSP) Table shows the multipications table up... be html or jsp file). Form contains an HTML form with two fields:a text input... will be: 1 2 3 2 4 6 3 6 9 Also, add a button to Table so that pressing this button
jsf table
as jsp and back end as mysql. I have a database named as mydatabase.it contains a table named as customer. customer table has following columns : customerid(varchar... table in this index.jsp file.this jsf file should be able to retrieve the data from
wrong year
wrong year..   I think u are using other calendar Check Settings
display of colors in a table - JSP-Servlet
display of colors in a table  Hi, If i have a table of 4 by 4 boxes, numbering from 1-16 in sequence, how do i make them display one column of one..., Try the following jsp code: table.jsp: Column1,Row1
how to take input table name in jsp to create table in mysql?
how to take input table name in jsp to create table in mysql?  how to take input table name in jsp to create table in mysql?   Hello Friend...="post"> Enter Table Name:<input type="text" name="table"><input type
generating time table - JSP-Servlet
..the code should be in jsp/servlet.. so please help me friends
BI: Improving performance in financial service
BI: Improving performance in financial service       FINANCIAL SERVICE INDUSTRY generally includes..., the primary focusing point is management of finance. The overall financial
Uploading an image into the table - JSP-Servlet
Uploading an image into the table  how to upload an image into the table in java  Hi friend, Code to help in solving the problem..."; /*declare a resultSet that works as a table resulted by execute a specified
Risk in Financial Outsourcing,Risks of Outsourcing Financial Services by Banks
Risks of Outsourcing Financial Services by banks Introduction Many.... Outsourcing of financial services is a broad based activity that includes.... The reputation of the banks and their financial wellbeing are at stake. Hence
To save table format data in pdf/excel in jsp
To save table format data in pdf/excel in jsp  Hello, I am doing web application project in jsp. In webform ,I am displaying database data in html table. So my question is ,I want so save this html format data in pdf/excel format
how to create database and table using jsp
how to create database and table using jsp  hi frnds...., i want to create database and table in mysql using jsp.... i have an registration form(name... table using jsp code... the table name should be the name of the person
Determining If a Year is a Leap Year in Java
Determining If a Year is a Leap Year in Java       Leap Year: Leap Year is the year contains an extra day. In the leap year, February month contains 29 days since normally
link in the field of table on clicking he link the full data will displayed
link in the field of table on clicking he link the full data will displayed   Hello... I am learning jsp and mysql. I am facing some problem. I am having a college database, in it I am having a student table in which there are id
Java to create table in jsp file that include other jsp file
Java to create table in jsp file that include other jsp file  String jspContent = "table" += "tr" += "td" += "jsp:include page='fileSource'" //this line is not working properly... += "/td" += "/tr>" += "/table" Please refer
JSP textbox autopopulation on basis of SQL table values
JSP textbox autopopulation on basis of SQL table values  Hi, I need... table is created in MySQL DB: Problem type Status Responsible LEGAL CONTROL NEW ABC LEGAL Dept PENDING PQR There are 2 list box on JSP , one
Table refresh with ajax - Ajax
Table refresh with ajax  I am using jsp/html in my code. Is it compulsory that i have to use a servlet to implement table refresh using ajax? Or jsp also would work? Rajatha
problem on jsp, inserting data into table(mysql).
problem on jsp, inserting data into table(mysql).  hello friends, I have a problem in jsp.I want to insert data, which is given by user through a html page into a table.And the table name also is given by the user.My database
Inserting values into a database table of selected DropDown in jsp.
Inserting values into a database table of selected DropDown in jsp.  http://www.roseindia.net/answers/viewqa/Ajax/15250-DropDown-in-ajax+jsp.html... selected india and then goa. I want to insert it to a table which has two fields
Leap Year Program
Java NotesLeap Year Program This program reads a year and tells the user if it's a leap year or not. It uses boolean operators instead... whether a give year is leap year or not. // Michael Maus, 22 Sept 2004 import
java leap year
as a keyboard inputs or command line argument, a year between 1800 and 2000 and then reports whether itis a leap year. Aleap year is an integer greater than 1584... static boolean isLeapYear(int year) { if (year < 0) { return false
jsp error - JSP-Servlet
jsp error  how to remove below error:: exception org.apache.jasper.JasperException: java.lang.NullPointerException root cause...... newpo.jsp:   JSP Page
Java Leap Year Problem
Java Leap Year Problem  I need help with a writing a program in Java that creates a class Year that contains a data field that holds the number of months in a year and the number of days in a year. It should include a get method
Mysql Date Get Year
Mysql Date Get Year       Mysql Date Get Year is the way of retrieving the current year. Understand with Example The Tutorial illustrate an example from 'Mysql Date Get Year
name of year in chinese
name of year in chinese   hello my name kiemtheng i'm come from Cambodia, i would to write java programming to calculate a name of year for each... out put . Enter day of birth: 02 Enter month of birth: 10 Enter year of birth
jsp
jsp  how to create a table in oracle using jsp and the table name is entered in text feild of jsp page
Javascript Fixed Header in A table - Design concepts & design patterns
. My question is while querying some data and placing it in a table i have as many as 40 columns with many rows.when i am scrolling down data in the table... header with the name should be fixed and data to be scrolled down.my table header
Mysql Date Add Year
Mysql Date Add Year       Mysql Date Add Year explains to add the year to the particular date... Year'. To graspe this example, we use Add('2008-12-15',INTERVAL 1 YEAR) query
name of year in chinese
name of year in chinese   hello my name kiemtheng i'm come from Cambodia, i would to write java programming to calculate a name of year for each birthday in Chinese but i dont know how to do.   import java.util.
sort table by dropbox entry
sort table by dropbox entry  Hi All, I current have the following... drop down to the table BUT and am unable to get this to do anything. The dropdown pulls its data from another dedicated table(works) but I need an OnCHANGE
Checking whether a year is leap or not
Checking whether a year is leap or not   ... for checking whether a year is a leap year or not. Here, we have taken the year 2000. So...;if else" condition. As we know leap year is divided by the integer 4 and so
How to search the selected item in row table using radia button in JSP?
How to search the selected item in row table using radia button in JSP?  How to search the selected item in row table using radia button in JSP
how to insert value in dynamic table
student table. and company and year value i'm getting through company table.but apache... a dynamic table for every company.but whenever i'm inserting values to the company...=con.prepareStatement("insert into "+company+year+"(firstname,lastname,email
jsp code for dynamic time table generation - JSP-Servlet
jsp code for dynamic time table generation  hi I am doing my academic project college automation. I want to generate time table dynamically... For the above code, we have created three database tables 1)btech: CREATE TABLE
How to Sort Column values of a jsp table - JSP-Servlet
How to Sort Column values of a jsp table  Hi Friend Please help me. I am displaying reultset values on multiple jsp page. I want to sort.../jsp/ http://www.roseindia.net/jdbc/ Thanks
inserting dropdown values into database table
inserting dropdown values into database table   hi i want to insert dropdown values into a database table by using jsp
TABLE
TABLE   Why doesn't <TABLE WIDTH="100%"> use the full browser width

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.