Registry / web-framework / struts

struts

JSON →
library1.2.9javamavenunverified

A flexible control layer for web applications based on the Model-View-Controller design paradigm, using Java Servlets and JavaServer Pages.

<dependency> <groupId>struts</groupId> <artifactId>struts</artifactId> <version>1.2.9</version> </dependency>
INSTALL
IMPORT
SIG · STRUTS
S
struts
web-frameworkjavav1.2.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Action
org.apache.struts.action.Action

A simple Struts Action class

import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class MyAction extends Action { public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { return mapping.findForward("success"); } }
Debug
Known issues
breakingStruts 1.x is outdated and has known security vulnerabilities; consider migrating to Struts 2 or a modern framework.
fix
Upgrade to Struts 2 or use a different MVC framework like Spring MVC.
affects: <=1.2.9
Upgrade
Version history
1.2.9latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
4
Amazon
1
Resources
struts — mvn dependency:get struts · libregistry