File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Blank page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Blank page" Watch "Blank page" New topic

Blank page

Sunil Annam

Joined: Oct 05, 2004
Posts: 1
I am new to Struts. I copied example application from and tried to run. But it gives me blank page.
I checked for all spellings but don't have a clue that when I do http:http://localhost:8080/firstApps/ why it give me a blank page.
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Do the example webapps inside the Struts distribution work in your environment?

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

Check your console for a stack trace.

If there is no stack trace in the console, the blank page usually means that the forward that your Action is sending back does not match that of the ActionMapping in struts-config.xml.

For instance, if your Action returns mapping.findForward("success"), you'd better have a forward in your ActionForward for "success", otherwise you'll get a blank page.

A good workman is known by his tools.
I agree. Here's the link:
subject: Blank page
It's not a secret anymore!