gayathriy Nandakumar

Greenhorn
+ Follow
since Jul 11, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by gayathriy Nandakumar

Hi
I am new to struts application and have started with trying out the first example given in "Struts in Action" (by Ted Husted and others).
The error that i get is: Cannot retrieve mapping for action /register
can somebody help me with this??
thanks
gayathriy
17 years ago
hi all
i have created a simple jsp application in weblogic platform to authenticate the customerid.The user interface that recieves the id is written in html page..and the i am trying to authenticate the recieved id in jsp page and display a error page in jsp..my problem is how do i deploy the jsp application in weblogic platform...like how do i redirect my html page after getting the id to the jsp page that authenticates the customer??

here is the code:
LoginErrorPage.html
<html>
<body>
<form method=post action="AuthenticateCustomer.jsp">
<font size=4 face="Verdana" color=#120292>
<marquee>Online Banking System</marquee>
<br>
<br>
<table cellspacing=5 cellpadding=5 bgcolor=#959999 colspan=2 rowspan=2 align="center">
<tr>
<td>Bank Customer Authenticate Form</td>
</tr>
<tr>
<td>Enter Customer id:</td>
<td><input type=text name="uname"></td>
</tr>
<tr>
<td>Enter Password:</td>
<td><input type=password name="password"></td>
</tr>
</table>
<br>
<table align="center">
<tr>
<td><input type="submit" value="Login"></td>
<td><input type="Reset" value="Cancel"></td>
</tr>
</table>
</font>
</form>
</body>
</html>

AuthenticateCustomer.jsp
<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ page errorPage="LoginErrorPageJsp.jsp"%>
<%@include file="LoginErrorPage.html" %>
<html>
<body>
<font face="verdana">
<%
String user=request.getParameter("uname");
int customerID=Integer.parseInt(user);
String pass=request.getParameter("password");
if(customerID ==1010 && pass.equals("parvathi"))
{
out.println("Welcome to Online Banking");
%>
<br>
<br><%
out.println("Login Successful");
}
else
{
out.println("Login Unsuccessful");
}
%>
</font>
</body>
</html>


</body>
</html>
My Question is how do i map or redirect the html page to jsp page using weblogic platform??
thanks
gayathriy
[ November 18, 2006: Message edited by: Bear Bibeault ]
17 years ago
hi
i am creating an application using jsp & servlets...In my application,i need to capture the input details from two jsp pages..so i use session object ..Initially i capture the data from the first jsp using javabean and redirect to the servlet to second jsp and get the secong page details in second servlet and redirect the second servlet to the output jsp..
here in jsp(i call the servlet1 in action tag of jsp1 & servlet2 in action tag of jsp2)
my problem is:jsp pages are not calling the corresponding servlet and processing)
can anybody help??
thanks
17 years ago
Hi
Can anybody tell me the links or suggest me some books which describes only sample applications (eg,banking,insurance,E-Commerce etc)that were developed using J2EE...
Thanks
17 years ago
Hi
Can anybody tell me the links or suggest me some books which describes only sample applications (eg,banking,insurance,E-Commerce etc)that were developed using J2EE...
Thanks
17 years ago
hi
i am new to java and using Eclipse tool..please recommend me about books that will help me understand the tool better.
Thanks
17 years ago
Hi there.. i would like to know if there is GUI tool available...Would anybody help me finding it out..
thanks
gayathriy
17 years ago
hi.. consider
StringBuffer codestring="abcdefghijkl"..for each element in codestring how do i swap it with the element of a randomly generated index
17 years ago
hi.. i have a question regarding Swapping of characters in a string that uses stringbuffer..
like
StringBuffer codestring="abcdefghijkl"..how do i swap the char 'a' with 'd' in the string so that final string is like..
codestring="dbcaefghijkl"..
17 years ago
hi..how do i find index number of one character in a string that uses StringBuffer to store the string???(as StringBuffer has only indexof(String) and not indexOf(char))

StringBuffer codestring=new StringBuffer("abcdefghijklmnopqrstuvwxyz");
int cs=codestring.indexOf(c);
17 years ago
hi..i am trying to swap a string with the randomly generated index here..plz help me in debugging..


public class stringarray
{
public static void main(String [] args)
{
StringBuffer codestring=new StringBuffer("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz");
for(int i=0;i<codestring.length();i++)
{

int r=(int)(Math.random()*43);

char temp=(codestring.charAt(i));
codestring.charAt(i)=codestring.charAt(r);
codestring.charAt(r)=temp;
System.out.println(codestring);

}}
}
17 years ago
how do i swap each element in a string with the element of a randomly generated index???
17 years ago
Hi ..i am working with Strings and i have a requirement where i have to create a unique number for each string entered without the help of built-in functions and i have one more question...how do i get the ascii number for each character in a string??
thanks
17 years ago
hi...i am new to java programming..using string array how do i create a unique number for each string entered so that i produce that unique number for the infinite number of times when the same string is entered
17 years ago
hi..how do i create a unique number for each string entered by the user and display it..
17 years ago