File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes FrontPage, call, Servlet, Forwarded, Rendered, what's wrong? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "FrontPage, call, Servlet, Forwarded, Rendered, what Watch "FrontPage, call, Servlet, Forwarded, Rendered, what New topic
Author

FrontPage, call, Servlet, Forwarded, Rendered, what's wrong?

J. Insi
Ranch Hand

Joined: Aug 11, 2010
Posts: 84

Hello guys...!!
I'm having a question here.

Actually, is it wrong if my flow use this one;

1) FrontPage have a link
2) Link call ajax (call a Servlet)
3) Servlet Request some data from DB and also this Servlet assign some session variables
4) Forwarding the page using RequestDispatcher --> actually calling another jsp
6) JSP rendered and returned into ajax call
7) Interface updated obtained.

Is that correct way to go through?

OKay, let me start from number 2-Link call ajax

Whereas the refine-datatable-bank is the url which is firstly from jsp.

Then, the number 3-Servlet Request data from DB ( i just put 'X' variable, we assume it's database data okay?)
and then forwarding 'em into the interface.


Okay, then the last number 6-Rendering the value obtained from session;


But why it doesn't give me a returned anything ??
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: FrontPage, call, Servlet, Forwarded, Rendered, what's wrong?
 
Similar Threads
undefined value on return from auto-complete
Heap Dump
Multipart request problem
Cannot recognize conten type = "multipart/form-data" in JSP
[ajax][jsf][javaEE] double click issue