Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Blank page

 
Sunil Annam
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do the example webapps inside the Struts distribution work in your environment?
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic