This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am doing a final year project on a IT jobs portal where employers can post jobs and candidates can apply for tec specific jobs. What I have is that a company can post a particular job with relevent skill sets needed for the job.I am using JSP and Struts.I have displayed a list of all jobs when a candidate has logged in but I am confused to how I should handle the candidate when they want to apply for a specific job.Currently I have a button beside each job which is displayed.I need to insert the data into a table called candidate_job which links any candidate to the particular job.Am I going about this the right way or should I be using some type of form instead?? This is slowing my progress down hugely :(
What I understand by your description is that right now, as soon as candidate clicks on the 'Apply job' button besides the displayed job, he applies for job and the name gets added to table.
This seems user-friendly.One suggestion is showing a message to user confirming the action.This will ensure that user does not accidentally click on wrong button and apply for wrong job. :)
The form would be needed only if you want to take some user inputs before him/her applying for the job.
Also, you can take a look at other job portals and could get more ideas and inspirations.
There are only 10 types of people in the world: those who understand binary, and those who don't.
Joined: Apr 16, 2012
Ok i understand this way is the best and I will take into consideration the confirmation dialog that I should want to appear when a job is applyed for.
Sooo...in my JSP page I added a button after the arraylist of All jobs in the database.This resulted in an 'add Job' button beside each listed job.Now what I need to know
is how do I allow it to add that EXACT job to the database by clicking 'add Job'? How do I let my database know that I have clicked e.g Programmer!!? As you can see from
my code here I have assigned 'jobID' so when the button is clicked the value is taken in as the jobID is this correct?