bhavit pant

Greenhorn
+ Follow
since May 22, 2012
bhavit likes ...
Eclipse IDE Oracle Java
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
3
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by bhavit pant

hey guys, i need to mock a blob data in XML. which is defined as

How can i Mock it . i have to use a Mock database as Xml
i am using Junit/ (DjUnit for Coverage)
11 years ago
done txx..gurus for your help
11 years ago
file not found exception, null pointer exception
11 years ago
sorry for the sub standard post,
-> what is happning is a file named as currrent date is created , and mkdir() call is returning false(i wonder why??).
11 years ago

thanks for the reply sir, even after creating a dir, and trying to write onto that, , this ain't working...
used this constructor
public File(String parent,
String child).. form IO api..
11 years ago


1->this code works perfactly fine. i triedto make A little modification , i want image to to be saved in a folder specified by date, but this is not working, i tried to create a dir, but dont know how to save it in a that dir(in every 10 mins).
please help.
11 years ago


in my project they have mapping in this way, i found type parameter quite strange , goggled it , read about some struts spring plugin, can anyone give me a little idea why it is done in this way, or what is this...>
11 years ago
hey i am trying to learn ibatis,
i getting the exception as above.
this is ``snapshot of what i did please help where i am wrong.



this is SqlMapConfig


this is main java file

this is what inside java main


this is the detailed exception report

com.ibatis.common.jdbc.SimpleDataSource@2bb514
Going to read record.....
Exception in thread "main" com.ibatis.sqlmap.client.SqlMapException: There is no statement named getAll in this SqlMap.
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.getMappedStatement(SqlMapExecutorDelegate.java:231)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:558)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:541)
at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:118)
at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl.java:94)
at com.test.IbatisResultMap.main(IbatisResultMap.java:19)




hi, i wanna know if it is possible to have a online repository just as we do in offices,
how to configure it in eclipse, i want to work in a project with mah friends,
i tried doing it myself but all in vain, please help, guide,
i tried to host my project in code.google, and assembla.com, but dont know how to connect it with my eclipse
tx
hello ranchers,


in the above code constant is not resolving, which class do i have to import for this,
and one more thing rather then setting user session attributes in this way can i set it in this way session.setAttribute("username", uid);
11 years ago
HEY ALL , I AM TRYING TO LEARN SSL IMPLEMENTATION. SO FROM THE SITE APACHE_SSL
I AM USING JSSE CONNECTOR, I HAVE ALSO MADE MY CERYIFICATE USING CODE PROVIDED IN THE ABOVE SITE,
THIS IS THE SERVER.XML in my tomcat 7.0 lib, i am not able to figure it how to make it run using https:\\localhost:8443
please help and guide thank you
11 years ago
hello ranchers

for a self-signed certificate, you do not have to submit anything to a CA. Yes, it is possible to create your own internal CA and then submit your CSR to that, but it is not required in using a self-signed CA.
Read this page:



just want to know that can i use/ create my own certificate, to be used as a demo/prcetice work on SSL implementation, is there any specific tool for that, and how to configure tomacat 7.0 for that.. ???

thank you
11 years ago
:banghead:
hey all sorry if i am repeating ths topic again, but i could'nt find any help( may be i could'nt understand)
please hav a look , i want a logout button , onclick of which i redirct it to a Action class, once logged out, if i click back i get the information as it was. please suggest me a good cache control technique

this is the java action class
11 years ago
JSP
@myyron latorilla : thanks man it works fine now.. thanks a lot
11 years ago
yes i am including .. see this file in same project which i made to check jdbc problems is working fine

i am confuseed why i am getting class not found error. if this is working
11 years ago