File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes can i do this ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "can i do this ?" Watch "can i do this ?" New topic
Author

can i do this ?

Asim Zafar
Greenhorn

Joined: Jul 31, 2001
Posts: 14
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
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://aspose.com/file-tools
 
subject: can i do this ?