I have a question regarding the use of XML/XSLT. Please correct me if I am
wrong, but it is my understanding that XML does not directly support
graphics. Apparently, a new XML standard called SVG is currently being
reviewed by w3 for approval (hasn't been adopted yet) which uses scalable
vector
Does anyone know of a solution to this problem?
- Original Message -
From: "Spencer Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 02, 2002 11:30 AM
Subject: The Struts-way Problem..
> I was just thinking about how the Struts-way
I was just thinking about how the Struts-way is to have everything go
through an Action class first and then redirect to a jsp.
If you do this, then the following problem could occur:
If you are on Page A which contains a list of users and one of the columns
is Gender for example, and you leave
I believe you have to say disabled not disable
- Original Message -
From: "D M" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 1:30 PM
Subject: question about html:text tag
> Hi, I don't know if this question has been already submitted. Heck, I
> don't eve
Why not default the value to null and use the
Present/NotPresent methods?
ie.
String searchParam = null;
show this if property
"searchParam" is not present
This way, if the user never sets it, it will always be null (and
notPresent).
- Original Message -
From:
Have any of you ever seen anything like this before? I think that compiled
code for this JSP got too big.
Error: 500
Location: /eCMS/CareManager/PfPatientSummaryBody.jsp
Internal Servlet Error:
javax.servlet.ServletException: (class:
CareManager/_0002fCareManager_0002fPfPatientSummaryBody_0002
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
*make sure above line is in your jsp page
Click Here
*in order for above line to work you need to set up an action in
struts-config.xml
ie:
- Original Message -
From: "Michael Skariah" <[EMAIL PROTECTED]>
To: <[E
// Submit the form.
Submit
We use this bit of code to trigger the submit button in the body from the
top frame.
- Original Message -
From: "Norman Timmler" <[EMAIL PROTECTED]>
To: "Michelle Popovits" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 9:28 AM
Subject:
Sure. Just use something like this:
SELECT * FROM (Select * from sometable
Order by sortcolumn)
WHERE rownum>=1 and rownum<=10
This would return the first 1-10th rows of the query (sorted properly)
If you were not interested in sorting properly, you could just
This occurs when a very large query is performed. Anyone know of a way
around this?
Weblogic Output:
; nested exception is:
java.lang.OutOfMemoryError:
Start server side stack trace:
java.lang.OutOfMemoryError
Title: RE: Can anyone help with solving the "BACK" button problem, in th e browser?
That won't work. I solved the problem using
javascript. Javascript doesn't cache like JSP pages does, so you can get
around this problem using javascript.
If you want, I can send you the code I
use.
---
That is because you do not have a "return"
specified on the javascript line.
- Original Message -
From:
Steven Leija
To: Struts
Sent: Thursday, May 31, 2001 8:46
PM
Subject: Using Javascript to cancel
submit?
Hello All,
Currently I'm working on a form,
Definately need more info--Thanks!. Once you have all the jsp files
compiled into classes, do you
1> delete all the jsp files (and tomcat will automatically use these)
OR
2> is there a setting in tomcat to not auto-recompile the jsp files?
Also, what is the command line for Ant to do
Anyone know how to precompile the JSP pages?
This email list server is kind of weak in terms of threads and discussion.
Should be moved over to a Forums. I built a really good robust one. If I
get some requests, I can implement it and host it for free.
Anyone interested in moving this over to a Forums?
hy did I have to put
the line in?
THanks a lot,
Joyce
-Original Message-From: Spencer Smith
[mailto:[EMAIL PROTECTED]]Sent: Friday, May 18, 2001 11:41
AMTo: [EMAIL PROTECTED]Subject: Re: Does
anyone have a example to generate a drop down
list?
IN FORM:
Struts Version: 1.12
Tomcat: 3.2
Using: return mapping.findForward("refresh");
Keep in mind that the code does refresh o.k., however, at various times, it
never comes back...
- Original Message -
From: "Martin Cooper" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 18, 200
Title: Does anyone have a example to generate a drop down list?
IN FORM:
// Get all xxx Values for
DropDown. xxxDropDown[] results =
profileSession.getxxxValues(); //
Create the arrays for the labels and values. xxxLabels =
new ArrayList(); xxxValues = new
ArrayList();
Is there a known bug with Struts 3.2? Is there a known fix for this
problem? HELP!
I am having a major problem in my application using Struts 3.2.
The problem occurs intermittantly when calling a findForward() from my
Action class.
About every 5th time I call the Action which calls the Form
<%@ taglib uri="/WEB-INF/struts-html.tld"
prefix="html" %>
Did you include the HTML tag library file in your
JSP page?
- Original Message -
From:
Tong, Tom
To: '[EMAIL PROTECTED]'
Sent: Monday, May 14, 2001 2:24 PM
Subject: RE: a small problem
Yes, I
All you really have to do is to manually set the checkbox value to false
after you display the current value:
ie:
// notice that no value is set
<% MyForm.setMycheckbox(false) %>// do this after you display the
above line in same JSP
where:
protected boolean mycheckbox;// m
I know. Struts doesn't handle unchecked boxes very well. In fact, it
doesn't understand them at all.
What you do is grab the current value from the DB display it, and then
manually set the value to false from either a Reset() action in your FORM or
directly from your JSP.
If you don't manuall
Don't I wish!
- Original Message -
From: "Marty Fisher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 09, 2001 12:36 PM
Subject: Strut Books
> Hello,
>
> Are there any decent books on the market now that give you a detailed
> account of how to modify/extend/use the s
Help! Unable to send back muliple select options.
// Define the Array
protected String[] geography;
// Get the Array
public String[] getGeography() {
return (geography);
}
// Set the Array
public void setGeography(String[] geography) {
{ this.geography = geography; }
}
Code
Has anyone sucessfully implemented the multiple="true" using
struts?
I read the Struts docs and it says to make the getter
and setter an Array
ex.
protected String[] fieldName;
The problem is that I don't know the size of the
Array because it is dynamically being created through fields
How can I make a Action object that forwards to 1
of 2 pages based upon success or failure of the validation rules.
Ex.
If validation for *this Form fails, stay on Page
2.
or
if validation is successful, save data and forward
to Page 1.
I'm not sure about fixing that server side, but here is some javascript to
stop people from doing this:
Double Posting Fix: