• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to read the contents of the resume and store in the database in JSP  RSS feed

 
Sasikumar Senthilnathan
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Am doing a JSP project for maintaining the details of the interview candidates so now I want to know "How to read the contents of the resume and store in the database"
 
E Armitage
Rancher
Posts: 989
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are the resumes captured? If they are documents that are uploaded then you need to run a file upload servlet. If the details are captured on the screen then you need to list the fields that will be captured and design a database schema that can store that data.
 
Sasikumar Senthilnathan
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok E Armitage , Am capturing my resume through the sevlet file-upload. I had already did the DB-schema too.
Fetching the values from the files has many possibilities.
So, I need the template that guides me throughout the project.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you're asking how to extract structured information from a text document?
 
Sasikumar Senthilnathan
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, for .pdf, .docx , .doc formats.
 
E Armitage
Rancher
Posts: 989
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know why you would need to read the uploaded documents to extract text from them. They could be different file formats and even if they are the same file format they could be structured differently (different headings at different locations e.t.c) You would never be able to cater for all possibilities. Why not let the candidates capture the information in the system or maybe expose a template on the site for the candidates to copy their CVs into and then you only have to worry about reading the data from one template.
 
Sasikumar Senthilnathan
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes there are many more possibilities (i.e) there is no standard format for the resume. But I need to automate the details to be fetched from resume that optimizes my work. Is there any possibility to do so?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My guess would be that it ends up being a lot of work while still achieving only a very low rate of success - absent a common format there simply is too much variety in text documents.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Note that none of this problem has anything to do with JSP. JSP is for presentation of HTML for a user browser.

You are talking about heavy duty computation that might best be done offline entirely with the web interface just serving to capture the resume files.

ALL of the data extraction can be done in a separate step, and once you stop thinking JSP and start thinking about interpreting various file formats you might make some progress/

There are all sorts of Java toolkits for coping with file formats, go investigate them.

Bill


 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
100% agree. If you are doing any work in a JSP that's not focused on simply presenting information, you're doing it wrong.

Write your computation classes as independent from any UI considerations. That way, not only is your web app structured better, you can test your classes easily and independently of the UI.

(A simplification of the above: if you have any Java code in your JSPs, you're doing it wrong.)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!