[JBoss-user] [JBoss Portal] - Re: Determine current URI from portlet?

2006-04-04 Thread m0m0
Thanks for the reponse. Can I query the window-name property from JSP? If so, could you provide a quick sample? I'll do some digging on how to do this myself, but I'm fairly new to working with JBoss and portlets for that matter. Thanks again. View the original post : http://www.jboss.com/inde

[JBoss-user] [JBoss Portal] - Determine current URI from portlet?

2006-04-03 Thread m0m0
Hello. I'm trying to determine which page a portal user is currently on by using the following jsp statements: <% | String currentPage = request.getRequestURI(); | | if (currentPage.indexOf("News") == -1) { |... do some stuff | } else { |... do some other stuff | } | %>