What is the difference between sendRedirect() and forward()?
in what situations do we have to use send redirect()
instead of forward().
Answer Posted / guest
Both senredirect and forward metods are used to forward the
request to another resourse
but
1)the request dispatcher() is used when we want to redirect
the client requestto some other resourse (ie:out of context)
or whenver we want to redirect errors
where as
use forward()when we sending a page that is within in the
same site
2)forward() are executed on the serverside but send redirect
()are on the client side
jawahar
Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
CANDOR Services, a leading provider of next-generation staffing services, draws from unparalleled resources and expertise to offer you innovative, quality workforce solutions. We have openings for "J2EE ARCHITECT" with one of our clients. Client is CMM Level 5 company. Location : Hyderabad Roles A J2EE Architect with expertise in Web Architecture (covering Spring MVC, AOP, Webflow, Struts, Tiles, Hibernate, JAAS, Web Application Performance Turning & Measurement) as part of Solutions Architecture Group: Position involves in providing architectural vision, conceptualize and provide architectural approaches, create models and specifications, and validating the architecture against requirements and assumptions. Also involves in providing oversight over ongoing projects as a reviewer and auditor Educational Requirements A minimum of BS or MS (MS preferred) in Computer Science or Engineering or equivalent experience in the IT industry. Skill Sets Overall 8-10 Years of experience in IT industry with 3-4 Years of experience in Service industry Technology Skills Java, J2EE, MVC Frameworks (Struts/WebWork/JSF/Spring), Spring, AOP, WebFlow, ORM Tools (Hibernate/Ibatis/JDO/Tapestry), App servers, Databases, JAAS Web Application Performance Tuning & Measurement 6+ years Java software development experience. 4+ years of enterprise Java development, with emphasis on web-based applications. Strong relational database and SQL skills (5+ years). Mail to : anuradha.k@candorservices.co.in
What is filter chain?
What is delegation?
What is build tool in java?
What is j2ee product?
Who gave the name java?
Is j2ee and jee same?
when i m calling java for web browser . so browser it's not support. show error in browser: internal error occur. java.lang.NoClassDefFoundError. will you give me solution why it's not starting browser.? is there any consult with .net framework2.0?
What is platform independent in java?
What are the component of java?
What is mean by connection pooling?
What are java front end tools?
Explain jta, jndi, and jms.
How does j2ee application work?
What is document?