This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi Guys I have situation like this. I need to call a JSP not to use forward or sendredirect method, because it is starrtup servet from that i need to execute a JSP file. if any one have any idea about this plz let me know or reply in this forum i would appereciate it. Thanks Vidya
Everying in a JSP gets placed inside a method _jspService(request, response) in your servlet, you can use RequestDispatcher.include(request, response) but, only from methods that have request and response objects. From your post, I assume you want to call this from init(). That, you can not do. Refactor any code in the JSP into a regular Java Object and call it there!