Sree kanth

Ranch Hand
+ Follow
since Feb 02, 2005
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 Sree kanth

Hi,
This is the error which i am getting while compiling a file which imports the package and uses the class "Factorial"
----------------
TestFactorial.java:6: cannot access Factorial
bad class file: D:\Shyam\fact\Factorial.class
class file contains wrong class: fact.Factorial
Please remove or make sure it appears in the correct subdirectory of the classpa
th.
Factorial facObj=new Factorial();

-----------------
I have set the classpath as follows
set classpath=%classpath%;d:\Shyam;.
where my package "fact" lies in D:\Shyam.

What might be the problem

Rgds
Sree
^
16 years ago
Hi all,

I have created a new package.
now... do i need to create a new folder where i hve put the class file, or will it be automatically generated when i compile the file?


Rgds
Sree
16 years ago
Hi all

is it possible to kill a main thread before killing the threads which have been created in the main thread.
When the parent thread is killed, will it kill the child threads

Rgds
Sree
Hi all

This is regarding a problem after installing J2ee 1.4.1. I know that this is not to posted in servlets.I dont know where to post this.

Problem: After installation I am not able to run the server in any users other than the administrator. I even created a user of administrator type, but still i am not able to run the server. It is not even displaying
"sun Microsystem" short cut under programs of start button. What might be the reason? How do i solve the problem?

Rgds
Sree
17 years ago
Hi

Sorry for the delay

I am using sun app server (J2ee1.4) as web server as well as EJB Server

Rgds
Sree
Hi all
I have bean and a Servlet which accesses the bean. But the bean is in another server. How do I mention the ip address of this machine in my servlet.

Thanks in advance

Rgds
SREE
Hi all
I have two doubts

1. Can an entity bean be a statefullsession bean also?

2. In J2EE 1.4 in CMP will the containor generates set and get methods automatically?Why do we require this new change at all?
Thankyou verymuch Nadeem.
I got it and now its working

Rgds
Sree
Hi all
I have installed J2ee sun app server in my machine using the exe file given below
"j2eesdk-1_4_02_2005Q2-windows.exe"

I am not able to find JNDI tab to give JNDI name for my Bean.
How do i give a JNDI name in this version on sun app server

Thanks in advance
Rgds
Sree
No. i am using java 1.4 only for everything
Rgds
Sree
18 years ago
Hi all
I created a webservice which i could successfully deploy. but when i tried to compile my client it is showing an error as follows.
--------------------
HoroscopeClient.java:14: cannot access staticstub.HoroscopeInterface
bad class file: .\build\staticstub\HoroscopeInterface.class
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
HoroscopeInterface hface=(HoroscopeInterface)stub;
1 error
-------------------
*******************
following are the pakages involved in my webservice

I have a directory named HoroscopeWS which contatins the following

1. config.xml
2. HoroscopeImplementation.java
3. HoroscopeInterface.java
4. HoroscopeWebServiceWar.war
5. build (A directory)

build directory contains the following

1. HoroscopeWebService.wsdl
2. mapping.xml
3. horoscope(A package)

horoscope contains the following

1. HoroscopeImplementation.class
2. HoroscopeInterface.class
****************************

Following are the packages involved in the client application

I have a directory named static-stub which contatins the following

1. build(A directory)
2. config-wsdl.xml
3. HoroscopeClient.java

Build contains

1. staticstub (A package)

staticstub contains
1. HoroscopeInterface.class
2. HoroscopeInterface_getSunSignTrait_RequestStruct.class
3. HoroscopeInterface_getSunSignTrait_RequestStruct_SOAPSerializer.class
4. HoroscopeInterface_getSunSignTrait_ResponseStruct.class
5. HoroscopeInterface_getSunSignTrait_ResponseStruct_SOAPBuilder.class
6. HoroscopeInterface_getSunSignTrait_ResponseStruct_SOAPSerializer.class
7. HoroscopeInterface_Stub.class
8. HoroscopeWebService.class
9. HoroscopeWebService_Impl.class
10. HoroscopeWebService_SerializerRegistry.class

What might be the reason for the error

Thanks in advance
Rgds
Sree
18 years ago
Hi all
I am retrieving data from two tables in my application and I am using norman database connectivity methods. One of my table is having abt 600 records and the other one might even exceed a lakh. Recently I heard that if XML is used to do DB operations it will be faster. Is this true. What will be the performance difference if i am using XML for my tables with 600 and 1 lakh record.
Please help me

Rgds
SREE
Thank u so much BEN.
Now it is working.
But why such a restriction is required?


Rgds
Sree
18 years ago
JSP
HI

MyClass is in the default package


Rgds
Sree
18 years ago
JSP
Hi all

How do I pass a POST REQUEST using HREF.

ie:
<a href="abc/xyz.aspx?name=sss®no=3344">3344</a>
I want to to request for xyz.aspx using POST method. How do I specifiy METHOD=POST?

PLEASE HELP ME

RGDS
SREE