Hi Kumaraswamy,

response.sendRedirect("http://google.com";);
or
response.sendError(HttpServletResponse.SC_NOT_FOUND);

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 18/11/2009, at 6:02 PM, Kumaraswamy nandipati wrote:

Am I not explained clearly about my problem???

On Tue, Nov 17, 2009 at 5:01 PM, Kumaraswamy nandipati <
[email protected]> wrote:

Hi.,

I am doing page validation in bsh script which will determine whether it is a valid request or not. It is placed in all decorator screens(till before shopping cart) as first script. So that invalid requests will point to 404 pages. But, I am not able to achieve this. How I can point invalid links to
404 page??

Example:
*http://abcd.com/products/usa/amber-waves*  is a valid page.
I am doing validation for product-id(*amber-waves*) is available in db or
not.

instead of this,  *http://abcd.com/products/usa/amber-waves-test-test-test
*, this should return to 404 page.  But not able to achieve this.


Any help will be appreciated.


--
Thanks,
Kumaraswamy.N
91-9866805250.




--
Thanks,
Kumaraswamy.N
91-9866805250.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to