User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 391,654 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,800 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 49
Search took 0.01 seconds.
Posts Made By: Ankita B
Forum: JSP Apr 15th, 2008
Replies: 10
Views: 1,575
Posted By Ankita B
Re: save textbox value in session variable

I'm sorry for that but was just trying to say that it does not work.Also if you bother to read the entire thread I last posted then you'd see that I did ask for a different way to solve the problem.
Forum: JSP Apr 15th, 2008
Replies: 10
Views: 1,575
Posted By Ankita B
Re: save textbox value in session variable

<input type="textbox" name="AQC2_SOURCE_FILENAME" value="" />

<%session.setAttribute("srcfilename", request.getParameter("AQC2_SOURCE_FILENAME"));
String...
Forum: JSP Apr 10th, 2008
Replies: 10
Views: 1,575
Posted By Ankita B
save textbox value in session variable

Hi,
I wish to save value entered by user in textbox in a session variable.my form contains many elements and i need to navigate back and forth.so i want to save the value once entered by the user in...
Forum: JavaScript / DHTML / AJAX Mar 27th, 2008
Replies: 2
Views: 791
Posted By Ankita B
Re: selecting html table row for deletion

oops sorry:)..but i finally got how to do it..using radio button attributes..thanks
Forum: JavaScript / DHTML / AJAX Mar 27th, 2008
Replies: 2
Views: 791
Posted By Ankita B
selecting html table row for deletion

Hi,
I am trying to make a table that has following columns:
site id,txn id,txn name,target id,target db
there can be any number of rows in the table and each row has at least one different column...
Forum: JSP Mar 11th, 2008
Replies: 0
Views: 854
Posted By Ankita B
Help save selected radio button value in session scoped bean

Hi is there a way to save the selected radio box value into a session variable so that i can retrieve it and display on next page?..the selected value is displayed on the page but after navigation it...
Forum: JSP Mar 11th, 2008
Replies: 4
Views: 651
Posted By Ankita B
Re: values lost on navigetion to next page and back

Hi im getting increasingly frustrated with it now!!!..its not showin null pointer exception now but shows in textboxes only the last values in each table.

I need to know how can i put the selected...
Forum: JSP Mar 10th, 2008
Replies: 4
Views: 651
Posted By Ankita B
Re: values lost on navigetion to next page and back

Hi,Thx sos for ur help..i understand the idea bt m not able to implement in properly..
these are the files m using.
user.jsp-----

String upid = (String)enum.nextElement();
String upname =...
Forum: JSP Mar 7th, 2008
Replies: 4
Views: 651
Posted By Ankita B
Help values lost on navigetion to next page and back

Hi,
I have a jsp page (page1.jsp)which is in form of a table with 4 data items.Each of these is a separate function.,user,site,txn,target.
1)
user id........textbox
user name..textbox

find...
Forum: JSP Mar 7th, 2008
Replies: 3
Views: 723
Posted By Ankita B
Re: table with radio button and two coloumns

oh don bother i figured the problem..should be written as follows..bt thx anyway..:-)

<input type="hidden" name="namerad" value="">



finduser is the form name.
Forum: JSP Mar 7th, 2008
Replies: 3
Views: 723
Posted By Ankita B
Re: table with radio button and two coloumns

hey thx for the reply but its still not taking the value..onlu user id is being diaplayed..user name comes as blank..

perhaps somethin needs to be changed in---



thx
Forum: JSP Mar 5th, 2008
Replies: 3
Views: 723
Posted By Ankita B
Help table with radio button and two coloumns

thispage.jsp displays user id and name in a table format with radiobutton attached to each row....
while(enum.hasMoreElements())
{
String upid = (String)enum.nextElement();
String upname =...
Forum: JSP Mar 5th, 2008
Replies: 1
Views: 564
Posted By Ankita B
Help display db records in a list , select and submit

Hi,I want to develop a webpage (page1.jsp) that has 2 textboxes,user id and user name,and abutton find user.when i click on find user button ,all the user id and names must be displayed on next...
Forum: JSP Feb 27th, 2008
Replies: 6
Views: 1,603
Posted By Ankita B
Re: no going back once logged out

Hi..Thx for the replies.I do find them helpful.

Im writing this in a file signout.jsp where user is directed on clicking sign out------
<%
session.setAttribute("userid",null);
%>

anf performin...
Forum: JSP Feb 26th, 2008
Replies: 6
Views: 1,603
Posted By Ankita B
Re: no going back once logged out

I got the part to deny access without login.
Thx :)..bt how can i set session variable(userid in my application) to null after i sign out so that back button doesn't work or user is shown a page...
Forum: JSP Feb 25th, 2008
Replies: 6
Views: 1,603
Posted By Ankita B
Help no going back once logged out

Hi..I wish to prevent users from entering the web pages of my application again using back button once they've logged out.How can i achieve this?..I do not wish to use no-cache,history() etc as...
Forum: Java Feb 22nd, 2008
Replies: 3
Views: 527
Posted By Ankita B
Re: redirect to login page if url of some entered

ya this sounds pretty neat..thx..wil try doin so..
Forum: Java Feb 22nd, 2008
Replies: 3
Views: 527
Posted By Ankita B
Help redirect to login page if url of some entered

Hi,Im makin a web based application.For users to access it they need to login.
I m using java,jsp,html for this.I wish to know how can i prevent access to the pages of application without logging in...
Forum: Java Feb 22nd, 2008
Replies: 5
Views: 460
Posted By Ankita B
Re: retrieve from db and display in a jsp file

But im not takin name from the user..only user id and password.with this info i wish to display user name in the nxt page..
Forum: Java Feb 21st, 2008
Replies: 5
Views: 460
Posted By Ankita B
Help retrieve from db and display in a jsp file

Hi,I have a login page which accepts user id and password.On successful entry user navigates to next page.I wish to display a welcome message with user name like "welcome xyz!"..how can i get user...
Forum: Java Feb 20th, 2008
Replies: 7
Views: 533
Posted By Ankita B
Re: db configuration file

i found the error..had put driver etc names in the properties file under quotes..which is not required..
Forum: Java Feb 20th, 2008
Replies: 1
Views: 242
Posted By Ankita B
Help function code executing twice!

Hi,
I have written a piece of code to add site for my web based application.If the site entered is already present then flag should be false and it should exit from function.
If new site id is not...
Forum: Java Feb 19th, 2008
Replies: 7
Views: 533
Posted By Ankita B
Re: db configuration file

i used this properties file in my old java file.it takes value from properties file but is giving classNotFoundException..However when i use same driver ,url etc directly in the java class itself and...
Forum: Java Feb 18th, 2008
Replies: 7
Views: 533
Posted By Ankita B
Re: db configuration file

yup got it!..thx..:)
Forum: Java Feb 18th, 2008
Replies: 7
Views: 533
Posted By Ankita B
Re: db configuration file

ok thx..i put it directle in C: drive but when i give
props.load(new FileInputStream("C:\dbConnection.properties"));

im gettin compile time error --illegal escape character '\'...
Forum: Java Feb 18th, 2008
Replies: 7
Views: 533
Posted By Ankita B
Help db configuration file

Hi,I wish to make a configuration file for db connection parameters.
I read about properties file.I have made a properties file that contains the following info---

String...
Forum: Java Feb 15th, 2008
Replies: 1
Views: 465
Posted By Ankita B
Help access bean from another java class

hi,
I am making a web based application.There is a page where user can update his record.
For that when user clicks on modify button on one page(page1.jsp) the corresponding record is to be...
Forum: JSP Feb 13th, 2008
Replies: 4
Views: 848
Posted By Ankita B
Re: retrieve info frm db into textbox and edit

oh and one more thing..im taking user id in one page and checking if its valid...if so then the record corresponding to it is to be displayed in next page..now how would the class know which file to...
Forum: JSP Feb 13th, 2008
Replies: 4
Views: 848
Posted By Ankita B
Re: retrieve info frm db into textbox and edit

cool thx a lot..wil try it..
Forum: JSP Feb 13th, 2008
Replies: 4
Views: 848
Posted By Ankita B
Help retrieve info frm db into textbox and edit

Hi,
Im trying to modify user information on my site.for this im using java and jsp.when the user enters id,his info stored in db is to be retrieved and displayed in corresponding textboxes.
I know...
Forum: Java Feb 13th, 2008
Replies: 1
Views: 178
Posted By Ankita B
Help retreiving info from oracle db fields into textboxes

Hi,
Im trying to modify user information on my site.for this im using java and jsp.when the user enters id,his info stored in db is to be retrieved and displayed in corresponding textboxes.
I know...
Forum: JSP Feb 7th, 2008
Replies: 1
Views: 995
Posted By Ankita B
Help does request.getParameter() return string type only?

Hi,
I am tryin to insert values entered by user into oracle db.I am using jsp and java beans for this.request.getParameter() works fine for string parameters but what should i use for fields such as...
Forum: Java Feb 6th, 2008
Replies: 7
Views: 479
Posted By Ankita B
Re: db connection code showin error while executing

Hi,
the problem was not with the code..there was error in ip address of db server..it does not reside on my m/c so..had to use another ip address..
Forum: Java Feb 5th, 2008
Replies: 7
Views: 479
Posted By Ankita B
Help Re: db connection code showin error while executing

-------------------------------
HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server...
Forum: Java Feb 5th, 2008
Replies: 7
Views: 479
Posted By Ankita B
Re: db connection code showin error while executing

thx so much!!!..it wrked..but isnt displayin the query result..perhaps somethin wrong wit connection..
Forum: Java Feb 5th, 2008
Replies: 7
Views: 479
Posted By Ankita B
Help db connection code showin error while executing

Hi,
Im writin the followin code to connect with oracle database.im also using toad .I keep geetin errors even if i declare private String AQC1_UID = "";and so on..


import java.sql.*;

public...
Forum: JSP Feb 3rd, 2008
Replies: 8
Views: 1,125
Posted By Ankita B
Re: tomcat showin error while executing jsp file

Hi,
this is the html file----

<html>
<body>
<h2>Mathematical function</h2>
<font size=4 face="verdana" color="#112244>
<form method="post" action="calculate.jsp">
<input type="radio" name="r1"...
Forum: Java Feb 1st, 2008
Replies: 2
Views: 287
Posted By Ankita B
Help exception in thread "main"

Hi,
My java file is compilin fine but wont execute.
its a simple hello application.i have set classpath as .;C:\Program Files\Apache Group\Tomcat 4.1\webapps\myfolder\WEB-INF\classes;(even if i...
Forum: JSP Feb 1st, 2008
Replies: 8
Views: 1,125
Posted By Ankita B
Re: tomcat showin error while executing jsp file

Hey..i tried everythin you told.Even a simple java application that prints a statement is giving 'exception in thread "main" java.lang.NoClassDefFound exception'.but it comiples just fine.So this...
Forum: JSP Jan 30th, 2008
Replies: 8
Views: 1,125
Posted By Ankita B
Re: tomcat showin error while executing jsp file

hi,
the IT helpdesk guy installed it for me in office.how can i check if the path provided was to jdk or jre?..


anyway this is the jsp and java code im using..

1) HTML FILE

<html>
<title>
Showing results 1 to 40 of 49

 
All times are GMT -4. The time now is 1:31 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC