Jump to content

page is loaded without any page refresh.


Guest anand_rj3

Recommended Posts

Guest anand_rj3

Hi,In jsp,servlets & struts project..when I append # symbol with the action and submit that,action is performed and page is loaded without any page refresh.code in java script: document.forms[0].action += "#abc"; I am not sure that why this happen. Any one plz tell me the reason.

Link to comment
Share on other sites

  • 2 weeks later...

Well, if the action only has "#abc" in it without the page name (e.g. "index.jsp#abc") then the page will not refresh. Add the name of the page to your action and try again.

Link to comment
Share on other sites

  • 1 year later...
Hi,In jsp,servlets & struts project..when I append # symbol with the action and submit that,action is performed and page is loaded without any page refresh.code in java script: document.forms[0].action += "#abc"; I am not sure that why this happen. Any one plz tell me the reason.
Hey, the symblo # is used to navigate within the page, just try out some examples
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...