|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
dispatching to a different jsp using DWR - is it posible?hi ya'll.
Could someone please tell me how do we dispatch to the different jsp using DWR in plain servlets RequestDispatcher dispatcher = getServletContext().getRequestDispatche("myjsp.jsp"); dispatcher.forward(request, response); now how do we do this in DWR, or does it works the same way? Thanks in advance. lvcster. |
|
|
Re: dispatching to a different jsp using DWR - is it posible?I'm not sure what you need. If you want to include one page in another, you might mean something like this: http://getahead.org/dwr/server/generic Or if you need to visit another page, something like this? Remote.method(function(goto) { document.location = goto; }); Joe. On Jan 3, 2008 2:05 PM, lvcster <lvcster@...> wrote:
|
|
|
Re: dispatching to a different jsp using DWR - is it posible?hi,
I tried to interprete your response, Remote.method(function(goto) { document.location = goto; }); What exactly is the Remote.method(function(goto)? is it the Java class method? is the goto the page i want to dispatch to? could you please gimme a simple eg?
|
|
|
Re: dispatching to a different jsp using DWR - is it posible?Remote is a class exported by DWR and method is a function provided by that class. This is really material for the users mailing list. Thanks. Joe. On Jan 8, 2008 11:26 AM, lvcster <
lvcster@...> wrote:
|
| Free Forum Powered by Nabble | Forum Help |