Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Servlets and the fly likes How to call JSp from Servlet?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to call JSp from Servlet??" Watch "How to call JSp from Servlet??" New topic

How to call JSp from Servlet??

Anjali Sen

Joined: Feb 26, 2003
Posts: 15
I want to call JSP page from servlet.I am using Visual Age For java 3.4. What is wrong in my code??
if (userExists) {
f.setErrors("userName","Duplicate User: Try a different username");
forward(request, response);
I am not able to get the o/p. Pls help.
Ivan Tamayo
Ranch Hand

Joined: Aug 13, 2001
Posts: 49
I don�t think the getSevletConfig().
Besides that, the getRequestDispatcher() can returns null.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60774

I am not able to get the o/p. Pls help.

A slightly better description of what is actually happening would probably help.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Consider Paul's rocket mass heater.
subject: How to call JSp from Servlet??
Similar Threads
OnMouseOver in Ajax
Error - HTTP 505 - Status report
calling one servlet from another servlet
How to add a method to a jsp page?
Passing parameters to different view