Forums Register Login

RequestDispatcher.include a jspx fragment from a filter

+Pie Number of slices to send: Send
I have the following code in a filter which tries to include my template jspx fragment :-


but I get


is what i am trying to do possible? if so, what am i doing wrong??

Thanks.
+Pie Number of slices to send: Send
"Sunny Fr",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff
+Pie Number of slices to send: Send
Hi Sunny
try to create an object for RequestDispatcher and then use the reference like....

RequestDispatcher rd = request.getRequestDispatcher(" abc.jsp");
rd.forward(request,response);
Hey, I'm supposed to be the guide! Wait up! No fair! You have the tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 967 times.
Similar Threads
How can we use <jsp:scriptlet /> tag in jspx file that uses faclets
Spring Security Logout not working
Help with filters in icefaces
Inserting the value into a TextField in a JavaScript
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 23:23:00.