I have 2 java Servlet files EmpRecord & Delete.

Employee has a button of delete, on clicking it....page will be redirected to Delete.java

Here the record will be deleted.

Now, I want to redirect Delete.java back to EmpRecord.java where the message "Record deleted" will be displayed.

How can I pass the message from Delete.java to EmpRecord.java to display the message?

Thank You

you can use QueryString

java != javascript

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.