help with installing a simple web app

2003-02-23 Thread bobd
Hi, Obviously I'm a newbie... I've successfully deployed the struts-example by placing its .war in /webapps (the machine is Redhat Linux 7.3, using Tomcat servlet container). Now I'm trying to deploy my own app, but serious obstacles have popped up. The app is compiled and configured correctly

jsp:useBean and logic:iterate

2003-02-24 Thread bobd
Hi, jsp:useBean id=currentSchedule scope=session class=edu.berkeley.eberkeley.CurrentSchedule/ The way I understand the above line is that an object reference to the Bean class CurrentSchedule is created if it does not already exist in the session (this is working). Now I want to iterate over

bean constructors and jsp:useBean

2003-03-03 Thread bobd
I have a JSP that is successfully creating an instance of a bean class in the session, but I'm failing to understand a problem with retrieving data from that bean. The bean's constructor (zero arguments) is apparently not executing defined routines. However, it can retrieve private data members

help with populating a select box from a bean

2003-03-04 Thread bobd
The following code successfully iterates over an array coursetitles stored in bean reference courseCatalog. logic:iterate id=element name=courseCatalog property=coursetitles scope=session bean:write name=element/ /logic:iterate I'm now trying to populate a select box and it looks like

xslt in jsp

2003-03-08 Thread bobd
I have a jsp that needs to retrieve XML from a bean (stored in the session) and then execute a transformation. what is the easiest way to do this? Having difficulty using xsltlib:..., as well as locating documentation on this. thanks, -b __

Re: xslt in jsp

2003-03-09 Thread bobd
-- /test:xmlConvert /test:myDesign Hope this helps, Tom On Sat, 8 Mar 2003, Jörg Maurer wrote: } definitly give JSTL a try! Myself not applied it, but read book by Bayer } Shawn - devoted taglibs to xml and xml transformation for usage in jsp. } } -Original Message- } From: bobd

parameter pass to xslt

2003-03-09 Thread bobd
I'm having some problems with passing a DOM Document as a parameter in an XSL transform. TransformerFactory tFac = TransformerFactory.newInstance(); Transformer trans = tFac.newTransformer(xsl-source); trans.setParameter(sched, w3c-DomDoc); trans.transform(DOMSource, DOMResult); Without the

relative path problem

2003-03-10 Thread bobd
This is a rather silly problem I have been putting off and now I really need to fix it... In my Struts app, bean classes are parsing and writing XML files on disk. These files are currently being pulled in using a full directory path! (i.e. /usr/local/...) Attempts to use relative paths (from

Re: relative path problem

2003-03-12 Thread bobd
using an action that gets the relative path then pass that path to the bean maybe On Tuesday 11 March 2003 6:52 am, bobd wrote: This is a rather silly problem I have been putting off and now I really need to fix it... In my Struts app, bean classes are parsing and writing XML