Hi ...
I'm trying to integration SAIF plugin to intercept my struts action. I learn from
http://struts.sourceforge.net/saif/index.html
I've write configuration like this:
struts-config.xml
<plug-in className="net.sf.struts.saif.SAIFPlugin">
<set-property property="interceptor-config" value="/WEB-INF/interceptor-config.xml" />
</p...
What lines starting with <%@ should be added at the beginning of a JSP file to be able to make use of the tag.
I have added the following line to the beginning of my jsp.
<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html" %>
But Eclipse IDE says
The tag handler class for "html:link" (org.apache.struts.taglib.h...
Hi,
Is it possible to block a page when a user clicks on a link and only enable it once the response has come back from the server.
I had a problem recently where a link was clicked on a page several times resulting in two simultaneous changes.
The problem was that the page was allowing multiple submit. I have already resolved this ...
How to open One jsp from another through Struts?
For example,
I have 2 JSPs, Page1.jsp & Page2.jsp.
Page1.jsp does not contain any Form.
Page2.jsp contains a Form.
I need a link on Page1.jsp which when clicked takes me to Page2.jsp.
What are the Actionmappings needed to be added to struts-config.xml?
Update:
I t...
Are there any Struts Plugins for
Eclipse Helios - that make it easier to Navigate through Struts based
Projects? I am on an Ubuntu system.
Thanks.
...
How to find the Struts version being used in a Web Application project in Eclipse?
My struts-config.xml says
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts
Configuration 1.2//EN"
"http://struts.apache.org/dtds/struts-config_1_2.dtd">
Thanks.
...
Hi
Can I submit a simple html form with html tags and no struts tags. I'm using struts 1.0 and have a form like this:
<form action='/admin/fsubmit.html?action=search' method='post'>
<input type='text' name='keyword'>
<input type='submit' name='search' value='Search'>
</form>
I'm handling this submission with struts. but it seems ...
Hi,
I'm trying to define a id of a <nested:hidden filed in struts 1, but with styleId i receive a error:
my code looks something like this:
<nested:iterate id="otherPayList" name="myPayListForm" property="otherPayList" indexId="rowIndex">
<nested:hidden property="rowStatus"/>
.......
Any idea ?
...
I am making changes to an existing web application based on Struts1 - which already is made up of various forms & actions.
What I am trying to do is
Add a few pages for the mobile version of website.
For example, I want to add a JSP page that contains a form with a few
fields (same as that in the PC
version) with a submit b...
I'm trying to map the path /crossdomain.xml to some xml content (whether its contained in a jsp, xml, or any other files, I don't care). I'm running struts 1, and I've tried this:
<action path="/crossdomain.xml" type="org.apache.struts.actions.ForwardAction" parameter="/crossdomain.jsp">
</action>
This technique works if I replace the...
I would like to identify in my website whether the request is coming from a MOBILE or
PC.
and then store this information "somehow" -
so that I dont have to bother about MOBILE OR PC for the ENTIRE SESSION of that user.
I am able to identify whether request is from Mobile or PC, but do not know how to store this information and...
Every people talk about adobe dreamweaver... But if im developing java based web apps,
It would be a good choice?
...
I have the following:
<html:select property="myMap(abc)">
What I really need to do, however, is pull the string abc from a static member of a java class.
I thought something like
<html:select property="myMap(<%=MyClass.FIELD%>)">
, but that didn't work.
What's the correct syntax here?
...
hi expert, i need to set value for drop down box when form is load, so i'm able to create normal html element dynamically using javascript as below,
addOption(document.form[0].templateCategory,i,templateCategory[i]);
function addOption(selectbox, text, value) {
var optn = document.createElement("OPTION");
optn.text = text;
optn.v...
Hi
I have a production web application running in Tomcat. The web application uses struts 2 as MVC layer.
We had an issue wherein one of the web servers spiked to 100% cpu usage. This issue lasted for over several hours. I took the thread dump and saw over several hundred threads in runnable state and the dumps show the same stack tra...
Hi,
I just deployed an application to weblogic 10, and when I run my page, I get the custom error page with the following errror in the log.
javax.servlet.jsp.JspException: Can't insert page '/pages/header.jsp' : Software caused connection abort: socket write error
at org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(Ins...
I have to store the one String object at the application level and have to access it in the JSP page. How to do this?Please give me some sample.
...
Hello! I want to put some javascript files in one of my packages and make struts serve those on /struts/js/foo.js
Struts does that for files in 'template' package (that's where jquery plugin's files are located, guarded by struts.ui.templateDir option). However I want to put those files into another package; If I redefine struts.ui.temp...
We have been using struts 1 since long time. I don't know much about struts 2. Our company is going with component based arch. Core UI components are using struts 1. Core components will be used by old struts 1 components as well as new struts 2 components. I am not really sure if struts 1 action request can be redirected to struts 2 act...
As we all know that we rarely get a chance to learn whats out there in the enterprise world when it comes to college. In my experience I have always seen people learning Core Java and may be some other languages and when they graduate they have no Idea about this enterprise jargon. I am in that boat now. I am a recent graduate with a pr...