Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
72% Quality Score
Upvotes Received
12
Posts with Upvotes
10
Upvoting Members
9
Downvotes Received
5
Posts with Downvotes
3
Downvoting Members
5
4 Commented Posts
1 Endorsement
Ranked #858
Ranked #585
~199.44K People Reached
Favorite Tags

174 Posted Topics

Member Avatar for vegaseat

To us all towns are one, all men our kin, --[Kaniyan Poongunranar](http://en.wikipedia.org/wiki/Ka%E1%B9%89iyan_P%C5%ABngun%E1%B9%9Fan%C4%81r)

Member Avatar for Reverend Jim
15
13K
Member Avatar for samaru
Member Avatar for Patiodude

I don't thing primarykey statement creates error, I don't thing its is error in query, It may be #1046 - No database selected error,if so create database and select that try with that create database db_name; use db_name; CREATE TABLE example( id INT NOT NULL AUTO_INCREMENT, PRIMARY KEY(id), name VARCHAR(30), …

Member Avatar for surveypacific
0
885
Member Avatar for Anu_6

Hi Anu_6 , As per my understanding, regex is good choice for your requirement. To find a sentences start with a capital letter, first create a pattern ([A-Z]) and read a first word of the sentence then check with your pattern. -Anand

Member Avatar for anand01
0
284
Member Avatar for anand01

hi all , Am doing event management project. In jsp page am using javascript date picker. Then i passed that to servlet page by the following code. DateFormat formatter ; formatter = new SimpleDateFormat("dd-MM-yyyy"); Date date=formatter.parse(request.getParameter("date")); now I want to insert date in mysql database , How can I achieve …

Member Avatar for Sushmitha_1
0
9K
Member Avatar for rajilakshmi

hi rajilakshmi, to generate a pdf report we have jar file called iText.jar, Itext is a frame work which helps to mainipulate pdf files, take a look on the following example try { Document document=new Document(); PdfWriter.getInstance(document,new FileOutputStream("D:\\myfile.pdf")); document.open(); document.add(new Paragraph("This is my file")); document.close(); } catch (Exception e) { …

Member Avatar for shabeer_1
0
5K
Member Avatar for BHUJI
Member Avatar for anand01

Hi All, I want to generate report in a document format and the same should be converted in to pdf using JAVA. Can you please any one suggest me some libraries for the same. Thanks in advance Regards, Anand

Member Avatar for anand01
0
200
Member Avatar for anand01

Hi All, Good Day I need some clarification , When serializing the inner class alone(implements Serializable only for inner class) I am getting java.io.NotSerializableException: SerializeinnerClass. At the same time when I am serializing static inner class I am not getting that exception. can any one explain me. Thanks in advance …

Member Avatar for anand01
0
145
Member Avatar for #1 zamy

pls google it u can find lot of code for your requirement.If you have any error which u could not solve.post here people will help you.

Member Avatar for anand01
0
85
Member Avatar for rogerwar

hi you can create page with the mentioned option (Text,Images,Videos). Create an xml template or text property file which contain path of video/image url and text content. In new section you have to phrase xml/text file.Then write a appropriate logic to display the text/video/image. You can use db table too …

Member Avatar for anand01
0
189
Member Avatar for anand01

Hi all , Good Day! I am having confusion in storing null values in hashmap and passing null in println method. 1) When I add null value in hash map directly it will not allow at the same time when I assign a null value in to string and add …

Member Avatar for Taywin
0
315
Member Avatar for Matthew N.

dear Matthew You assigned float:right in second class, I think that is the problem use padding options [code] .class1 { float:left; border-right:2px solid #000; padding-right:5px; } .class2 { float:left; padding-left:5px; } [/code]

Member Avatar for nivabeath1
0
4K
Member Avatar for anand01

Hi all, I have developed application to to read xls file using JExcelApi. Now the requirement has changed that I want to read xlsx files.I know that Apache POI can resolve this but need to change complete reading logic. Insted of change the read logic is there any way to …

0
80
Member Avatar for anand01

Dear All, Recently I have updated jre 1.7 with update 55 in client machine. When I open a applet application form loading time increased up to 1 min. The same application is working fine in java 1.6. As of my understanding this happens because of certificate revocation checks. When I …

Member Avatar for anand01
0
169
Member Avatar for anand01

Hi all, I have employee class which I have 100 variables with getters and setters. now I am passing employee object to processing method. Now I want to read all values in processing method. Should I want to use getter for all member? Is there any way to achieve this. …

Member Avatar for JamesCherrill
0
291
Member Avatar for KushMishra

Though learning none hath he, yet let him hear alway: In weakness this shall prove a staff and stay. --[Thiruvalluvar](http://en.wikipedia.org/wiki/Thiruvalluvar) Explanation Although a man be without learning, let him listen (to the teaching of the learned) that will be to him a staff in adversity.

Member Avatar for ddanbe
1
737
Member Avatar for anand01

Hi all, If we implementing an interface then is that should be inheritance? Kindly any one clarify my doubt

Member Avatar for jwenting
0
183
Member Avatar for anand01

hi all, As of my understanding hash set will not allow duplicates. But when I add two different object of same class with same value it is accepting, at the same time same object with different values are not accepting.Kindly clarify me Senario-1 TestBean testBean = new TestBean(); testBean.setId(1); testBean.setId(100); …

Member Avatar for JamesCherrill
0
234
Member Avatar for anand01

Hi all, I have deployed an application(.war) in jboss6 in linux machine. Now I am able to access the url inside network. If I want to acces the same in internet (out side the network) what should I do . Do I need to follow some other technique to deploy. …

Member Avatar for peter_budo
0
96
Member Avatar for debasisdas

Tis ruin if man do an unbefitting thing; Fit things to leave undone will equal ruin bring -Thiruvalluvar

Member Avatar for James_28
8
17K
Member Avatar for anand01

Hi all, I am having two different jsp files which having different applet embedded it. I want to run both jsp files in different jre in the client machine. kindly help Thanks in advance

Member Avatar for anand01
0
191
Member Avatar for kumar89hitesh

Dear Kumar, Xml has designed to carry data,not to display data and you can define your own tags. If you have clarification on particular, elaborate your question. If you pharse a proper question with proper words you will get more replaies

Member Avatar for jwenting
0
121
Member Avatar for sathya88

Hi sathya88, if you want to learn MVC just check [this](http://www.daniweb.com/web-development/jsp/threads/141776/jsp-database-connectivity-according-to-model-view-controller-mvc-model-2)

Member Avatar for anand01
0
219
Member Avatar for anand01

I have problem with jinitiator. I am using Oracle ERP forms which runs on Jinitiator.When I access some other java applet application at the same time it runs in the JRE in and works fine. When I pass the same java applet application in ERP through a link , I …

Member Avatar for jwenting
0
196
Member Avatar for hitro456

hi hitro456, There are lot of xml parsers available, just look at the sample example for jaxb. http://www.mkyong.com/java/jaxb-hello-world-example/

Member Avatar for anand01
0
197
Member Avatar for tayspen
Member Avatar for mrnutty
Member Avatar for Reverend Jim
0
685
Member Avatar for anand01

Hi all, I have problem with mb spring application I want to configure my url,my url should be like this **www.site.com/admin/login, www.site.com/admin/addproduct** I tried following way , its working fine, <servlet-mapping> <servlet-name>dispatcher</servlet-name> <url-pattern>*.do</url-pattern> </servlet-mapping> but when I changed like this <url-pattern>/</url-pattern> my images are not loading Any one could help …

Member Avatar for LastMitch
0
104
Member Avatar for sunnykeerthi

I think we dont have any method like request.getParameters(). it is getParameter(). Show your code then only we can help

Member Avatar for subramanya.vl
0
785
Member Avatar for anand01
Member Avatar for jalpesh_007
0
143
Member Avatar for anand01

Hi all, I know that Vector is synchronized, when I run the following program public class ClassA extends Thread{ static Vector<Integer > v=new Vector<Integer>(); public void run() { callMethod(); } public void callMethod() { System.out.println(v.size()); v.add(0); System.out.println(v.size()); v.remove(0); } public static void main(String[] args) { for(int i=0;i<1000;i++) { ClassA a=new …

Member Avatar for anand01
0
187
Member Avatar for kumar0559
Member Avatar for jalpesh_007
0
5K
Member Avatar for Pyler

> public box(String str1,str2) this will show error constructor is similar like methods each argument has its own type [check this](http://docs.oracle.com/javase/tutorial/java/javaOO/constructors.html)

Member Avatar for JamesCherrill
0
132
Member Avatar for aiwasen

> int a = request.getParameter("num1"); > int b = request.getParameter("num2"); here a and b are integer variable, request.getparameter() method will return integer value, change those variable type as string > Integer.parseInt this method reuqires string as argument

Member Avatar for jalpesh_007
0
2K
Member Avatar for Yogeshp
Member Avatar for Mas49er

hi Mas49er, Could you show some of your code, without knowing how you tried we can't answer your question

Member Avatar for richieking
0
240
Member Avatar for mez.ali.779

hi mez.ali.779, just see your deployment descriptor(web.xml) they may write configuration in url pattern, probably they are using mvc framework

Member Avatar for anand01
0
133
Member Avatar for bipi09

hi bipi09, when you asking question , show some of your code and tell where you getting error

Member Avatar for anand01
0
56
Member Avatar for Yarra

google it you will get lot of programs this will help study , If you want the program search it in google http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics.html

Member Avatar for Taywin
0
110
Member Avatar for anand01

Hi All , I need to get multiple result from same table my table structure is id category parentid 1 dress 0 2 men 1 3 mtshirt 2 4 women 1 5 wtshirt 4 If I give wtshirt it should produe result as wtshirt-men-derss how can I write query for …

Member Avatar for anand01
0
203
Member Avatar for fularipk

hi fularipk, if you are using netbeans glassfish will be default server, The thing is net bean just Ide , Once we developed web application we need to install it in server, We have plenty of option for that jboss,apache tomcat,glass fish etc...After instalation we need to run it in …

Member Avatar for rotten69
0
2K
Member Avatar for anand01

Hi all, I have created web application, I have converted as .war ,now i need to deploy it in apache-tomcat-7.0.16, Have pasted that war file in apache-tomcat-7.0.16\webapps but I cant acces that file ,its shows resource not available(404 error ) Could some one help me thanks in advance

Member Avatar for anand01
0
110
Member Avatar for erica86
Member Avatar for stultuske
0
246
Member Avatar for jerin francis
Re: jsp

hi jerin francis, could you show some of your code then we can help U

Member Avatar for anand01
0
58
Member Avatar for kenth21v

my sugesstion is to learn java, don't use any IDE, just go with noteapd, If you want to create java applications we have lots of IDE, Eclipse and Netbeans are popular amoung them. You can download java here http://www.oracle.com/technetwork/java/javase/downloads/index.html

Member Avatar for kenth21v
0
236
Member Avatar for yup790

hi yup790, ya you need lot of practice, we can refer oracle documentaion also,Just take one real world problem based on the problem write code you will learn lot of things

Member Avatar for godzab
0
100
Member Avatar for dart.suresh
Member Avatar for dart.suresh
0
368
Member Avatar for anand01

Hi all, How could we validate that given string should only contains alphabetic characters, pls share some ideas, thanks in advance

Member Avatar for anand01
0
108
Member Avatar for casey.pulsifer.5

purchase doimain and server , once you buy the servere space they will give ftp control panel , lot of tools for hosting, one of it [filezilla](http://filezilla-project.org/download.php/)

Member Avatar for anand01
0
56

The End.