vianyrajnish rajnish

Ranch Hand
+ Follow
since Apr 22, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by vianyrajnish rajnish

hi all,

does anyone have equivalent code for codePointAt in java 1.4 ..?

thanks,
vinayrajnis
16 years ago
hi all,

does anyone have equivalent code for codePointAt in java 1.4 ..?

thanks,
vinayrajnish
Hi all,

I have a parent-child relation between tables in oracle .

Is there any way to get all the child records by giving the primary key of the parent table.

can any body give an idea to me ....

Thanks
Vinay rajnish
Hi,

getClass().getResourceAsStream("xxx.properties")

i tried this too.. which returns inputstraem object ..but invain.


any suggestion

thanks ,
vinay rajnish
Hi,

I am writing a java file in a package like com.abc to read the database
and created a properties file xxx which has user , password ..etc all db information and placing in the same package ...com.abc

but i am getting the file not found exception.. why? its not finding the properties file .

this is the java code i am writing in java file

Properties properties = new Properties();
properties.load(new FileInputStream("xxx.properties"));

where should i place the java file .

can anyone please help as i am beginner

Thanks ,
vinay rajnish
hi ,

i want to display "more>>" using javascript when the contents in the tables <td> exceeds

can any one help me ...fast

thanks
vinay rajnish
hi ,

i want to display "more>>" when the contents in the tables <td> exceeds

can any one help me ...fast

thanks
vinay rajnish
hi,

i like to know .. why service() accepts httpservletrequest and httpservletresponse both ....when only httpservletrequest is enough..?



please reply me anyone

thanks,
vinay rajnish
16 years ago
hi ,


But hibernate too has the transaction maintainence capability ....


then which one to use....


first of all I want to know why the session beans are used ....we can directly access hibernate components from th Action , BD , DAO.

please help me ....confused

Regards,
vinay rajnish
hi,


what exactly dialect doing in the hibernate .....

why can't we use Drivers itself ......?







thanks

vinay rajnish
hi,

i want to know do i need to maintain transaction in Session Bean or Hibernate

if my project is having this architechture in order.


jsp , action servlet , request processor , action , business delegate, session bean, dao , hibernate components, then database .


1..which one is better ?
2..or it is mandratory to maintain in session bean ?

thanks,

vinay rajnish
hi,

1... what code will be there in init() and destroy() (overridden method from Servlet interface) of GenericServlet . ?

scenario::::

if override the destroy() of the GenericServlet in our own servlet class
like .... class Myservlet extends HttpServlet
{
.... here override destroy method
}

2. In this case, Is that destroy() of Myservlet class will be called by container?
3. is there any case like init(servletconfig) calling init() in GenericServlet ?... i mean destroy of Myservlet an call destroy of Genericservlet ..with super.destroy()?




Thanks,
VinayRajnish
16 years ago
hi ,

can we use abstract and interface keywords together ....

beccause in servlets --- public abstract interface Servlet { .... }

is there ....

please tell me can we use this like ..and describe please

Thanks,
vinay rajnish
16 years ago
hi,

can constructor have the return statement..?

thanks,
vinay rajnish
Hi all,

Can anybody suggest some links of tutorials for .. junit testing on core, servlet and jsps...


Thanks ,
Vinay Rajnish
17 years ago