XML/XSLT Question - Help!

2002-06-07 Thread Spencer Smith
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

Fw: The Struts-way Problem......

2002-05-06 Thread Spencer Smith
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

The Struts-way Problem......

2002-05-06 Thread Spencer Smith
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

Re: question about html:text tag

2001-07-19 Thread Spencer Smith
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

Re: NotEqual or Present?

2001-07-02 Thread Spencer Smith
  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:

Compiled JSP got too big and produced this Error/ Anyone know of a Solution/Fix?

2001-07-02 Thread Spencer Smith
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

Re: HTML:link tag

2001-06-26 Thread Spencer Smith
<%@ 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

Re: unable to programmatically perform a submit

2001-06-21 Thread Spencer Smith
// 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:

Re: General DATABASE programming question

2001-06-15 Thread Spencer Smith
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

Out of Memory Errors?

2001-06-14 Thread Spencer Smith
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

Re: Can anyone help with solving the "BACK" button problem, in th e browser?

2001-06-07 Thread Spencer Smith
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. ---

Re: Using Javascript to cancel submit?

2001-05-31 Thread Spencer Smith
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,

Re: Precompiling JSP Pages?

2001-05-31 Thread Spencer Smith
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

Precompiling JSP Pages?

2001-05-31 Thread Spencer Smith
Anyone know how to precompile the JSP pages?

Forums???

2001-05-22 Thread Spencer Smith
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?

Re: Does anyone have a example to generate a drop down list?

2001-05-21 Thread Spencer Smith
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:  

Re: Serious Page Timeout Problem with findForward() method / Need HELP!

2001-05-21 Thread Spencer Smith
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

Re: Does anyone have a example to generate a drop down list?

2001-05-18 Thread Spencer Smith
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(); 

Serious Page Timeout Problem with findForward() method / Need HELP!

2001-05-18 Thread Spencer Smith
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

Re: a small problem

2001-05-14 Thread Spencer Smith
<%@ 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

Re: Unchecking radio buttons?

2001-05-08 Thread Spencer Smith
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

Re: Unchecking radio buttons?

2001-05-08 Thread Spencer Smith
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

Re: Strut Books

2001-03-09 Thread Spencer Smith
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

Question/Problem using Multiple Select Options

2001-03-07 Thread Spencer Smith
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

struts-user@jakarta.apache.org

2001-03-02 Thread Spencer Smith
  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

Forwarding Question

2001-03-02 Thread Spencer Smith
  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.   

Re: double submission of forms

2001-03-02 Thread Spencer Smith
I'm not sure about fixing that server side, but here is some javascript to stop people from doing this: Double Posting Fix: