Win a copy of Head First Android this week in the Android forum!

satish kinikiri

Greenhorn
+ Follow
since Nov 16, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by satish kinikiri

Yes my filter implements public abstract interface javax.servlet.Filter
9 years ago
In my filter i have requirement of showing user a message with ok cancel option.
if the user opts for ok then i have continue to the filter chain, if user opts for cancel then i need to redirect him some other page say error.jsp
I am trying as shown below

public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws IOException, ServletException {


String url = "/jsp/message.jsp";
/*HttpServletResponse httpRes = (HttpServletResponse)response;
httpRes.sendRedirect(url);*/

RequestDispatcher requestDispatcher = request.getRequestDispatcher(url);
requestDispatcher.forward(request, response);
if(gotOKfrom message.jsp){
return or chain.doFilter(request, response);

} if( got cancel from message.jsp){

RequestDispatcher requestDispatcher = request.getRequestDispatcher("error.jsp");
requestDispatcher.forward(request, response);

}


System.out.println("am here returned..");
/chain.doFilter(request, response);
}




*****************

Please let me how to read what option user has selected from message.jsp

thanks
Advance
9 years ago
Anybody has an idea about this.
Please help
9 years ago
Hi

I need to get list of users(basically list of email addresses of users) who are members of AD group
Please help with sample Java program to list all the user info below to group

My AD sever has a group with name "MyGroup" and has two members "user1" and "user2" can I able to read the email ids of the user1 and user2 by querying AD sever with group name MyGroup

Thanks in advance

Satish
9 years ago
Hi,
I have a list of list as shown below :

FS1[[T1, 5][T2, 5]]
FS2[[T1, 7][T2, 7]]
...
..
..

I need the sum of FS's
FS2[[T1, 12][T2, 12]]

More details.....


resultFS should be FS2[[T1, 12][T2, 12]]
11 years ago