Meaningless Drivel is fun!
The moose likes HTML, CSS and JavaScript and the fly likes 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 "" Watch "" New topic

Sanjib Sahoo

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

<form><a href="'<%=request.getContextPath()+
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

Joined: Jan 10, 2002
Posts: 63839

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] [About Bear] [Books by Bear]
It is sorta covered in the JavaRanch Style Guide.
jQuery in Action, 3rd edition