1) Can i forward the request from my JSP to another JSP located on a different machine on the internet ? (e.g if my URL is www.one.com/one.jsp can this jsp use forward tag ro forward the request object to www.two.com/two.jsp) ? 2) Can i open URL connection from my JSP to www.two.com/two.jsp ? 3) Can i open sockets, what kind of limitations are there ? any help will be highly appreciated Regards Asim Zafar.
Vlad Patryshev
Ranch Hand
Joined: Jun 30, 2001
Posts: 61
posted
0
1) Can i forward the request from my JSP to another JSP located on a different machine on the internet ? Sure you can. You can do anything that can be done in HTML. 2) Can i open URL connection from my JSP to www.two.com/two.jsp ? Yes, inside your Java code. 3) Can i open sockets, what kind of limitations are there ? This is also possible, why not. JSP is on the server side - no sandbox, basically.
Thanks,<br />Vlad
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.