I am interested in developing a portal-based application that works with EAV models and would like to know if there are any Java frameworks that aid in this type of development?
salesforce.com uses EAV and currently has twenty tables. The framework I seek should allow it to be configurable to different EAV implementations
...
I've written a fairly basic portlet using the struts portlet bridge and deployed it to liferay, navigation within my portlet seems fine, but whenever I click a link on another portlet in the portal my portlet reverts to the view action setup in my portlet.xml rather than re-rendering the existing state. What am I doing wrong?
My portlet...
New to struts
Here is the error:
Jul 30 14:42:04 ERROR http-8080-Processor18 Dispatcher.serviceAction:512 - Could not find action or result
No result defined for action com.domain.location.action.LocationAction and result input - action - file:/opt/apache-tomcat-5.5.20/webapps/location/WEB-INF/classes/struts.xml:1203:37
Here is my jsp...
I'm looking to build a Struts 1.2.x application for Websphere, using IBM's Application Server Toolkit. Are there any plugins available for this toolkit (it is a version of Eclipse) that are known to help with this type of development? I am new to Struts so I will also be learning about the technology as I go along, but I want to make it ...
Struts has a number of helpful custom JSP tags, and Struts-EL adds much needed EL support. I'm looking for thoughts on relative merits of using Struts/Strut-EL tags where available vs. just using JSTL tags.
...
We have two applications a legacy struts app and and a new Seam application. We are using Hibernate and JPA on the Seam side and want to try to do so on the Struts side. I am trying to do:
EntityManagerFactory emf = Persistence.createEntityManagerFactory("foo");
on the struts side, but I am seeing the following error:
o...
Does anyone here use Dreamweaver for Struts development? I've been working on a web application using Eclipse/vi, but want to use Dreamweaver so that I can apply some nice looking Dreamweaver templates. I looked for tutorials on Struts development with Dreamweaver, but couldn't find any, and when I tried to import my page, a lot of stuff...
I wrote a custom Struts RequsetProcessor for my application that is manually fetching some references from Spring. It is working just fine, but I would like to do the "right" thing and inject everything I need at construction time.
Is there a way to define a custom Struts RequestProcessor in a way that I can inject Spring objects into ...
I have the give description.
Project Name(List Box) --> when Project name is selected, the Client Name(with Text Field), Front End(with text Field), Back End(with Text Field), Start Date(with Text Field), Submition Date(With Text Field) should be displayed(Fields should be Non Editable)},{Manager Name(List Box) ---> when Manager Name is...
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 request based framework but was not convinced if I did justice to the question.
Any ideas on what interviewer meant and what should have bee...
Hi guys,
I'm currently developing with Struts 1 a web application. I've recently started to use AJAX technology and I'm stuck with something.
I call an action method (via AJAX) to validate my form but no values are changed in the form bean when it gets to the action method. I suppose this is because calling the action via AJAX doesn't ...
I recently added Struts 1.3 to my application on Tomcat. Here are my observations,
MVC. Servlet/JSP does this fine for me, where JSP is the view and servlet is the controller. I don't see any benefit to get the mapping from an XML file since our mapping is very static.
Action Form. I can see some benefits of action form but not huge.
T...
MyEclipse may be a good ide for struts.
But which is the best ide freely available for struts
...
As the example below, I came across this one when reading the source code of JAVA D.I.Y Forum.
<forward name="feedback" path=".page.index.feedback"/>
<forward name="group" path=".page.index.group"/>
...
The problem I have is that I need to disable struts validation when selecting certain conditions that will leave input boxes disabled and blank.
Leaving these inputs empty causes the validation to fail which is not what I need
...
Hi,
I have a code like this
<html>
<head>Title
<script>
function callme()
{
alert("Hi");
document.test.action ="testAction.do";
alert(document.getElementById("option").value);
alert('<%=request.getParameter("option")%>');
}
</script> }
</head>
<body>
<FORM method="post" name="test" >
<select name=...
I am getting null when I am using post method while passing a form to the next page
A repeat of this question
link text
<html>
<head>
Title
<script>
function callme()
{
alert("Hi");
alert(document.getElementById("prio").value);
}
</script>
</head>
<body>
<FORM method="post" name="test"enctype="multipart/form-dat...
exception
javax.servlet.ServletException: org.hibernate.exception.GenericJDBCException: could not execute query
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:286)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(A...
I have some code! The code looks like this:
<c:forEach var="element" items="%{serviceList.getServices()}">
<p>Hello!</p>
</c:forEach>
"serviceList" is a bean, with a method on it called getServices(). getServices() returns an ArrayList, so I naturally assumed that the above code would take the arraylist, and iterate through it...
As of now we are using Struts1.2.4 with java4. We want to upgrade it to Java5. Java 5 has so
many deprecated method in EE. Will struts 1.2.4 work with java 5?
...