File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts - Pop up windows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts - Pop up windows" Watch "Struts - Pop up windows" New topic

Struts - Pop up windows

Heshawa De Silva

Joined: Jun 28, 2011
Posts: 5
I am using Struts 1.3.8.
I can open jsp files in web-inf folder using 'Actionforwards'
Now I want to open a jsp in web-inf as pop up window.

This is how my page starts.
How can I open this pop up??
Rob Spoor

Joined: Oct 27, 2005
Posts: 20275

Welcome to the Ranch!

I'll move this thread to our Struts forum.

How To Ask Questions How To Answer Questions
Rajagopal Mani
Ranch Hand

Joined: Mar 24, 2011
Posts: 84

Please clarify whether you want to open a popup from any parent window?
Aditya Keyal
Ranch Hand

Joined: Dec 01, 2008
Posts: 71
Since the JSP's placed within WEB-INF are protected you will have to use an action mapping to reach the JSP.
What you need to do is
a) Define an action path of type ForwardAction which allows you to directly goto the JSP inside the WEB-INF.
b) Call this from the current JSP using'') either onclick or on windows load.

- Aditya Webservices Blog
I agree. Here's the link:
subject: Struts - Pop up windows
It's not a secret anymore!