Taysay's Posts
Nairaland Forum › Taysay's Profile › Taysay's Posts
1 2 (of 2 pages)
@ Mimoh mi, Long time, it's good to know u r still passionate about Java. I remember a few years ago 2006/2007 when as a corper serving in Osun, I came to c Mimoh mi @ his Apapa residence, mind you we only met on this forum, in fact via this very thread. This guy housed me, gave me a big picture of java, books lots of e-books and a hard copy, now things are looking up. And when I luk down memory lane I cant help but thank God for the likes of Mimoh , SBUCareer and the likes. Men its gud to have role models. in fact your role models dont have to be movie stars, celebrities , but that Man on the street who gives you the big picture of the vague and lil tot in ur head. wishing you well in all your endeavours. |
Sorry, macromedia is a good tool., try it makes cooding jsps much faster |
technobayo:why do u want to cram, craming is one of the easiest way of NOT KNOWING how to code b'cos it will be like craming how somebody thinks . what you should do is learn certain coding techniques from codes you see runiing around. well there is this wonderful book Murach JSP and servlets , you can see a preview @ www.murach.com than you can see tutorials on javabeat.net, roseindia.net do lot of practice and you are good ta go. k all d best best wishes , taysay. |
theGame, howdy! so wats your defiantion of a power bike, if u are rulling out a 400cc engine, then wat will u call a 125 cc or say a jincheng? guy wake up |
Viper man, Pls do you sell power bikes, pls let me know the spec you have and price range, tanx |
jaffa wats up! Hope u r all good. Sigma is a very swit car to drive, doo maintainance is always an issue as regrads finding a good mechanic, the car has very powerful options, like power sits, power and all that. which can develop electrical issues, the engine is very big about 6 cylinders(about 2.8 -3.0 liters) I think . The car is no doubt a super performer atleast wit cars in its range. there are very few Vboots that can do what a sigma will do on road. The good knews is that if you r in lagos then you can get ur parts easy the only thing then will be a relaible mechanic. If u like the car go for it but then bid for a lower price. remember the brain box u r getin is a tokumbo, which gives you little time btw test anmd payment and if it developes issues then stori stori might start up. but pls find out how much the complete engine is sold , and of cos the brain box, just so that you have an idea of running cost, b'cos usually if u buy a naija used car at some point you might have to change the entire engine and then liv the old one as a bak uo as regards spares and all that( some sigma's come with pajero engines. pls get bak to me @ taysay1@gmail.com you need more details. so have a pleasant weekend. taysay |
@UZO Pls wat is the IBM's config taysay1@gmail.com taysay_shaguy@yahoo.com |
Pls can I have the confiq? taysay_shaguy@yahoo.com taysay1@gmail.com |
Yeah Tanx being there and started work really looks interesting will get back to u in a jiffy. Have a good one |
@ SBU, How is the going PLs I need a UNIX account, my email add is taysay1@gmail.com,taysay_shaguy@yahoo.com tanx have a pleasant week end |
Hi all, Pls I like to get involved with coldfusion, but then I really dont know how to get mey beginner tools, like compilers and the neccessary tutotials, will find your help invaluable , tanx have a good 1 Taysay |
@SBUCAREER, good day My dear LECTURER! so sorry I didnt mean to discourage you, I feel really ill, I had though that I will be back in class this week but some how, I had to travel to accra with my sweetheart so pls I will be back in class in another 10days. I really appreciate you. you r such a blessing, meanwhile I have seen my mistake from the line of code you sent, unfortunately I am not equiped to run codes here, i really miss running codes though. thanx so very much for your understanding. |
@Sbucareer, Sorry you havent heard from me 'cos I have being really sick, so I will resume classes next week. thanx |
Good day, Pls I tried running this file from my netbeans, and encountered the following problems It had errors on lines 45 <td><b><jsp:getProperty name="pizza" property="hawaiia" v/></b></td></tr> on correcting this line, another error came up on line 28 <td><b> <jsp:getProperty name="pizza" property="purchaseType" value="0"/> </b></td></tr> The compiler was complaining that the getProperty has invalid attribute: value After all attempts the I could only get the green light when I removed the value attribute entirely from lines 28 and 32 Yet on attempting to run the file it failed giving me this error init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-jsps: org.apache.jasper.JasperException: The value for the useBean class attribute com.nairaland.beans.Pizza is invalid. C:/J2EEProjects/sbucareer/build/web/pizzas.jsp(10,3) C:\J2EEProjects\sbucareer\nbproject\build-impl.xml:353: Java returned: 1 BUILD FAILED (total time: 3 seconds) Funny enough attempting to compile and run my file from the command prompt via Textpad, my file ran displaying this image in my dreamweaver viewer and my internet Explorer Over to you sir, Pls what is it that I am not doing right? |
@Sbucareer, Good day, Pls I tried to correct the errors in the servlet, yet I have an error which I just cant seem to figure out, from my command prompt the error is on line 55. pls can you give me a lead. This is the code at that point. Sorry I am asking to be spoon fed. Never mind I will catch up in no time. import javax.servlet.http.HttpServletRequest; import javax.servlet.http.ServletResponse; import javax.servlet.*; import java.io.*; import java.util.*; public class interestRate extends HttpServlet{ private double loanAmount = 6400; private double interestRate = 40.9; //Too expensive private int numYears = 4; public void doGet( HttpServletRequest request, HttpServletResponse response)throws IOException, ServletException{ response.setContentType("text/html" ;PrintWriter out = response.getWriter(); out.println("<html>" ;out.println("<head>" ;out.println("<title>Loan calculation</title>" ;out.println("</head>" ;out.println("<body>" ;out.println("<h2>Loan Calculation</h2>" ;out.println("Loan Amount:" ;out.println("<br/>" ;out.println("Interest Rate:" ;out.println("<br/>" ;out.println("*****************************" ;out.println("<br/>" ;out.println("Number of years:" ;out.println("<br/>" ;out.println("Total interest:" ;calculateInterest(loanAmount,interestRate,numYears); out.println("<br/>" ;out.println("******************************" ;out.println("<br/>" ;out.println("Monthly repayments:" ;loanRepayments(loanAmount,interestRate,numYears); out.println("<br/>" ;//Change the value of years numYears++; out.println("*****************************" ;out.println("<br/>" ;out.println("Number of years:" ;out.println("<br/>" ;out.println("Total interest:" ;double calculateInterest(double loanAmount,double interestRate,int numYears){ return numYears * interestRate * loanAmount / 100; out.println("<br/>" ;out.println("******************************" ;out.println("<br/>" ;out.println("Monthly repayments:" ;String loanRepayments(double loanAmount, double interestRate, int numYears){ perc2 = new DecimalFormat("$#,##0.00;{$#,##0.00}" ;return perc2.format(( calculateInterest(loanAmount,interestRate,numYears) + loan ) / (numYears *12)); out.println("</body>" ;out.println("</html>" ;}//End doGet public void doPost(HttpServletRequest request, HttpServletResponse response)throws IOException, ServletException{ doGet(request, response); }//End doPost }//End Process } } Good bless Sbucareer! |
@Sbucareer, Thanx Mr lecturer for that word of encouragement, I am on the assignment, the bad news is that I sold my laptop and Iam yet to replace it so I usually come to the cafe with a storage device, download stuff go home work on it before coming to post. So this kind of kills my speed /drive. Well thank God my spirit and passion is tampered with. I really Appreciate your invaluable concern, I hope to be like you some day soon so that I can pass on to the needy the much needed knowledge. Have a good one. |
@ Sbucareer, Sorry I mistakenly attched the same file twice, so this is that for the order Akara.jsp tanx have a good one. |
@Sbucareer, Good day pls this is what I made out of the earlire post , as regards the order pizza.jsp and process.jsp. I will work on the servlet and get back to you, have a goog one. |
@Sbucareer, Goodday I think the error in the Jsp is from the monthly repayments,which returns more than 1 decimals place unlike the others. This make the accuracy of our answers inconsistent. Loan Calculation Loan Amount: $6400.0 Interest Rate: 40.9% ***************************** Number of years: 4 Total interest: $10470.4 ****************************** Monthly repayments: $351.4666666666667 ***************************** Number of years: 5 Total interest: $13088.0 ****************************** Monthly repayments: $324.8 waiting for your comments .thank you |
@ Sbucareer, Good day, tanx you so very much for the link, I am in the process of down loading just that since I browse at a cafe, with horrible systems, insufficient band width and epileptic power supply. It might take longer than neccessary, but then I am on it, I just want to know if the down load contains the entire E-book cos I will love to have a copy of the text. Thank you. Have a good one |
@Sbucareer, Pls do you have a soft copy of the reference material I believe it was published by wrox. I will love to have a copy. Tanx plenti |
@Sbucareer, Good day How is the going? I just want to say a big thank you for the speedy reply and of cos for jump starting our J2ee class. I have already done all my configurations, I have installed my jdk 1.5 I had wanted to upgrade to 1.6 but then I needed to have windows xp service pack 2 or later, and since my windows is legit I didnt want to upgrade with a clone so I let it be for the moment. At the moment I have my Jboss, netbeans, micromedia suite (dreamweaver, flash, fire works ) all configured and running. So do you mind if we get started from this point? waiting to hear from you soon as usual, Bye have a good one. Tanx |
@ Sbucareer, Thank you so very much for the speed y reply, Your are such a blessing. I believe ypou have such a busy schedule,yet you sacrifice for the benefit of us, this make me feel that you have well over 24hrs to yourself each day, haha,. I really appreciate. My questions are, 1.cant "ready to programe" run on j2se 1.5 and later? 2. is struts in the same family with hibernate and spring? 3. Are you of the opinion that one needs to hold onto EJB? Thank you so very much. I ready to follow you. Have a good one. taysay |
@ Sbucareer, good day, I just want to know how technologies like hibernate apply to j2ee, I am new to j2ee,I use netbeans and I have my jboss, Mysql, all configured, I will be glad if you could start a j2ee thread asap, I and many others are willing to follow.tanx have a good one |
same here bro |
@mimoh_mi My Oga wetin dey, just to say a very big CONGRATULATIONS to you, pls keep setting standards for us to follow. I have being trying to get in touch with you over the while but then ur # 018972759 doesnt ever go through, pls is ther any problem with it. Pls I will really like to see you, cos there is some stuff i want us to discuss and its kind of urgent. so how do I get intough with you my #'s r 08055088001, 08036533888, thanksve awonderful weekend. ur boy taysay |
Hi Loli-B, (Lolia Braide) How is the going, I hope life has being kind to you? PLs did u attend FGC PH ? Well if u did My name is Terseer Shaguy remember me , you can reach me on 08055088001, 08036533888. Thank you. Have a good 1 and good luck in ur programming pursuit |
@Enoh2jee, Hey wats popin, I just noticed that u reside in makurdi, at least as indicated by ur post , I stay in makurdi too, and I happen to be a java programmer so since you are into IT, I think we can spend some quality time moving into the future reasonably. my # are 08055088001,08036533888. tanx have a good one. |
Hi, PLs Check first logic Abujathey run a prometric testing centre ant their prices are moderate, here are thier Lagos No , with that you can ask them for their Abuja address, but if it happens that lagos is more convinient, then suit urself, U can also check niit. 017920286,018124412. tanx have a good one. |
@Seun Good day, pls I just want to let you know that, we are all here to learn and NOBODY know's it all, and nobody ever will. So as much as you have done a beautiful thing hosting this site (Forum) , remember that, thats just half of the issue one man can't run a forum all by himself, so we have actually done a good thing by bringing the other half. So u see that take two. So please start employing the spirit of 2gedaness. remember WE is far more stronger than I. I am sorry if this hurts but the truth is the the best gift I can offer you. I had notice u handle a similar issue, irrationally. I kept quite but this time I think I have to voice out. So all the best. |
Good day, Compliments of the yuletide! I highly recomment this book "Murach's Beginning Java 2, JDK 5" you can download the 1st two chapters free from www.murach.com, go through it, if you like it then you can order for your own copy, but I tell you this is the best java book on earth BELIEVE, of course you can get a guide to put u through when you are stuck, but in learning programing your dedication is the tap root to your success, cos nobody can teach you those nitty gritty details, beta than you yourself. So take kia of you all the best. |
@Parosky, I just want to correct the typos in the my previous post. whats up just to let you know that the second class will not COMPILE, because you "cant" make reference of a non static variable in a static block public class Testing{ public static int age = 3; public static void main (String[] args){ System.out.println( age); } } ------------------------------------------------------------- public class Testing{ public int age = 3; public static void main (String[] args){ System.out.println( age); } } in the first class the variable was declared to be static so it could be referenced from a static block , where as in the second instance the variable isnt static so cannot |
1 2 (of 2 pages)
;