Raj,
I have implemented this. I have created an object called Table which holds
tabular data (typically populated from a ResultSet). This object has a
sort() method which takes the column index as a parameter and will sort the
Table according to that column index.
On the JSP side, I have 2 tag
Hi Tricia,
try adding a .do to showEmailFriend ("/util/showEmailFriend.do"). That
should solve it.
--John
-Original Message-
From: Tricia Ong Cheah Yen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 9:49 AM
To: [EMAIL PROTECTED]
Subject: Pop-Up Window
Importance: High
Here's one way to do it
function popUpWindow() {
var url = '<%=request.getContextPath()%>/myAction.do?';
var win = window.open(url,'MyWindow','width=620,height=200');
popwin.focus();
}
-Original Message-
From: Campesato, Oswald [mailto:[EMAIL PROTECTED]]
Sent: Th
Title: RE: Barracuda vs. Struts [LONG]
Juha,
Here's
one way to do so that was posted to the list recently...
struts-config.xml
=
path="/jsp/error.jsp"/>
ApplicationResources.properties
error.exception="Exception:
{0}"
Action's perform()
Try removing the *.do from the action attribute in the form tag.
Hope this helps...
--John
-Original Message-
From: Larry Maturo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 3:21 PM
To: [EMAIL PROTECTED]
Subject: problem with submit
I have the following in a form i
Hi Earl,
I've just had to tackle that same problem...
I have created a Table object that currently consists of a List of Lists. I
also have a set of tags that will display this type of object.
You can sort the table by column (currently using the MergeSort algorithm).
I haven't yet incorporate
Does anyone have experience using the transactional tokens in the action? I
have seen the example in the struts-example application and I'm still not
clear on quite how these are used.
I am particularly confused as to how I would use the tokens in a 'wizard'
style set of forms.
A good example w
Try removing the scope="request" line below. The formbean will default to
session scope (I believe). If you specify request scope, then the formbean
will be accessible on the second page, but not the third...
This worked for me after I banged my head against it as well!!
You can wrap the bean message in an html tag.
For example:
-Original Message-
From: Tom Miller [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 10:29 AM
To: struts-user
Subject: Stylesheets and bean:message
What is the technique to use for affecting tags with
stylesheets?
The application I am developing uses a lot of view only data. We are doing
exactly what you mention. We have DAOs that contact the database and return
CachedRowSets. These RowSet objects are stored in the proper context and
custom tags on the JSP handle the display.
Hope this helps...
--John
Yuri, I was successfully able to do this. Here is an example of the code
I'm using...
Hope this helps!!
--John
On the JSP:
In form bean (ActionForm):
You need a property, this example uses 'action'.
private String action;
public String getAction() {
Jonathan,
It may be a typo, but the package where struts puts the ActionServlet is
org.apache.struts.action you appear to be missing the "apache" dir. Also, I
would not recommend putting your class in the same package structure with
the same filename, as you may not get the ActionServlet that yo
Yuri,
I have run into something similar with Excel files, but I'm not sure if it
will address your current issue.
My problem: when users run a report, return to them an Excel worksheet
instead of HTML.
Our particular approach used JSP's to easily handle the formatting of the
Excel doc, but you b
13 matches
Mail list logo