35,618 Topics

Member Avatar for
Member Avatar for Ankita B

hi, can you please give a step by step procedure on how to connect oracle database with jsp. I am new to the language and cant quite figure a way out.My first page is a user login and therafter username is used.How do i use sessions for this? Thanks in …

Member Avatar for jwenting
0
87
Member Avatar for Ankita B

thx..my first page is a login.in that user name and password are to be accessed from oracle database and then matched on button click.if match occurs then user proceeds to next page. So please help me out.I m getting very confused as to where to put what code..ryt from db …

Member Avatar for jwenting
0
104
Member Avatar for baheddad

hi .. plz anyone has an ideas for final projects that can i do it in java? and i hope in computer information system :idea: plezzzz

Member Avatar for baheddad
0
147
Member Avatar for mramrit

friends i got problem in connection between oracle and jsp as given in cracking codes in j2me in following codes <?xml version="1.0"?> <jsp:root xmlns:jsp="http://java.sun.com/products/jsp/dtd/jsp_1_0.dtd"> <main> <title>Branch Info</title> <%Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");%> <%java.sql.connection db=java.sql.DriverManager.getConnecton("jdbc:odbc:master","sa","amrit");%> <%java.sql.Statement st=db.createStatement();%> <%java.sql.ResultSet rs;%> <%rs=st.executeQuery("select item_code,quantity,unit_price form stock_mast;");%> <%while(rs.next(()){%> <%String name=rs.getString("item_code");%> <%int aId=rs.getInt("quantity");%> <%int uPrice=rs.getInt("unit_price");%> <item_code><%=name%><quantity><%=aId%></quantity><unit_price><%=uPrice%></unit_price></item_code> <%} %> <%rs.close();%> </main> …

Member Avatar for jwenting
0
112
Member Avatar for aksm

[code] hello! Can anyone plz tell me how 2 write z following php code into jsp..Thx in advance.. <?php $userid = $_POST["txt_login"]; $password = $_POST["txt_pwd"]; //Connecting to database include("db_connect.php"); if (($userid=='admin' OR $userid=='ADMIN') && ($password=='admin' OR $password=='ADMIN')) header( 'Location: http://localhost/MyWeb/admin.php?id='.$userid) ; else { $Rs = mysql_query("SELECT * FROM Users WHERE …

Member Avatar for peter_budo
0
339
Member Avatar for zaibitreg
Member Avatar for Ekta Midha

As we call easily Dll in ASP similarly , Is there any way to call Jar file in ASP Application ?

Member Avatar for Andryanus
0
51
Member Avatar for Andryanus

Hello everyone, Does anyone have experience accessing Java Jar Object with ASP? Please kindly advise. Thank you.

0
64
Member Avatar for Andryanus

Hello everyone, Does anyone have experience accessing Java Jar Object with ASP? Please kindly advise. Thank you.

0
47
Member Avatar for mrynit

I need to get a string from the console that is given in hex form like this: 3e900000. Then I need to convert it into bit so I can do bit wise thigns too it to generate the following out put: [QUOTE]3e900000 ==> 2^-2(1 + 2^-3)[/QUOTE] The above is a …

Member Avatar for mrynit
0
141
Member Avatar for arunpawar

I've found API Jfreechart for creating chart with java and Jcalendar for calendar purpose.I've downloaded them and i don't know how to use these external API packages into the program.I use Eclipse europa and sometime editpad as text editor. I want to know how to add such packages in my …

Member Avatar for jwenting
0
447
Member Avatar for Tom Tolleson

Hello! I'm a web developer who is taking on the creation of a desktop application as a side project. I need to hire someone to cerate the application. Knowing little, I want to make sure I'm choosing the right developer and language. All I know about Java is that it …

Member Avatar for Narue
0
96
Member Avatar for cms271828

Hi, I have an application, that has a JFrame. Added to the JFrame's contentPane is a JDesktopPane. I use JMenuItems in the JMenu (in JMenuBar) to add, and then remove a JInternalFrame inside the JDesktopPane. But now.. when I use any acclerator keys, to invoke JMenuItems, they don't work, its …

Member Avatar for cms271828
0
90
Member Avatar for xoron123

hello i am an absolute noob to java...took me about a day to work out how to compile a .java file to a .class file now i cant run the .class file in DOS can anyone help me plz :( the error i get is "Exception in thread "main" java.lang.NoClassDefFoundError: …

Member Avatar for xoron123
0
137
Member Avatar for KimJack

Hello All, I am trying to parse a text file with the following type lines: Mr. Jones has a "dog" and a "cat" I need to extract the dog and cat and put them into an array of Items. Here is the set up: character = read.read(); char first = …

Member Avatar for KimJack
0
200
Member Avatar for nljavaingineur

Hello fellow developers, Does anyone know why I keep getting this error message "illegal start of expression"? I've already checked my braces. They matched. Still.....[This is code for the basic operation of a calculator n my code is as follows] [CODE]public void button2_actionPerformed(ActionEvent e) { applyOperator('+'); } public void button14_actionPerformed(ActionEvent …

Member Avatar for electron33
0
144
Member Avatar for new_2_java

Hi all, I am reading values (user name and password) from user's input, and I need to mask the password which is entered by user in the command line... Can someone give me a hint which class do I need to look at? Appreciate your inputs. Thanks.

Member Avatar for new_2_java
0
161
Member Avatar for dmotah

hi, im new to java...and the rest like swing and all that stufss. i got a code but i want to change the applet a bit , i mean the way it is diplayed. ken u help. and yes i want wen i click exit button the applets closes and …

Member Avatar for electron33
0
111
Member Avatar for zafzal

can any one tell wat r de technique used to search a file in other node using bluetooth file sharing in mobile phone (how the searching technique or methodology used)

Member Avatar for jwenting
0
29
Member Avatar for ahmad usama

hello.....to all of you.... i m in urgent need of codeof download accelarator....if u kno plzz.....any link....tell me... byye...byeee....

Member Avatar for jwenting
0
278
Member Avatar for baheddad
Member Avatar for hidash_in

hi, i have a problem in accessing an application from the domain server. can any one is there to clear my problem./ Advance thanks hidash

Member Avatar for electron33
0
139
Member Avatar for muthumari

Hi , How to write the database connection(insert,delete or select query) within javascript function.Is it possible.Anyone can you help me Thank you

Member Avatar for Zhoot
0
194
Member Avatar for pradeep.singh28

hi friends, I am pursuing mCA final semester and i want to develop a project in JAVA using swing and applet, i have a good knowledge of core java and swing, so i want a good quality project where i can test myshelf,can you please help me in deciding the …

Member Avatar for jwenting
0
186
Member Avatar for Acidburn

Hey there, I've got a query when it comes to threads since im quite new. class A //default constructor.... //Contructs Class B which implements the Runnable interface. Class B //does some stuff. my question is theres 2 threads here, but what if i want Class B to wait for an …

Member Avatar for Ezzaral
0
84
Member Avatar for kennik

i just started my first IT job since graduating (I have not had a java class in 3 yrs due to going to school part time) and i have been givin a pretty easy assignment but i am having problems getting started. I pulled out my old school books and …

Member Avatar for kennik
0
91
Member Avatar for winbatch

Hi, If I have a JComboBox which has a list of Strings which can be selected, is there a way to insert a line/horizontal rule inside to indicate some sort of grouping of values? If so, how do I do it? (Also, the actual line ------ should not be selectable …

Member Avatar for masijade
0
214
Member Avatar for swanxst

Tracking Grades A teacher wants a program to keep track of grades for students and decides to create a student class for his program as follows: Each student will be described by three pieces of data: his/her name, his/her score on test #1, and his/her score on test #2. There …

Member Avatar for Ezzaral
0
2K
Member Avatar for chitra1
Member Avatar for chitra1
0
100
Member Avatar for raghu.8

hi i am creating travels project using .net with c#, and i am new to java scripting i have written a code to open a new window but i want open new window with in the page as we do dot net as respose.redirect("abc.aspx") in the same manner just look …

0
96

The End.