Hello,
I'm learning Servlets technology, but i'm already a Java developer and i want to know how i can develop a servlet that have two pages, the first is a page that have a button and two text fields, one field of title and the other a memo field, but when the user clicks in the button the servlet write what the user typed in the title field, and down the title line it puts the content of the memo field, then down the memo field line it puts some -------------------------------------, but if the file already have something it puts all the newer things down the ---------------------------, remember that the file is: memos.txt.

Thanks,
Nathan Paulino Campos

>how i can develop a servlet that have two pages?
No, you can't. Servlet is a java class.
Use Java Server Pages (JSP).

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.