struts Questions

3

Solved

I show the error in detail as follows. cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'. One of { "http://java.sun.com/xml/ns/javaee":description, "h...
Moonshine asked 11/8, 2011 at 7:17

4

Solved

Is there a way to get which JSP is currently rendered, with JSTL or Struts (or without)? like _ _ file _ _ in Python and PHP?
Allegory asked 14/5, 2009 at 13:10

4

Solved

I've a web application which uses framework like Struts and Hibernate. Currently I'm developing a scheduler for this application using Quartz. While coding I realized that the use of Hibernate sess...
Othilia asked 15/12, 2010 at 2:4

15

I have a struts-based webapp, and I would like the default "welcome" page to be an action. The only solutions I have found to this seem to be variations on making the welcome page a JSP that contai...
Hypoplasia asked 2/9, 2008 at 12:40

4

Solved

i was wondering how to and what the prefered way of integrating an Struts 1.x application with Spring 3.x so we can benefit from the IOC stuff.
Leukoderma asked 29/4, 2011 at 18:32

3

Looking through some legacy code I have in front of me using struts one, I see: <global-forwards> ... <forward name="accessDenied" path="/www/jsp/AccessDeniedForm.do" redirect="true" /&...
Iva asked 27/3, 2012 at 8:37

3

Solved

I've been having some problems with ActionMessages created during execution of an action which didn't display, and I found out that my problems were due to my forwards having redirect=true in strut...
Lockout asked 5/3, 2009 at 12:10

10

Solved

If I have an action where the result is a redirectAction to another action in a different class, is it possible to get validation errors to display in the resulting action? E.g. in the following ex...
Hellenize asked 1/7, 2009 at 16:29

2

Solved

I'm getting a 'No thread-bound request found' error in my web app and hoping to get some help. I'm trying to use struts2 + spring + hibernate, and use spring to manage the hibernate session factory...
Page asked 11/1, 2010 at 1:54

1

I recently inherited a very old code base (written in 2006) that uses the spring framework. Right now, the goal is to get it semi-functional, which I've almost done. However, there is some code I c...
Maomaoism asked 26/11, 2015 at 2:6

6

Solved

What is the major difference between the Spring MVC and Struts MVC?
Brister asked 30/5, 2011 at 6:35

2

Solved

I've come across answers for Struts 2.x but none for struts 1.x. All I need to do is select a default value on page load using 1.x of an HTML:SELECT tag that uses an optioncollector: <html:sel...
Anselme asked 3/8, 2011 at 20:10

1

I'm new to AngularJS and client side stuff and I'm adding a new page to an old application that uses Struts 1.3 as its framework. I would like to use AngularJS for the front end. I know how to retu...
Ashkhabad asked 3/2, 2015 at 18:58

3

Solved

I am developing a Struts based application. I am new to Struts. I want to use html tags , specified in a taglib directory provided by Struts, in a JSP page. But don't know how to use it. I know ho...
Armure asked 6/3, 2010 at 15:32

1

Solved

I am fairly new in Java EE web service. Right now we have a project to create an API web service that connects to a database and do some retrieve and write functions. I've heard about the followin...
Spurgeon asked 12/8, 2015 at 8:12

3

Solved

I'm new to Java and Hibernate (being a Rails and C# developer). Anyway, I have a test program that works fine with Hibernate but my actual web app (Struts 1) crashes with: SEVERE: Servlet.service(...
Joanejoanie asked 24/2, 2011 at 15:13

2

Solved

I'm developing a simple "Book Store" project using Struts 1.3 + JPA (with Hibernate as persistence provider). I cannot switch to Spring or any other more sophisticated development environment (e.g....
Deadradeadweight asked 25/2, 2013 at 16:11

3

Solved

I know how to upload a file: <html> <head> <title>File Uploading Form</title> </head> <body> <form action="UploadServlet" method="post" enctype="multipart/...
Reedy asked 28/6, 2015 at 12:45

1

Solved

Im using ExtJS and Struts1 for an application, when user uses this app in english and displays the combobox (inside form), the selection is in another language (spanish) but not in english. After s...
Cady asked 21/5, 2015 at 9:7

4

Is there a configurable way in Struts 1.x so my action classses are only executed on HTTP 'POST' only. I understand I can use request.getMethod() within my action class and then do certain 'stuff'...
Blowzy asked 15/6, 2009 at 14:37

3

Solved

What role is Spring taking in Struts + Spring + Hibernate?
Odorous asked 2/10, 2008 at 13:37

2

Solved

I have a large application that is using Java on the backend and struts, Jsp and JSTL tag library on the front end. Database is DB2 and we rely heavily on Stored procedures. We are planning ...
Distil asked 24/2, 2015 at 13:35

1

Solved

I have this project was working fine in Jetty, recently as requested, I'm testing it on Tomcat, but I found a problem. We're using Struts 2, and the action mapping is defined with no extension, suc...
Platinumblond asked 3/1, 2015 at 10:0

5

Solved

I am passing param value in include tag in jsp page like below <s:include value="../../commonjspf/status.jspf"> <s:param name="mystatus" value="%{status}"> </s:param> </s...
Phenol asked 11/11, 2011 at 10:37

4

I was recently asked in an interview - In java, how do you compare component based frameworks to request based frameworks? I explained EJB as an example of Component based framework and Struts as a...
Snodgrass asked 8/8, 2009 at 0:44

© 2022 - 2024 — McMap. All rights reserved.