Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp and ajax

 
Ameet Topare
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

first time my jsp comes with values from action class of struts.

but on next click i have to refresh the page using ajax.

but as beans values are reflected in actionform, that changes are not visible.

so how can i refresh jsp page using ajax?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65225
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Refreshing a page is not a good use of Ajax. If you are going to refresh the page, just do it the "normal" way. Why do you think you need Ajax?
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exactly, if you need specific fields to be changed it will be useful use Ajax.

Ananth Chellathurai
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic