aspose file tools*
The moose likes Struts and the fly likes Errors in pages that dont have actionsupport (execute java file) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Errors in pages that dont have actionsupport (execute java file)" Watch "Errors in pages that dont have actionsupport (execute java file)" New topic
Author

Errors in pages that dont have actionsupport (execute java file)

E Robb
Ranch Hand

Joined: Aug 27, 2010
Posts: 111
Hi All,
I have some pages that are very simple and dont need actionsupport to use execute or prepare. Those pages I think creating a java file would be overkill so I just use a bean and grab what I need. I have noticed that the stack trace shows messages such as:

The default value expression '/login/login' was evaluated and did not match a property. The literal value '/login/login' will be used.

It appears to me that any page I have mapped that I dont have an action for throws an error. Its not a fatal error but its logged. Is there any way to tell the struts that just because I have mapped an extension such as .html or .jsp it doesnt neccessarly mean I have an action for it?

Thanks,
Earl
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Errors in pages that dont have actionsupport (execute java file)