• Post Reply Bookmark Topic Watch Topic
  • New Topic

reload div tag from servlet

 
shivam singhal
Ranch Hand
Posts: 231
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can i reload a perticular div tag of jsp file from servlet?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using Ajax, the request can access any type of resource, including a servlet. But if you are going to return an HTML fragment to insert into the DOM, your servlet should likely forward to a JSP to render the fragment.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!