Member Avatar

I have created a program to display salarys, calculate a bonus payment and display total. Wages and total are my two arrays. My problem is, when i run the program, my element starts at 0.i need it to start at one but it cant skip the first value in my array wages. it is currently like this 0 1 2 3 4 5 6 7 8 9 i need it to display and the 10 salaries in there,it cant skip any. 1 2 3 4 5 6 7 8 9 public class Salary { //main method public void calcSalary() { …

Member Avatar
0
8
Member Avatar

The following is my code for login function. I save the password as MD5 but inside the url after logged in it shows the full word instead of showing MD5. I'm still very new to Java EE and any help I can get will be very much appreciated. [CODE]<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %> <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Login Page</title> </head> <body> <form name="form1" method="GET" action="LoginServlet" onsubmit="return checkForm()"> <table width="80%" border="0" cellspacing="2" cellpadding="2" align="center" class="firsttbl"> <tr> <td><%@ include file="banner.jsp" %></td> </tr> <tr> <td><table width="40%" bordercolor="#0099FF" border="1" cellspacing="0" cellpadding="0" align="center"> <tr> <td><table width="100%" border="0" cellspacing="2" …

Member Avatar
0
4

The End.