jQuery in Action, 3rd edition
The moose likes Struts and the fly likes ForwardAction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "ForwardAction" Watch "ForwardAction" New topic


John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230
Hello, I am having a frustrating problem trying to compile my code against Struts 1.3.8. I didn't know where to post this issue, in Build tools or Struts. The code below compiles in Jdeveloper but not with mvn compile:

package com.enetrix.sis.util;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.actions.ForwardAction;

public class RedirectAction extends ForwardAction {

public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exception {
ActionForward forward = super.execute (mapping, form, request, response);
return forward;

Maven gives me "package org.apache.struts.actions does not exist" even though my pom specifies:


Anybody have any ideas?

I agree. Here's the link: http://aspose.com/file-tools
subject: ForwardAction
It's not a secret anymore!