我已經配置了註釋以將值作爲文本返回。但它給了我錯誤:無法找到行動或結果。 控制檯錯誤: org.apache.struts2.dispatcher.Dispatcher - Could not find action or result
/part!finder.xhtml
No result defined for action action.PartAction and result su
如何從動作返回兩個視圖? 我試過如下,但是出現錯誤。 public ActionResult Page()
{
//LINQ x expressions
//LINQ y expressions
if (Request.QueryString["type"] == "x")
{
return View(linqExpX.ToList());