It's not a secret anymore!*
The moose likes JSP and the fly likes Final Year Project help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Final Year Project help" Watch "Final Year Project help" New topic
Author

Final Year Project help

David Lipsett
Greenhorn

Joined: Apr 16, 2012
Posts: 2
Hi,
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 :(
Amol Limaye
Greenhorn

Joined: Apr 16, 2012
Posts: 5

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.
David Lipsett
Greenhorn

Joined: Apr 16, 2012
Posts: 2
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?


<form action="applyForJob">
<input type="submit" name="add[<s:property value='jobID'/>]" value="add Job" />
</form>

How would I go about writing the java code to take the specific job I have clicked?
Thanks
Kumaravadivel Subramani
Ranch Hand

Joined: Jul 05, 2008
Posts: 166

In the servlet extract the form element which you have populated value which Job you have selected and pass it to the DB.


No pain, No gain.
OCJP 1.6
Kumaravadivel Subramani
Ranch Hand

Joined: Jul 05, 2008
Posts: 166

Missed: Extract from the request when the form submits.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Final Year Project help