wood burning stoves 2.0*
The moose likes Struts and the fly likes i'm not able to access my Result after i execute action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "i Watch "i New topic
Author

i'm not able to access my Result after i execute action

prasad gowda
Greenhorn

Joined: Aug 17, 2010
Posts: 3
My project is consist of both strut 1 and struts2 code and when i use struts 2 action class the action is executed but the result is not mapped .??? please anyone help me..
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

Prasad welcome to javaranch.

Prasad without looking at any source code or error message its almost impossible to tell what the problem is. Can you show us the configuration of the action which is not working, the error that you are getting (in the browser or the server logs)...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
prasad gowda
Greenhorn

Joined: Aug 17, 2010
Posts: 3
<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<package name="fare" extends="struts-default" namespace="/htm/fare">
<action name="mileage" class="aero.sita.fare.misa.mileage.action.MileageAction">
<result name="success">/htm/fare/successPage.jsp</result>
</action>
</package>
</struts>

this is what i have written in my xml file and the JSP pafe is in out side webcontent in web/htm/fare
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: i'm not able to access my Result after i execute action
 
Similar Threads
Struts 2.1 Need two different success results
dwonloading issue
Model or bean class is not available to Action Class
Error while forwarding from struts.xml
How to invoke default and root namespaces?