File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes MVC (JSP,Servlet and Java Bean) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "MVC (JSP,Servlet and Java Bean)" Watch "MVC (JSP,Servlet and Java Bean)" New topic
Author

MVC (JSP,Servlet and Java Bean)

Gabriel Fox
Ranch Hand

Joined: Oct 17, 2001
Posts: 170
Hello Java Pals.
1.Can someone please explain what flushing of a page is all about ?
And how it can affect including using <jsp:include> and
forwarding from a JSP . I have used it, but i don't truely
understand in high level.
2.I have a controller servlet where i check for the button
clicked by a user and forward to the respective pages.that is OK
for now .But my questions are the scenario is:
a. I capture dataA and dataB on the first screen using
request.getParameter("nameOfParameter").Set the parameters in my
Java Bean which i stored in a session scope and to retrieve the
the set values( ie dataA and dataB ) from the subsequent pages
is being a problem. I need to set these parameters after
checking the button clicked in the Controller Servlet, else
getting the parameter returns null.
Please, what am i doing wrong. I thought since i storrd the bean
in the session object i need set the params just once and retrive
on any page as long as my <jsp:useBean> has an attribute
session="scope".
Please , assist . Cheers!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MVC (JSP,Servlet and Java Bean)
 
Similar Threads
help please, newbie to java and i/o
session scopt problem
simple use bean questions
Getting the name of the requesting page
JavaScript & JSP Please help