jsp - Dojo and Spring -
i have created jsp through calling dojo dialogue (on click of button).
but code of dialogue ie.,
<div> ................... </div>
is present on same page.
therefore unable insert controller (servlet) in between jsp , dojo dialogue.
please suggest convenient way insert controller between dojo dialogue , jsp.
thank vishal saxena
then suppose want use href
attribute (then load content in dialog external page -> jsp).
the example code:
<div data-dojo-type="dijit/dialog" title="my external dialog" href="yourjsp.html"> .... </div>
is meant?
edit: , in controller map like:
@controller public class maincontroller { @requestmapping(value = "/yourjsp.html") public string getdialog(modelmap model) { ... // stuff } }
Comments
Post a Comment