RE: Java script submit on select from drop down

2001-11-20 Thread Chughtai, Imran
Instead of using your form name, try this: document.forms[0].item("RV").value RV is the name of my input box. document.forms[0] is the main form (in your case the struts form) I wrote some Javascript that access struts form elements. Imran VisualBuilder.com http://www.visualbuilder.com -

RE: ActionServlet return a pdf document

2001-11-14 Thread Chughtai, Imran
I'm looking for an HTML to PDF tool that I can run Server-side from a Servlet. It needs to take an HTML page and create a PDF. I checked out HTMLDOC but I don't think the command line version is free. Are there any others available for free? -Original Message- From: IZAGA,IGNACIO (HP-G

RE: Re-usability of struts

2001-11-13 Thread Chughtai, Imran
We had to do the same, we need a user interface and a backend set of reusable components. We are using a layered approach and having all our reusable components as Services (EJB) and Domain classes. In our App, Struts calls a Service Method(EJB) which then calls a Domain level class. The Domain c

RE: Dynamically Reading In Property Files

2001-11-13 Thread Chughtai, Imran
//Try This: import java.io.*; public class FileListing { public static void main(String[] args) { String[] fileList = null; File directory = new File("d:/temp"); if(directory.isDirectory()) fileList = directory.list(); String path = d

RE: Oracle Application Server

2001-11-13 Thread Chughtai, Imran
We are also using Oracle (Orion) App Server with Struts. JDeveloper (version 5) is used to deploy the application. Initially Tomcat was used and we move to Orion with no major problems. Location of struts.jar \Web-inf\lib\struts.jar Orion seems to be quite fast but not sure about production qual