DataSource

2000-12-20 Thread Sayles, Scott SAXONHQ
Pardon me if I'm missing something, but is it intended that the javax.sql.DataSource be required in the ActionServlet? It's just that I downloaded a recent build and I'm now getting errors when trying to compile my actions. They relate to javax.sql.DataSource not being found on the import. Is

RE: Page Forwarding Question

2000-12-20 Thread Sayles, Scott SAXONHQ
Have the login page write a hidden field with the value of the requested url and submit it to your logon action. From your logon action you can then instantiate a new ActionForward and set the path to the requested url, as defined in the hidden form field, and return that. Alternatively, instead

RE: logic:iterate and table row renderering

2000-12-19 Thread Sayles, Scott SAXONHQ
> > I'm using the logic:iterate tag to render a table. Now > I need to show alternating colours for odd and even > table rows. How do I achieve this effect together with > the logic:iterate tag? > What you could do is create a color alternating bean. I've made one for similar uses. Here's how

RE: application architecture

2000-11-29 Thread Sayles, Scott SAXONHQ
web application development. I can see it ending up a big cluge. I'm pushing for the use of Struts to help rectify this. Thanks Scott > -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 28, 2000 7:54 PM > To: [EMAIL PRO

RE: starting the struts example with Tomcat

2000-11-28 Thread Sayles, Scott SAXONHQ
> > > > My guess is that you don't have the jaxp jar files in the CLASSPATH. > > > > tomcat should do this for you on startup--you should only > need to set the > JAVA_HOME environment variable to point to your jdk root Of course that's assuming you have the appropriate libraries under WEB-INF/

RE: starting the struts example with Tomcat

2000-11-28 Thread Sayles, Scott SAXONHQ
Dan, There was most likely an error that occurred with the startup and the java process ended. You could change the tomcat.bat file so that it doesn't run java in another window. You can just remove the DOS "start" command in the appropriate place and then run startup.bat from a command prompt.

application architecture

2000-11-28 Thread Sayles, Scott SAXONHQ
Hello, This is probably close to being off topic but... We're currently looking at building an internal application system that will be composed of functionally different components. By this I mean, for example, we'll basically have different "applications" that will be presented seamlessly to

RE: struts.upload, performance and more

2000-11-27 Thread Sayles, Scott SAXONHQ
For what it's worth, I was also experiencing serious performance problems with the multipart request handling. I ended up trying out the multipart handler stuff from "Java Servlet Programming" from Oreilly. I haven't delved deep into the code so I apologize for not providing any specific inform

multipart requests

2000-11-16 Thread Sayles, Scott SAXONHQ
the MultipartRequest stuff from Oreilly and it works fine. I know I could have done it differently, but any thoughts on what problems there might have been? Thanks Scott -Original Message- From: Schachter, Michael [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 16, 2000 2:58 PM To: &#

multipart requests / request attributes and forwarding

2000-11-16 Thread Sayles, Scott SAXONHQ
Hello, I'm facing a small dilema. I've created a struts action class that handles requests for uploading files. I'm creating some action errors using the standard struts method in which the action errors are added to an action errors object and is forwarded to a page that is using the tag. Wh

RE: struts-example question - DatabaseServlet / Digester

2000-11-02 Thread Sayles, Scott SAXONHQ
g of a deal? Any thoughts? Thanks :) Scott -----Original Message- From: Sayles, Scott SAXONHQ Sent: Thursday, November 02, 2000 9:55 AM To: '[EMAIL PROTECTED]' Subject: struts-example question - DatabaseServlet / Digester I'm just looking for a clarification of how digester

struts-example question - DatabaseServlet / Digester

2000-11-02 Thread Sayles, Scott SAXONHQ
I'm just looking for a clarification of how digester.addSetTop works in the example. >From DatabaseServlet.load() ... digester.addObjectCreate("database/user", "org.apache.struts.example.User"); dige

RE: newbie question regarding performance

2000-10-26 Thread Sayles, Scott SAXONHQ
stributed accross your whole application - for instance form validation and repopulation of for elements in the event of input errors, authenticated a user, personalizing the application look and feel or collection of clickstream information. I hope this was helpful. Larry -Original Message-

newbie question regarding performance

2000-10-26 Thread Sayles, Scott SAXONHQ
I'm relatively new to Struts and MVC based architecture for Web applications. What are the implications to using a single controlling servlet for a high volume site? i.e. do I have to worry about performace in regards to using a single ActionServlet for all our requests? Thanks Scott