No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I need to write a code in which i want to create each file for every iteration of a loop add data into the file. also the filename should change every time. for example: familyname1_parts.txt for 1 iteration for second familyname2.parts.txt for 2 iteration and so on.. [CODE]try { out … | |
Hi, can anybody tell me how to send mail from smtp to different email-id s like gmail,yahoo rediff from my java application. I am able to send mail from my machine within the company email-ids but not on other , if i put gmail or yahoo address im getting this … | |
Hi All, I m trying to send a simple mail... but not able to send because of this exception [CODE]thread "main" javax.mail.AuthenticationFailedException:[/CODE] and the problem is in this line here is the simple java class for sending mail [CODE]public class SendMailUsingAuthentication { private static final String SMTP_HOST_NAME = "tx.technoinfo.in"; private … | |
HI All, I am not able to run a jar file in UNIX. I have a shell script which is throwing this error. [CODE]Exception in thread "main" java.lang.NoClassDefFoundError: dao/Demoface[/CODE] classpath no issues as i am executing all files in the same directory named scripts folder whch has all jars files … | |
Hi All, I am able to connect to the database from backend that is toad.But from the java application i can't . The error is from the line [CODE]Connection conn = DriverManager.getConnection ("jdbc:oracle:thin:@vrs1.india.mitey.com:1591:dapps");[/CODE] I am getting the following error: [CODE]Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 7 at oracle.security.o3logon.C1.r(C1) at oracle.security.o3logon.C1.l(C1) at … | |
Hi all, i have applied 3 fromulas for the same cells so conditojnal formating is not working for 1 condition. formula i have given is [CODE]$C$12="test1" then format cells C10:C11 =$C$12="test2" then format cells C10:C11 =$C$26="NO" [/CODE] then format cells C10:C11 in these only 2 conditons are working 3rd condition … | |
Hi all, I am getting exceptions while downloading Excel template. i think the problem is in one sheet if i remove that sheet i am able to download with some vb error messages like cannot read file etc., As per my knowledge in vb code for downloading i have changed … | |
Hi All, If i protect a sheet then I am getting this runtime error stating Run time error '1004' Application-defined or object-defined error Its not highlighting where is the error .. can anybody help me please i have deadline by today evening.. thanks | |
Hi all, I have a core java application, I am getting the below exception when ever i run this application. I have a java file named Oracpt.java which takes all variables like username password and url from setttings file which from config file. becoase of this below exception im not … | |
log.info("Able to establish mail session"); props.setProperty("resource.loader", "class"); props.setProperty("class.resource.loader.class", "org.apache." + [CODE]"velocity.runtime.resource.loader.ClasspathResourceLoader"); props.setProperty("file.resource.loader.path", "/"); Velocity.init(props); Template template = Velocity.getTemplate("MarketingAlert.html"); log.info("Able to find Template."); VelocityContext vContext = new VelocityContext(); vContext.put("url", url); vContext.put("userId", createdBy.toUpperCase()); vContext.put("appName", applicationName); vContext.put("custName", customerName); StringWriter writer = new StringWriter(); template.merge(vContext, writer);[/CODE] IM working on enhancement...im getting the below exception: … | |
i ve 1 table named 'A',it contains many attributes in 1 attribute the values are stored like this [COLOR="Red"]"Q108:5380;Q208:5380"[/COLOR] this data present in table 'A' should be entered in table named 'B' in two fields named B1,B2 as B1 B2 Q108 5380 Q208 5380 like this in two columns this … | |
hi, i have one table called EMP with 3 fields SSN,ENAME,MGRSSN. query to retrieve all employees name and their respective manager names(only using this table no other table and ssn primary key. i know till here.. [code=sql]SELECT ENAME,??? FROM EMP WHERE SSN=MGRSSN ;[/code] here im only getting manager's name..so how … | |
i have confusion, like when we give Char var='A';how is it stored in memory???is its value dat is 65 stored in bits??if yes wat is the value of 'a' (smallcase)... the value of A-Z is 65-90, i have program which prints A-Z, [CODE]class chararray{ public void createArray(){ char[] s;//declaring array … | |
hi all,can anybody point out wats wrong in my database design, guide me right database ,i ve 4 tables i type all its attributes its for hospital database patient table pid, pfname, plname, pcontactno, page, pplace ,pdocname, pprob ,ptype(this is for out patient,inpatient), pbill. doctor table docid ,docname, docplace ,doccontactno … | |
hi, i ve hospitaldb created in MYSQl, i have connectivity problem like[CODE] String connectionURL = "jdbc:mysql://eall:3306/hospitaldb"; // declare a connection by using Connection interface Connection connection = null; // declare object of Statement interface that uses for executing sql statements. PreparedStatement pstatement = null; // Load JBBC driver "com.mysql.jdbc.Driver" Class.forName("com.mysql.jdbc.hospitaldb").newInstance();[/CODE] … | |
hi all, i am to company which has assigned project hopital mangt given ide net beans to which i am new, i am writing html in jsp like patient name, age, in a table. i am confused i am more to html not to jsp can we use html in … | |
hi all, i have a website in which i have used button as a image and wen i give link to dat image button its color is changing i used dreamweaver help but didnt work i will [CODE]<td width="58" height="40" align="right" valign="middle"><a href="index7.html"> <img src="images/Home_2.jpg"/></a> </td>[/CODE] i want color as … | |
Hi all, I am designing a website related to news channel, in which i ve [U]e-news[/U], here i want everydays news to be updated,please can canbody help me i shud submit this before four o clk.. | |
hi All, I need a drop down menu in which if a user clicks it , they can select from da list if fields are not present in da list ,it shud allow user to enter da field, and that shud be saved in da list, Is it called a … | |
hi , can i update multiple tables on submitting one form, i ve a form which includes vehicle details and driver details like driver name vehicle no,vehile type booked for the date DD/MM/YYYY from some place to another place,these details shud be updated in the driver table , vehicle table … | |
hi all, I ve a requirement for standalone travel software dat is not web based which involves rentung vehicles,arraging drivers, generating bill, making a picture of bus seats n which shows seat nos available.. i want to do it on java platform. can i do static html page using dreamweaver … | |
I am palavi,fresher, i am very happy to join this forum , i am a B E student in CSE branch, but i am into a company which does not give any training its a company with all MCA freshers ..sso they will directly assign mini projects among them i … | |
Re:
I want to learn Java web development. What should I study first? JSP, servlets, and JDBC? Or should I jump right into learning to use environments like Struts, JSF, Spring, Hibernate? Which of these would you recommend, if so? (I'm from an ASP.NET/C# background, but I want to start learning … |