Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

148
Views
How to stop loading of Post servlet on Page reload?

I'm new to web development and currently trying to build a custom Jira Plugin, where I'm rendering velocity template files on UI for Get and Post Servlet requests.

On UI, we are loading a velocity template file to render the Form which consist of a Submit button. On click of submit button Post Servlet will be invoked and required operation is completed in the backend. But now the issue I'm facing is, if user tries to reload the same page again, the rule is again getting created and Post servlet is getting called again without clicking on Submit button. My Expectation is that when form submit is successfully completed, if a user tries to do a page refresh, then GET method should be invoked(instead of resubmitting the post request)

Can anyone please help me to undertsand this issue and guide on possible resolution? how can one prevent the POST servlet call on Page reload?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!