Re: Query string in struts-config.xml

2001-06-24 Thread Ted Husted
Another approach is to pass the query string options using the parameter property of the action mapping, and then looking for them in your action. So, passing a parameter like task=select could also be represented as: action parameter=select

Sealing violation exception in Tomcat 4.0b4

2001-06-24 Thread Oleg V Alexeev
Hello struts-user, Has anyone answer to question about using struts in Tomcat 4.0? Today I try to migrate to the Tomcat 4.0b4 and all struts based applications throw exception at action processing step - 2001-06-24 19:15:00 StandardWrapperValve[action]: Servlet.service() for servlet

Re: initial population of html form from database --- ActionForm or ActionClass

2001-06-24 Thread Ted Husted
The reset() method is called by the Action before populating an ActionForm from the request. Generally, this should set your properties to their initial values. It should have already been called by the time Action.perform() is called. It sounds like you are doing the right thing. You should

Button forwards

2001-06-24 Thread Neil Blue
Hello, I would like to use a button type as a href, making use of the struts forward definitions. As I find that using javascript (e.g. onclick=location.href='desitination') does not work consistently across Netscape and IE. Does anyone know of a way to do this. I would have guessed that if

Re: Button forwards

2001-06-24 Thread Ted Husted
The HTML tags are designed to work within forms, and I believe you will have to submit to an Action. Otherwise, you're back to some kind of script. If creating an ActionMapping for each href you want to use is not a problem, then you could have a single RedirectAction that served all the

Re: Button forwards

2001-06-24 Thread Neil Blue
Thanks Ted, I was going to use a redirecting action, but it just felt it was a bit heavy weight considering that the href forwards are available to the html:link. Looks like I will have to use it in the end then. cheers Neil Ted Husted wrote: The HTML tags are designed to work within

Running Struts in J2EE Server

2001-06-24 Thread ihin
how can i run struts in J2EE Server...? is there any special setting to running it...? i trayed to running the example but it dosn't work the error like this A Servlet Exception Has Occurred org.apache.jasper.compiler.CompileException: c:\j2sdkee1.3\public_html\bugtracking\index.jsp(4,0)

Re: Contribution: 1) IF, AND, OR, THEN, ELSE, ELSEIF tags 2) SWITCH, CASE, DEFAULT tags

2001-06-24 Thread Wong Kok Wai
No offense, but I feel it is much better in performance to use Java scriptlets for these cases. The overhead of the tags is just too high to justify using them. __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail

Multiple Action Per Form and Image Html link questions

2001-06-24 Thread Andreas Amundin
I am looking in to using Struts as the development framework for generating pages. I have two questions: 1. How can I submit two different actions for the same form? 2. How can I submit a form using an image and html link instead of a submit button. Some elaboration for each question is in