in my recent project the user need to attach document when filling a form.But dont have any idea about the implementation.how may i do this?if you have any idea,please help me.

store a reference to the file, or the file itself, in your database.

Your attachment document can store in database through the blob data type of databases.
So by this you can store you documents in databases and then through jdbc connectivity you can retrieve the document from your database in j2ee means that the in application your j2ee.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.