Chimanet's Posts
Nairaland Forum › Chimanet's Profile › Chimanet's Posts
1 2 3 4 5 6 7 8 9 10 (of 10 pages)
check your gmail account cos i jst sent u a mail with it using my localhost |
http://chimanet.s43.eatj.com/ContactForm/contactus.jsp thats the link to the page, but the contact email is throwing exception, i will use it from my local host to send a mail to that ur email address |
Wil get back 2 u guys wen i come online 2nite, please bear with me guys |
Chimanet: The mail services works well from my localhost when using gmail server but if i upload it to a free hosting site it gives a security exception, i think we need a to use our domains email server for this, am done with the contact form functionality, let me see if i can upload it to sourceforgednt know wats wrong with sourgeforge, jst can login |
The mail services works well from my localhost when using gmail server but if i upload it to a free hosting site it gives a security exception, i think we need a to use our domains email server for this, am done with the contact form functionality, let me see if i can upload it to sourceforge |
Javanian: Yes man...this is what i'll work with you've done a good joob...sorry if i didnt answer all your questions...Am on mobile...it isnt easy typingis a very nice design, |
Javanian: just use any email i'll edit it lateri will get back to you 2mrow evening cos what am using is a nite plan |
@Javanian whats your email address? so that i will direct the mails to you |
how do you want the contactform? is it a self submiting jsp page? or u want me to submit from jsp form to a servlet and forward back to the jsp form to indicate the status of the form submission? |
av tried the email functionality with gmail smtp server and it works just fine, so may you give me the email i forward the mails to, ok what are the fields you want in the contact form |
ok |
Javanian: it supports 5.5, 6.0 and 7.0 i don't have a web mail...cant you do it with gmail or yahoomail??will try that with my yahoo email jst pray i wil get the valid yahoo smtp address online. Ok i need javamail api and dependencies |
Javanian: ok...can you build a contact us form that sends users input to my email??ok, but i nid details of ur mail server, lyk host, protocol, ur username and password. U should b able to confirm that from ur webhost. Also wat version of tomcat does ur web host suports? |
Those guys servlet and jsp r my very gud friend, |
Helo guys, am a java/jee developer am really impressed with d way you guys r going abt dis project, will lyk 2 contribute my own quota. Guys were will i start from |
Malotoff21: I tried reaching both of your numbers and cant reach either of you ... are the numbers you listed outside the country or recently out of service? Should it start with a 1 instead of a 0? Let me know when you have the time.08060880402 is a nigerian mtn number |
Me and my team of developers can give u a customise enterprise solution that can meet your required business needs. Call 08060880402 for further enquiries |
liaslo++:ok, wat u do is make ExamCenter class dat has centreName a string, maxSeat an integer, currentSeat an integer should always b synchronize, ok put dem in a list, once a user register use a for loop 2 transverse d list, if an examcenter object has its seatnumber less than its maxseat, increment d seat number and assign its value 2 to d registered candidate and its centerName 2 d examcenter of d new candidate. U now increment d seat number of d object by 1, and return immidiatly 2 halt d for loop. Dnt use break here o! |
This was how i started wit my java phone 3yrs bak. W3schools, inspiration from nairaland and java ranch, luk at me 2day am an intermidiate level programmer and still making sum money. 4 d programmers 2 b, is nt all abt i dnt have a laptop, have a passion 4 it, d passion will drive u 2 ur dreams. Dnt jst dat ur java phone 4 2go, use it well! |
jon007: Good day everyone. Pls i really need the help of every computer science studentconcerning a system analysis project which how lecturer gave to us. He told each group to look around for any project topic to emback on and i intend bringing the idea of a security door using an access card or is their any other project ideas that can be worked on. Thank you and God bless you for your support.dis project looks more engineering 2 me, may b u can try something lyk and online banking system. Or u jst luk arround ur area and come out wit an i.t solution dat can help solve problem in ur sch, lyk a library management system. Or even software for manageing student hostel accomodation. |
liaslo++:ok, dis doesnt realy nid a database 2 code, is more of a logic problem. Think of it dis way, u have a class dat has a static integer field called seat. Dis variable holds d seat number of d previous registered student. So each registeration of a candidate d value is incremented by 1 and its value is assigned as d seat number of d new registered candidate. Ok, U now use a switch case 2 check d sch dat d new candidates seat number falls into. Like if seat number is btw 100 and 149 go 2 schB, if seatnumber is between 150 and 249 go 2 schC. U c d range of seats gives u power 2 determine hw many seats each center has. Dat is jst it, dis algorithm is a functional solution but nt a full object oriented solution but works well 4 wat i call a sharp sharp projects. i do hope u undastand wat a static field does here.:-/ |
harryobas: This is more like a session facade or a controller object in a model-view-controller(MVC) architecture.yea very useful in mvc, session facade in enterprise app development. A facade jst cordinate all d activities of different subsystem so as 2 give a clean and simple interface to d clients, clients can b web layer, thick clients etc. Just lyk an event manager 4 a party! Facades r normally injected into controllers in mvc |
liaslo++:you r welcome.jst try it, |
U have 2 seperate tables, tableA wil have id column which is a primary key auto increment, pin column a varchar, this table wil have all ur pins already loaded. The 2nd table, TableB, Will have a primary key id which is a foriegn key 2 tableA id column, user_id column which is a user id mapped from ur users table as a foreign key, a kind of user table must exist cos u must keep track of usernames or regnumbers dat uniquely identifies ur candidates. An Amount column which is an integer 2 keep track of d amount of time d user have used dat particular scratch card wit d corresponding pin on tableA, dis column should b incremented on each usage. So d behaviour is lyk dis, each time a user enters a pin and and regnumber, u check if d entered pin exists on tableA and d regnumber exists on d user table, if it passes d test, u retrieve d matching id of d pin, and matching id of d reg number from both tablesA and user tables. then check if d retrieved pin id exist on tableB, if yes check if it matches d user id as a row in tableB, if no, u insert a new row wit d id , userid , and amount set to 1.else if yes, u knw is a used scratch card, get d corresponding amount on dat row. Make sure u use ur code 2 limit d amount of usage. If d amount is equal 2 or more dan d limit, u issue an expired pin error, else increment d amount column and allow d user access to his or her result. Jst hope u grab d concept |
Is quite an unrealizable project my dear, if is feasible nairaland would have brought out an api since easily, nairaland was not designed as a restful webservice from scratch, its more of a usual website design architecture. |
Before u process nairaland with an xml parser, u have 2 b sure dat nairaland is xhtml compliant, or else ur parser will keep throwing exception |
Service facade pattern, i hide all my business logic and data access code behind a service interface. From my presentation layer or web layer i jst call my service public methods |
Is true, d calender class return d same instance of d same calendar |
harryobas: You could also implement a factory as a singleton which creates one global instance of the factory class.yeah, is true, lyk d hibernatefactory in hibernate orm framework and the spring beanfactory in spring framework are all singletons. But in gwt d GWT Class is a classic example of a factory cause i have not seen where it was instantiated, i think d constructor is private jst lyk d Calender class constructor. Ok not all factories r singletons, a singleton has only 1 instance in an entire jvm |
Who among us is a java developer? D Calendar class, Calender.getInstance() is d clearest example of factory pattern in the java class library |
Anyway av not used cpp b4, i started programming wit java den csharp, php, python of recent |
Yea, bt from my earlier illustration, wat u return is a vehicle, which can b cast down to a Car if u r sure is really a car. Static modifiers r very useful in an oop world if u understand how dey work |