dcsimg
JSP calling Servlet and than that Servlet calls an EJB
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Pragati_Chaurasia
Posted On:   Wednesday, April 19, 2006 01:28 AM

I m able to run a simple "Hello Program" using Model-view Architecture. But i m unable to do a simple operation like a "Login Form" using this architecture i.e. JSP calling a Servlet and then that Servlet calling EJB. Plz help me. Give me some idea. So that i m able to do this.

Re: JSP calling Servlet and than that Servlet calls an EJB

Posted By:   Viral_Shah  
Posted On:   Tuesday, May 2, 2006 12:26 PM

if you're trying to learn how Model-2 works, pl try using servlet.forward to forward request to the result page after you're done processing the same at the servlet. you might want to consider configurable result pages for various result scenaros and using JSP-beans to forward data to result pages.


having said that, if your interest is just developing an application - don't reinvent the wheel. you can use a model-2 framework like WebWork or Struts.


cheers

About | Sitemap | Contact