- Upvotes Received
- 12
- Posts with Upvotes
- 10
- Upvoting Members
- 9
- Downvotes Received
- 5
- Posts with Downvotes
- 3
- Downvoting Members
- 5
174 Posted Topics
Re: 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) | |
Re: 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), … | |
Re: 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 | |
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 … | |
Re: 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) { … | |
Re: Any one can explain the logic .... I am not able to understand the logic.... | |
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 | |
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 … | |
Re: 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. | |
Re: 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 … | |
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 … | |
Re: 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] | |
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 … | |
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 … | |
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. … | |
Re: 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. | |
Hi all, If we implementing an interface then is that should be inheritance? Kindly any one clarify my doubt | |
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); … | |
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. … | |
Re: Tis ruin if man do an unbefitting thing; Fit things to leave undone will equal ruin bring -Thiruvalluvar | |
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 | |
Re: 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 | |
Re: 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) | |
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 … | |
Re: 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/ | |
Re: anand is my name it means Happy and 01 is my roll no in school,college | |
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 … ![]() | |
Re: I think we dont have any method like request.getParameters(). it is getParameter(). Show your code then only we can help | |
Hi all, I need to deploy my application as https could any one help how can I do that | |
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 … | |
Re: dear kumar0559, show some of your code which you have tried, then you will get lot of reply | |
Re: > 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) | |
Re: > 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 | |
Re: hi Yogeshp, your question sounds like should use Ajax, could your code how you tried | |
Re: hi Mas49er, Could you show some of your code, without knowing how you tried we can't answer your question | |
Re: hi mez.ali.779, just see your deployment descriptor(web.xml) they may write configuration in url pattern, probably they are using mvc framework | |
Re: hi bipi09, when you asking question , show some of your code and tell where you getting error | |
Re: 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 | |
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 … | |
Re: 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 … | |
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 | |
Re: check [this](http://www.tutorialspoint.com/java/java_loop_control.htm) | |
Re: hi jerin francis, could you show some of your code then we can help U | |
Re: 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 | |
Re: 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 | |
Re: hi dart.suresh, with out your code its very hard to give the solution | |
Hi all, How could we validate that given string should only contains alphabetic characters, pls share some ideas, thanks in advance | |
Re: 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/) |
The End.