- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 8
- Posts with Downvotes
- 6
- Downvoting Members
- 6
A passionate software engineer. Software engineer by interest and tester by fate.
- Interests
- Programming,Testing,Football,Songs,Driving
- PC Specs
- Miscrosoft Vista(32-bit) Home Premium Service Pack 1Intel Core 2 DuoT6500 @ 2.10 Ghz2GB RAM
133 Posted Topics
Re: [code=html] <html> <body> <form> <input type="text" id="field1"> <input type="text" id="field2" ><br> Answer <input type="text" id="ans" onfocus="document.getElementById('ans').value=document.getElementById('field1').value*document.getElementById('field2').value" > </form> </body> </html> [/code] When you Click on the 3rd field, it will display the answer i.e. the product of the first field and second field. I hope this is what you wanted. … | |
Re: If you want to open the excel file in the same window the following steps can be followed: 1. Go to Windows Explorer. 2. On the Tools menu, click Folder Options, and then click on the File Types tab. 3. From the Registered file types list box, select the XLS … | |
Hey Guys, I am interested in web development but i am confused in which platform to choose, Java or .NET. I have done core java but i got to know from somewhere that Java is basically for software development and DotNet is specifically for web development but Java can be … | |
Hey Guys, I've made a couple of web pages and now i want to add a master page to all the pages. But when i tried to add the master page the following error occured "Content controls have to be top-level controls in a content page or a nested master … | |
Re: Conference Room Booking(Good for beginners) | |
Hi, I am trying to add content to an excel sheet using the below code. However, when I open the excel sheet, nothing is added. Please advice. public class StepNoToExcel { HSSFWorkbook wb = null; String fileName = "C:\\StepNoForEvidences.xls"; File file = null; StepNoToExcel() { file = new File(fileName); if(!file.exists()) … | |
Hi, I am trying to develop something but I am stuck. it's not about the code but about the implementation. The application captures screenshots and then inserts all the images in a RTF document. Now, the user is also supposed to write a one line description for each image inserted. … | |
Hi, I need to write a program which can decrease the free disk space. For eg, if the free disk space is 5GB, the application should ask the user how much space do you want occupy. Application should take the input eg, 2GB and decrease the disk space to 3GB. … | |
Re: > new Try using this: while (!(line = reader.readLine()).equals("<title>")) Not sure that the logic you are using will get the desired results. Try thinking over it again. | |
I have created an application which puts all the images at a user defined location in a rtf document. The code is working fine and the images are getting inserted. However, if I open the document and add some text manually and save the file, the file size increases dramatically. … | |
Hi, I created an application which allows a user to capture screenshots and save them as images at a pre-defined location. Now, I want to insert the saved images to a word document. I am aware of Apache POI, but that is still under development and it seems that you … | |
am trying to add images to a rtf document. I am able to add images to the document but I can't append any images. This means that when the 2nd Image is added, the first image is removed. I think that whenever the code is executed a new rtf document … | |
Hi, I am trying to create document using iText. I am using Eclipse IDE. I've imported the jar files (itextpdf-5.2.1.jar and itext-xtra-5.2.1.jar). However RtfWriter2 is not being recognised as a class. Document doc = new Document(); RtfWriter2 writer = new RtfWriter2(); RtfWriter2.getInstance(doc,new FileOutputStream("testRTFdocument.rtf")); Can someone help me in figuring out … | |
Hi, I've created a small application that allows the user to capture the screenshot and save the image at a user defined location. It also allows the user to capture the screenshot of the active window as well. The issue is with the active window. I have learnt that Java … | |
Hi, I have an application that is running in the system tray. It displays a popup menu when the user right clicks on it. I need to set shortcut keys for displaying the popmenu and also for the menu items. Is this achievable? If yes, then please advice. | |
Hi, I am trying to get a screenshot of the active window on the screen, for which unfortunately Java does not have an API. It allows me to capture the screenshot of the whole screen but not of the active window. Now, I did a bit of workaround but it … | |
Hi, I am trying to start to learn Delphi but I am unable to find any useful resources. I am not even able to find any IDE to download !!! I am very new to Delphi and need your help. Give me some tips to start from and then from … | |
Hi, I am getting an error "Illegal Start of Expression" on the following code: [CODE] obj.NoOfJumps(1, 2, 3, {1,2,3}); [/CODE] Here, NoOfJumps is a method defined in a class which does not have the main method. This method accepts 4 arguments namely 1)Integer 2)Integer 3)Integer 4)Integer Array Can someone please … | |
Re: What trouble are you facing? What error are you getting?? If you analyse the error closely then you might be able to debug. | |
Hi Everyone, What is the difference between a software getting installed on win xp and win 7? Is there any difference and if there are how can you check the differences? ![]() | |
Re: Schedule the process using Windows Task Scheduler i.e. if you are on Windows platform or the GNome Task Scheduler for Ubuntu. | |
Re: I agree with Peter on this. Everyone has their own reading pace and some books might help and some will not. My recommended book to start off java would be Complete Reference by Hebert Schidlt. It really helps you with the basic concepts. | |
Hi Guys, I was going through a [URL="http://www.daniweb.com/software-development/java/threads/374765"]thread[/URL] in this forum and there is one very good reply to this thread. In the past Ive never used such techniques to idetntify how many classes would I create in my program, thus my programs used to be complex. Can you suggest … | |
Re: Would you please give me the code for it..i m bit confused what to do in this program?? Hope this helps. import java.io.*; class sumNo { public static void main(String args[]) { int prevNum=0,currNum; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); char ch; try { do { System.out.println("Enter a number"); currNum=Integer.parseInt(br.readLine()); … | |
Hey Guys, I have the following code: [CODE] class A { int a,b; A(int i,int j) { a=i; b=j; } void showab() { System.out.println(a+" and "+b); } } class B extends A { int k=20; void showabk() { System.out.println("a="+a); System.out.println("b="+b); System.out.println("k="+k); } } class Test { public static void main(String … | |
Re: I am guessing that you will be creating this on JSP. For staters you could get help with below: 1)Users will register a username, password, and weblink to their account Create two textboxes namely 'username' and 'passwd', and one submit button. 2)There will be restrictions to the password in length … | |
Hey Guys, I have the following code. [CODE] public class Main { static int a = 3; static int b; static void math(int x) { System.out.println("x = " + x); System.out.println("a = " + a); System.out.println("b = " + b); } public static void main(String[] args) { math(100); } static … | |
Re: I am guessing that you havent even tried searching it for yourself. So my advise would be to first search yourself and then if you have nay problems, then we will be happy to help you. | |
Re: try list.length() | |
Hi, Can anyone tell me what is the problem with the below code: [CODE] String eleSrc=srcEle.toString(); String srcdata_list[]=eleSrc.split("-"); String eleDest=destEle.toString(); String destdata_list[]=eleDest.split("-"); int found=0; for(int i=0;i<srcdata_list.length;i++) { for(int j=0;j<destdata_list.length;i++) { if(srcdata_list[i].equals(destdata_list[j])) { found++; System.out.println("matches"); System.out.println("after matches"); break; } else { System.out.println("in else"); } } System.out.println("out of first for lopp"); if(found==0) … | |
Re: Well i think that JSP is much more secured than the other two. I hope some professional can clear this out. :) | |
Hi, I have two XML files namely (1)'message_gen.xml' and (2)'message_user.xml'. The (2) file is correct and the (2) is generated by an application. The (2) file should be same as that of the (1) file i.e. it should have the same elements, the same element content. I am currently using … | |
Hey Guys, Can anyone please provide me the link for downloading Visual Studio 6.0(Full Version) Thanks. | |
[CODE] #include<iostream> #include<conio.h> #include<string.h> using namespace std; int main() { char ch; do { char str[80]; cout<<"\nEnter The String\n"; gets(str); int len=strlen(str); for(int i=0;i<len;i++) cout<<str[i]; cout<<"\nContinue?\n"; cin>>ch; } while(ch=='y' || ch=='Y'); getch(); return 0; }[/CODE] On executing the above program, the loop asks "Continue?" only once and after that it … | |
Hey guys, Please tell me how to load data from an excel file to a mysql database using jsp. | |
Re: Recheck you code. The braces are not complete. | |
Re: You've missed out on a semicolon after 'die'. do this: .... or die(mysql_error()); This will not give an error | |
Hey Guys, I have a form which on submission inserts value to the database using ajax. But i want that after the values have been inserted the form should reload which means that i want only the form fields to be reset. Please tell me how to do this. | |
Hey Guys, Should i use hidden textboxes or session variables to pass values between various jsp pages?? | |
Hey Guys, I am making a Online Testing application. I have one form which sets the settings of the test. The values submitted by the user through this form is passed onto another page. On the second page the user submits questions and answers. Now i want the values submitted … | |
Hey Guys, I want to add options to a dropdownlist based on the selection of item in another dropdownlist. But i want the items to be retrieved from the database in the second dropdownlist and i want to do this using Ajax. Please suggest, if possible with some codes. | |
Hey Guys, I have often noticed that most times when we register to a website it asks for a long length password. Why is this so?? What not use shorter length passwords as it would be much more easier to learn. I hope i am not asking a silly question. | |
Re: Can you please brief us on the error that you are getting. | |
Hey Guys, I want to redirect a page to another page in JSP after a certain validation has been done using AJAX. If the validation is done it should redirect the user to another page but if validation is not done then it should remain on the same page. Please … | |
Hey Guys, I am using JSP with AJAX. After a certain JSP script is processed the output is sent to the responseText. Now, I want to check what output responseText consists so that i can perform further processing. For eg, I want responseText to contain"yes" or "no" and depending on … | |
Re: A web Developer but not an expertise in one technology. I have developed web applications on ASP.NET, PHP & MySQL and currently i am working on JSP. | |
Hey Guys, I am using Ajax with JSP.What I am trying to do is when the user enters a name and clicks on the button it goes to a jsp page. On the jsp page it is checked whether the name is present in the database or not. If it … | |
Hey Guys, I want to convert a character to it's bit representation. For eg: If i have the char 'J' then it's bit representation is '01001010'. Pleae tell how?? | |
Hey Guys, I want to use mySQL with java and for this purpose i downloaded the mysql-j connector from the mysql website. But i dont know how to poceed forward. Please help.. | |
Re: You can install IIS as follows: 1)Go to control Panel 2)Go to Add/Remove Windows Components 3)Check IIS n Click OK |
The End.