aspose file tools*
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Blank page" Watch "Blank page" New topic
Author

Blank page

Sunil Annam
Greenhorn

Joined: Oct 05, 2004
Posts: 1
I am new to Struts. I copied example application from javaboutique.internet.com 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/submit.do why it give me a blank page.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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
Sheriff

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: http://aspose.com/file-tools
 
subject: Blank page