Win a copy of Microservices Testing (Live Project) this week in the Spring forum!

vishvar hariraman

Greenhorn
+ Follow
since Apr 04, 2006
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 vishvar hariraman

HI Everybody,

I am new to this swings.
pls friends clarify some things abt swings

i know v can create GUI using swings.
and v can insert an applet using swings into a html page.

Actually where we use swings.
only as GUI for stand-alone applications
OR can we use it on webbased programming.

With CoreJava ONLY can we create web based applications?

Thx in advance
Vishnuvardhan.H
16 years ago
hi everybody,

i m new to sql server and odbc connection
sql server functions well with login and password

but from a servlet,i am connecting to database.
for that i opened ODBC from adminstrative tools.
I added SQL server in System DSN tab, then I give DSN name.
In the drop down menu i cud not find 'local server' on the question "which SQLserver u want to connect it?".

Even then i typed local and proceeds the connection test failed.
wat s the cause for this error?
pls friens clarify this doubt

Thx in advance
Vishnuvardhan.H
hi

if i compile the files using command prompt it gets compiled,but using JCreator it shows the above errors.
Do I need to set the path of JCreator directory to CLASSPATH?
hi

I m working on windows.
In CLASSPATH i set to servlet.jar, not to servlet-api.jar.
I m using JCreator only.
How to set calsspath frm JCreator?
Whatever u told, i had done already, i suppose.
Wat wil be the problem?
hi

i m new to servlets jsp
i worked only on core java.for that i installed jdk.
now i installed apache tomcat4.1.
i wrote a servlet and wen compiling it gives error that

package javax.servlet does not exist.
package javax.servlet.http does not exist.
cannot find symbol class HttpServlet,etc...


In environmetn variables, i set PATH,CLASSPATH,JAVA_HOME,CATALINA_HOME.
wat shud i do to make servlets work?

pls friends clarify my doubt.
Hi everybody

i wrote a simple pgm.

class stringone
{

public static void main(String a[])
{

int y=6500;
byte b;
b=(byte)y;
System.out.println(b);
}
}


The output is 100.
Can anybody please explain what s happening?
how 6500 is converted to 100?


Thx in advance
16 years ago
Hi everybody

Where the Javacompiler will find the supporting classes?
PATH or CLASSPATH environment variable?
pls clarify

Thx in advance
Vishnuvardhan.H
16 years ago
Hi Everybody

In an Java application, how many public classes can I have?
Is it one or infinite?
Pls clear my doubt.

Thx in advance
Vishnuvardhan.H
16 years ago
Hi Friens

Class 'C' extends class 'B' which extends class 'A'.

all of these 3 classes have a method called 'test()' with same implementation.

if i need to call test() in class'A' from class'C', how i should call?

pls clarify this

THX
VISHNUVARDHAN.H
16 years ago
Hi Friens

Pls clarify to me

FILE1.JSP :
<%@include "FILE2.JSP" %>
<%@ page errorpage="ERROR1.JSP" %>
<% ...... %>


FILE2.JSP :
<%@page errorpage="ERROR2.JSP" %>
<H2>HELLO</H2>
<% ...... %>


See these two files.Both files have different errorpages.My question is what will happen whether wil it compile and show HELLO or wil it show any error?

THX
VISHNUVARDHAN.H
16 years ago
JSP
Hi everybody

I use a bean from jsp file and I m going to use jsp actions - setProperty as below.

<jsp : setProperty name="beanname" property="somecolor" >

I just left it without giving value or param.
Whether it will compile or will it take value as NULL?
Wat wil happen?

pls help me regarding this.

THX
VISHNUVARDHAN.H
16 years ago
JSP
Thx friens
Vishnuvardhan.H
Hi Everybody

After closing the connection with a database,can we use the ResultSet object to manipulate the data? whether the data is available in ResultSet object or not?
Resultset and statement objects correspond to cursor position in the database,I suppose.We explicitly need to close these objects.So memory leaks are avoided.

If we close DB connection directly without closing statement and resultset objects,still do we have problem of memoryleak? pls friens clarify regarding this


THX
---VISHNUVARDHAN.H




thx david
i got
------Vishnuvardhan.H
16 years ago
Excellent Response!!!
No words...

THX A LOT JON.
16 years ago