Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

LogonView.jsp Displays A Blank Page

 
JiaPei Jen
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My LogonView.jsp displays a blank page. I have no idea why nothing is written while the MessageResources.properties file is found. (I would have gotton HTTP Status 500 if the MessageResources.properties is not found or the value of the corresponding key in the bean:message tag cannot be picked up.)
Here is my web.xml file:

Here is my MessageResources.properties file:

Here is my LogonView.jsp:

[ July 04, 2003: Message edited by: JiaPei Jen ]
[ July 05, 2003: Message edited by: JiaPei Jen ]
[ July 05, 2003: Message edited by: JiaPei Jen ]
 
Tiago Fernandez
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey JiaPei,
I think your code is right. Well, in my struts based applications, the *.properties files are located in the \WEB-INF\classes\resources directory.
Example of configuring the file \WEB-INF\classes\resources\application.properties in struts-config.xml:
...
<message-resources parameter="resources.application"/>
...
I hope it helps!
Best regards,
 
JiaPei Jen
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would have gotton HTTP Status 500 error if the MessageResources.properties file is not found or the value of the corresponding key in the bean:message tag cannot be picked up.
I do not get any error message. It is simply a blank page I got. Just cannot figure out the reason. Please help.
 
JiaPei Jen
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind. Problem solved.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic