This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 19654

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
Similar Threads
java.lang.ClassNotFoundException: org.apachi.struts.action.ActionServlet
tld files for struts 1.3.5
Struts 1.3.5 Tiles Issue
How to Avoid directives redundancy
Why: File "/WEB-INF/struts-html.tld" not found.