Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

How to retrieve a struts global forward in jsp without using the html taglibrary

Avatar of TheFACTORY_Max
TheFACTORY_MaxFlag for South Africa asked on
2 Comments1 Solution1152 ViewsLast Modified:
Hello everyone,

Quick question, I have a jsp page which uses a javascript to open a popup window like this:

window.open('popup.html','name', 'height=255, width=250, address=no, toolbar=no, location=no, menubar=no, directories=no, status=no, scrollbars=no, resizable=no, modal=yes');

Now the (action)path of the page where I want this window tot popup to is defined in the global forwards of the struts framework:

    <forward name="pageEditLogo" path="/actions/pageEditLogo.do" />

I do this to keep all the workflow in one place. Normally I would use the html taglib for creating a link like:

<html:link forward="pageEditLogo" />

However this time I need the path of the forward to be retrieved, for use in the javascript, with either a taglib (other than html creating everything around it) or EL, since I want to place this path in a custom context. How do you do this?

Avatar of Mr_It

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answers