limitha adulla

Greenhorn
+ Follow
since Jul 27, 2009
Merit badge: grant badges
For More
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 limitha adulla

Hi
I just want to call jsp page from simple java class where i don' t have any request objects. without using any servlet. Just forward to jsp page from java class.



hi Ulf Dittmer

can please tell me how to use setFollowRedirects(true) method.
hi Ulf Dittmer

Can please send me detailed code where to use setFollowRedirects(true) method i have tried but it doesn't work.
Hi all

I am very new to this site.

just want to call servelt from java class where servelt redirectd to jsp page.

I have tried to call servlet from java class using following code

URL url = new URL("http://localhost:9090/servlet");

URLConnection conn = url.openConnection();

BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));

but i am redirecting servlet to jsp page which i can't do it. Can please suggest me how to do it.