Aijaz Soomro

Greenhorn
+ Follow
since Aug 31, 2002
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 Aijaz Soomro

dear friends, when i creat any object of java class,
like
<%
new Test();
%>
So, message come that,
An error occured between lines: 9 and 11 in the jsp file: /How.jsp
Generated servlet error:
E:\Tomcat\work\localhost\_\How$jsp.java:60: Class org.apache.jsp.Test not found.
new Test();
^
Please suggest me that where , i should save the Test.java File,in which directory , so, that it should be compiled Automatically
19 years ago
JSP
dear friends, when i creat any object of java class,
like
<%
new Test();
%>
So, message come that,
An error occured between lines: 9 and 11 in the jsp file: /How.jsp
Generated servlet error:
E:\Tomcat\work\localhost\_\How$jsp.java:60: Class org.apache.jsp.Test not found.
new Test();
^
Please suggest me that where , i should save the Test.java File,in which directory , so, that it should be compiled Automatically
Dear friends, i have created an odbc for SQL Server 2000, during jdbc, connection with databse is build, while, particular table is not accessible, an exception is thrown, while u know that using SQL Server first create data base, then come in that database, then use the tables of that database, while in jdbc there is only concept that creat odbc ,then use tables , so Pla tell me that how to,Select the Database ,and use the tables
dear 1.4 scjps i am also 1.4 certified i passed my scjp1.4 in sep 5 2002 with 85%, now my certificate is going to be expired on 5 sep 2004, so what should i do?
hi dear memebers of the group,
can any body tell me that, the exam named' upgraded version of 1.4 " is to for those who have passed 1.2 then they may upgrage or is it it self upgraded version of 1.4 exam for fresh candidates
i think , that there is option in the toolkit of nokia mobile internet toolkit, that enable the cookies, so u enable cookies,then ur session will work i think so
19 years ago
dear members of the forum,i am using the nokia mobile internet toolkit, when i submit the form ,to tomcat , i mean go throug the href link and post some fields having values of inputs of text , and post some fields to the server ,then the variables created for that form remain in the toolkit , and next time when i call the same card or wml file, like input text field then the fields are filled with the , old values due to not clearance of variables , so ,what is the way, so that, when i come back to form or input fileds , then i get the fields clear.
19 years ago
u should use this pattern

try
{
PreparedStatement pst=con.prepareStatement("Insert Into SavingAccountRecord(ACCOUNTNUMBER,BRANCHCODE,ACCOUNTTYPE,OPENDATE) Values(?,?,?,?)");
pst.setString(1,ACCOUNTNUMBER);
pst.setString(2,BRANCHCODE);
pst.setString(3,ACCOUNTTYPE);
pst.setString(4,OPENDATE);
pst.executeUpdate();
pst.close();
System.out.println(" registered");
}catch(Exception e)
{
try{con.close();}catch(Exception e2){System.out.println("connection not closed");}
System.out.println("could not register");
}
Context ctx = new InitialContext();
DataSource ds = (DataSource)ctx.lookup("jdbc/dsname"); //give the name of ur db connectionConnection dbConnection = ds.getConnection();
according to above example i have used the test , which is the name of my microsoft access connection ,build be odbc, there is the exception (no initial context exception )that jdbc/test is not bound in the context, so, any body can tell me that how to bind it in the context. while that connection name is working fine in simple connectivity.
Context ctx = new InitialContext();DataSource ds = (DataSource)ctx.lookup("jdbc/dsname"); //give the name of ur db connectionConnectiondbConnection = ds.getConnection();
according to above example i have used the test , which is the name of my microsoft access connection ,build be odbc, there is the exception that jdbc/test is not bound in the context, so, any body can tell me that how to bind it in the context. while that connection name is working fine in simple connectivity.
Any body can tell me that how to connect to the database without ejb datbase , i mean there is example, like
String dbString = "java:comp/env/jdbc/ZacDB";
InitialContext ic = new InitialContext();
DataSource ds = (DataSource) ic.lookup(dbString);
connection = ds.getConnection();

so, i want to connect my database , simple any.mdb,
so how should be connected, and what would be the dbString instead, of that above string
mr green hold could not understand the , problem, actually DataSource is the, feature for builtin connection booling, so, i am also still , looking that , how to connect throug DataSource to the normal database
I am designing a media player in java ,i have some examples of players.but there are javax.media.* package used. so can any one tell me that how i get this api,while i think in jdk1.3 it is not available.
19 years ago
I am designing a media player in java ,i have some examples of players.but there are javax.media.* package used. so can any one tell me that how i get this api,while i think in jdk1.3 it is not available.
19 years ago
thanks Peter den Haan for replying .
You gave me the both options for browser and frames. i am still confuesed to select one of the user interfaces. while there is no problem in implementing in both. but i need again suggestion that what would be the ideal and reliable user inter face either browser or frame.
which might be the standard too.
19 years ago