IntelliJ Java IDE
The moose likes Struts and the fly likes Blank page Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Struts
Reply 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: 11945
Do the example webapps inside the Struts distribution work in your environment?


Author of Test Driven (Manning Publications, 2007) [Blog] [HowToAskQuestionsOnJavaRanch]
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4695

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.
 
 
subject: Blank page
 
Threads others viewed
couldn't send request to the server.404 error recieving
Marcus exam Q12
damn the requestDispatcher
Cannot find ActionMappings or ActionFormBeans
JDK 1.4 to JDK 1.6...
developer file tools