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

Window.open

Sanjib Sahoo
Greenhorn

Joined: Mar 28, 2006
Posts: 1
when i open a new window from a jsp page like this

<form><a href="javascript:window.open('<%=request.getContextPath()+
"/modules/symbol_search/index.jsp"%>','','status=yes,
resizable=yes,toolbar=yes,scrollbars=yes,width=700,height=390,
left=150,top=100');void('');">Symbol Search</a></form>

this works fine... and i have put everything in one line without spaces/


But when i make a portlet in weblogic Portal8.1 out of this jsp, the page is not opening.

Ne suggestions?
[ March 28, 2006: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60782
    
  65

Showing us the JSP source isn't all that useful. What is the rendered HTML? Are they different in the two cases where one works and one doesn't?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Window.open
 
Similar Threads
XSLT:XML Auto-Add undesirable xmlns declaraction
How do you set a javascript variable from jsp?
problem with form
Want jsp to telnet into a computer
Getting html form name