This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I have some html links in my jsp page which when clicked should send me to another section on the same page.
1. When i use html anchors directly <a></a> (I am using Struts along with tiles) it always tries to reload the page based on the definition in tiles.
The problem is I dont want it to reload the page as I need to supply all the request parameters that have been passed earlier to the page. Rather i would want it to just take to me the corresponding section on the same page (just how a normal anchor works when no struts or tiles are used)
Things work fine when no tiles are used.
Is there any way I can do this. Is there a struts tag which just takes me to a different section of the same page without reloading.
I have tried both relative and absolute URL but doesnt help.
I think the problem is with the usage of tiles where i define my header and footer and the body in a Layout.jsp
When i use relative URL(<a href="#output></a> in a given file it is going to the Layout.jsp as opposed to the file itself. This is causing a problem.
Absolute URL ofcourse is doing what it is supposed to do. - reload the page.
Tried struts html:link page and other attributes - All of them reload the page.
I want to know if there is any struts tag or anything else that prevents this reloading but just takes me to a different section in the same page when using struts and Tiles.
Thanks
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.