wood burning stoves 2.0*
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
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
 
Consider Paul's rocket mass heater.
 
subject: Errors in pages that dont have actionsupport (execute java file)
 
Similar Threads
Connecting to Oracle using Struts 2
Struts2-json plugin not serializing action class to json
Version problem with com.opensymphony.xwork2 49
Struts2-requested list key 'state' could not be resolved as a collection/array/map/enumeration/
execute method of ActionSupport Class