java - sending single parameter through servlet -


how send single parameter through query string in servlet? following code giving me asyntax error:

out.println("\n<a href='delete?index=" +  '">delete</a>"); 

corrected:

  out.println("\n<a href='delete?index=" +  +"'>delete</a>"); 

Comments

Popular posts from this blog

.htaccess - htaccess convert request to clean url and add slash at the end of the url -

php - facebook and github login HWIOAuthBundle and FOSUserBundle in Symfony2.1 -

hadoop - Sqoop installation export and import from postgresql -