Re: More on running Tomcat+Struts w/o internet connection

2001-06-25 Thread Hartmut Bernecker
Hello, I'm also interested in a solution of that problem. Admittedly the subject-matter is not the struts-config.dtd but rather any dtd of any (custom) xml-document struts works with. TIA Thomas Burns schrieb: > > My coworker posted the original question in the "Running Tomcat+Struts w/o > int

Cannot get request dispatcher for path login.jsp

2001-06-25 Thread Aaron Crandall
Hello all, I began to get the above error after adding validation code to my LoginForm bean. Detail below: I have recently begun to setup a simple struts web. I have a login page (login.jsp), an action servlet (LoginAction) and a form (LoginForm). I placed some simple validation in the LoginA

Using new instance of PropertyMessageResource

2001-06-25 Thread Sandeep . Yawale
Hi All, I want to use new instance of PropertyMessageResource in the Struts framework. For this I extended PropertyMessageResourceFactory(MYPropertyMessageResourceFactory) class and PropertyMessageResource(MyPropertyMessageResource) class. I configured in ActionServelet in web.xml to use the

RE: Help creating a portal page.

2001-06-25 Thread Mindaugas Idzelis
The template examples are not much help and I am confused. Can I insert content from an action and then forward directly to a template? Can I nest templates together? If I do nest templates together, can I pass different parameters to each one? A good solid example will help a lot! I've seen the

Re: Error: No action instance for path

2001-06-25 Thread Derek Guardiola
Is it possible to have two separate actions using the same action servlet as long as the ActionServlet is not declared as long? I'm getting the popular "No action instance for path [PATH] could be created". I've double checked the bean declaration in the struts xml, as well as double checked the

RE: Help creating a portal page.

2001-06-25 Thread George, Carl
You can do exactly what you want with templates... You can pass in a page name, or put it in the session, or wherever you can get to it, and have a content section of the template to use it dynamically. <%@ taglib uri='/WEB-INF/tlds/struts-template.tld' prefix='template' %> <

Help creating a portal page.

2001-06-25 Thread Mindaugas Idzelis
Hi. I am trying to create a portal page through struts. I am not sure how to go about it. I would like to use templates, but they seem somewhat limiting in that you must insert your templates using taglibs from a JSP page -- unless I am mistaken here. Ideally, the templates should be able to be m

Re: Form Validation

2001-06-25 Thread Ted Husted
The validate() method is called by the Action when the validate property for the mapping is true. I have more than one mapping to the same Action. The mapping to create a new form has validate=false. The mapping to insert a form has validate=true. -- Ted Husted, Husted dot Com, Fairport NY USA.

Re: Struts installation questions

2001-06-25 Thread Mike Thompson
Here is my cut and pasted answer from last week Looks like your index.jsp? Is trying to use the tag and the key does not exist in your message props file or your message prop file can not be found. In your web.xml you should have an entry application class name of your applica

Re: Best Practises for using Struts and Validators in ASP model

2001-06-25 Thread David Winterfeldt
I changed the architecture of the validation framework over the weekend. I made a class call ValidatorResourcesInitializer that will create a ValidatorResources based on a file name or an InputStream. I'm not sure how different your rules would be for each user. If it is completely different, y

Form Validation

2001-06-25 Thread Steve Taylor
When and why is form validation called when the form is instantiated. How are others getting around validation issues when a form should pass validation when there's no data, but not on a save?(i.e. when there's data) Thanks > Steve Taylor > Systems Consultant > Pangaea Systems Inc. > (250) 360

Struts installation questions

2001-06-25 Thread Ram Palagummi
Hi, I am installing Struts in our company and trying to test it. I followed all the steps mentioned in the installation guide posted at http://jakarta.apache.org/struts/installation.html. I was able to start the server without any exceptions, but I could not open the index.jsp(the first pa

problem with pre-compiling jsp pages with struts custom tags

2001-06-25 Thread Sibon Barman
I am using Tomcat 3.2.2 and Struts 1.0 for translating the jsp pages. When I compile a jsp pages containing reference to struts cutom tag library, I get the following error message: 2001-06-25 04:35:08 - Package name is: jsp 2001-06-25 04:35:08 - Class file name is: D:\web-test\Ems2.0\win\WEB-IN

RE: View data

2001-06-25 Thread Andreas Amundin
On Mon, 25 Jun 2001, Jay Walters wrote: > What do people do to handle result data which is view only. We are > thinking we will just put the model beans into our request object in the > action.perform method and pull them out to use in the jsp. Does this > make sense? Any reason we should be

RE: View data

2001-06-25 Thread John Schroeder
The application I am developing uses a lot of view only data. We are doing exactly what you mention. We have DAOs that contact the database and return CachedRowSets. These RowSet objects are stored in the proper context and custom tags on the JSP handle the display. Hope this helps... --John

Re: View data

2001-06-25 Thread Craig R. McClanahan
On Mon, 25 Jun 2001, Jay Walters wrote: > Just to bounce this off of people, the ActionForm is really just for > handling Form based input data from the user. > Yes, that is what it's designed for. > What do people do to handle result data which is view only. We are thinking > we will just

Re: Formless actions?

2001-06-25 Thread Kief Morris
Peter Alfors typed the following on 09:37 AM 6/25/2001 -0500 >The name attribute is not required. Aha, thanks, I had confused name and type. >Kief Morris wrote: >> It seems that the tag in struts-config.xml requires a form >> bean for the name="" attribute. Kief

Re: How can I pass extra information on Submit button?

2001-06-25 Thread Craig R. McClanahan
On Mon, 25 Jun 2001, Jerzy Kalat wrote: > Thank you. > > I will try it. But I thought that Struts technology tries to eliminate > JavaScripts on JSP pages. Not really ... the goal is to eliminate the need for *scriptlets* (i.e. Java code that executes on the server side as the page is being c

RE: Templates and relative paths

2001-06-25 Thread DHarty
I would also like to know why other tags (ie img) use a relative path to the calling file, while the get tags do not. For example the line in a template file: render the path relative to the file that called the template (ex /nested/body/body.jsp), whereas: renders 'body' rela

Re: How can I pass extra information on Submit button?

2001-06-25 Thread dhay
As already posted to the list, I have been working to change most of the tags to generate indexed names within an iterate loop, for just this kind of situation. I have just changed the code for submit, so that the index of your iterated collection is added to the name ie name="submit[0]" etc.

Re: Struts with a domain name

2001-06-25 Thread Rod Schmidt
I'm doing all that. Nowhere to I refer to my context name. The webserver is inserting it into the URLs when it sends the generated page back to the browser. - Original Message - From: "Yuriy Zubarev" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Rod Schmidt" <[EMAIL PROTECTED]> Sent: Mond

View data

2001-06-25 Thread Jay Walters
Just to bounce this off of people, the ActionForm is really just for handling Form based input data from the user. What do people do to handle result data which is view only. We are thinking we will just put the model beans into our request object in the action.perform method and pull them out t

Re: How can I pass extra information on Submit button?

2001-06-25 Thread Ted Husted
I don't know if this will work in the context of the rest of the page, but how about: > Jerzy Kalat wrote: > > Hi, > > I list many records on the form. Each record has 'Details' submit > button, which suppose to flip form from 'List' > mode to 'Details' mode, where only 1 record is vis

RE: How can I pass extra information on Submit button?

2001-06-25 Thread Laine Donlan
In a similar situation we have used a hidden input to do this. All you would need is a hidden input for your position and then add an onclick event to each submit button that would set the value of the input based on the index of your iterate loop. For example: form hidden - position iterate

Re: How can I pass extra information on Submit button?

2001-06-25 Thread Jerzy Kalat
Thank you. I will try it. But I thought that Struts technology tries to eliminate JavaScripts on JSP pages. What I try to figure out is how to use Struts bean tags properly, to pass information back to servlet from form. JK - Original Message - From: "David Winterfeldt" <[EMAIL PROT

Re: How can I pass extra information on Submit button?

2001-06-25 Thread Peter Alfors
You could place the id in the name of the submit button... Then the action could parse the name of the submit button that was pressed for the id There must be a better method than this... But I have not come across this before, and that is what popped in my head. Or.. If you can use javascr

Re: How can I pass extra information on Submit button?

2001-06-25 Thread David Winterfeldt
I haven't done this, but you might be able to do one of these two things. You could try using JavaScript to change the value of the action and add the params dynamically or each detail button would be a separate form. The action will be processed correctly, but since it can't automatically

Templates and relative paths

2001-06-25 Thread DHarty
I'm using templates, but I would prefer to "put" relative paths to the template vs. an absolute path. For example, a file using templates might look like: <%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

Re: How can I pass extra information on Submit button?

2001-06-25 Thread Jerzy Kalat
The only problem is, that Value of these buttons are the same, so I have to pass extra information, which record was selected - Original Message - From: "Peter Alfors" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 25, 2001 3:24 PM Subject: Re: How can I pass extra informa

Re: How can I pass extra information on Submit button?

2001-06-25 Thread Jerzy Kalat
Yes, you can see it already in my piece of code, the first - Original Message - From: "Peter Alfors" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 25, 2001 3:24 PM Subject: Re: How can I pass extra information on Submit button? > Are you going to place a button next to

Re: How can I pass extra information on Submit button?

2001-06-25 Thread Peter Alfors
Are you going to place a button next to each record in the list? Jerzy Kalat wrote: > Thanks, > > Well, I know about this solution, but they insist on button. > > - Original Message - > From: "Peter Alfors" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, June 25, 2001 3:18

Re: How can I pass extra information on Submit button?

2001-06-25 Thread Jerzy Kalat
Thanks, Well, I know about this solution, but they insist on button. - Original Message - From: "Peter Alfors" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 25, 2001 3:18 PM Subject: Re: How can I pass extra information on Submit button? > You could use a link rather

Re: Struts with a domain name

2001-06-25 Thread Yuriy Zubarev
I'm developing a web-application on my workstation and testing it by going to localhost/whatever and when I'm satisfied with results I copy it to the main server where the application is accessible trough the internet as a www.whatever.com. So my situation is similar to yours and the way to make i

Re: How can I pass extra information on Submit button?

2001-06-25 Thread Peter Alfors
You could use a link rather than the submit button. Then when you iterate through your result-set, you just add the 'id' to the link. Pete Jerzy Kalat wrote: > Hi, I list many records on the form. Each record has 'Details' submit > button, which suppose to flip form from 'List'mode to 'Details

How can I pass extra information on Submit button?

2001-06-25 Thread Jerzy Kalat
Hi,   I list many records on the form. Each record has 'Details' submit button, which suppose to flip form from 'List' mode to 'Details' mode, where only 1 record is visible with all it fields.   On my jsp page I have:                <%! WHAT SHOULD I PUT HERE TO PASS PROPERTY

RE: problem executing an example provided by bluestone.com

2001-06-25 Thread Bhamani, Nizar
Ameer,   I was going through the Struts archive and found out that you had faced similar problem that I am facing.  Can you please let me know how you managed to overcome this problem (see your email below). Note, I am using iPlanet Web Server 6.0 and not weblogic as in your error log. I gues

RE: HttpSessionListener

2001-06-25 Thread Gogineni, Pratima
Thanks - that helps. -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, June 25, 2001 11:32 AM To: '[EMAIL PROTECTED]' Subject: Re: HttpSessionListener On Mon, 25 Jun 2001, Gogineni, Pratima wrote: > Hi, > > This question is more to do with servlet

Re: HttpSessionListener

2001-06-25 Thread Craig R. McClanahan
On Mon, 25 Jun 2001, Gogineni, Pratima wrote: > Hi, > > This question is more to do with servlets & not directly related to struts > (other than that I am using struts) to develop this application. > > I was trying to find a way to detect when a session was destroyed either > because the user

RE: Multiple Action Per Form and Image Html link questions

2001-06-25 Thread Craig R. McClanahan
On Mon, 25 Jun 2001, Andreas Amundin wrote: > >From: Craig R. McClanahan > > > >On Sun, 24 Jun 2001, Andreas Amundin wrote: > > > >> 1. How can I submit two different actions for the same form? > > > >To change to a different action, you will need to change the destination > >of the form submit

Re: jsp:include limitations?

2001-06-25 Thread Craig R. McClanahan
On Mon, 25 Jun 2001, Mindaugas Idzelis wrote: > Are there any limitations when using to include content > generated by an ActionServlet? For instance, is it possible to set cookies > in an action that is included from another page? Specifically, when > is called the response is already commit

Re: Formless actions?

2001-06-25 Thread Craig R. McClanahan
On Mon, 25 Jun 2001, Kief Morris wrote: > I'm making my first Struts application, and in keeping with MVC > I want to load all of my JSP pages through actions: the Action sets > up the data the JSP page needs to display. > > It seems that the tag in struts-config.xml requires a form > bea

Re: Implementing 2 new scopes using Struts

2001-06-25 Thread Craig R. McClanahan
On Mon, 25 Jun 2001, Jonathan Asbell wrote: > I will be implementing new scopes using Struts for our unique needs, > and they need to be application server independent. > > One scope will work across (between) web-applications: Ex. user logs > on, and an object representing the users values a

Re: Struts with a domain name

2001-06-25 Thread Rod Schmidt
I am using the "page" attribute. This also happens for forms that get posted. If you look at the source that get's sent to the browser, /mycontext is getting inserted into the form actions and the URLs. Rod - Original Message - From: "Yuriy Zubarev" <[EMAIL PROTECTED]> To: <[EMAIL PROTE

Re: Struts with a domain name

2001-06-25 Thread Yuriy Zubarev
Hello Rod, When you are working with tag you can use its "page" attribute instead of "href" to specify context-relative URI. Best of luck, Yuriy Zubarev --- Rod Schmidt <[EMAIL PROTECTED]> wrote: > What do you need to do to get your struts link to work properly under a > domain name? > > I'

HttpSessionListener

2001-06-25 Thread Gogineni, Pratima
Hi, This question is more to do with servlets & not directly related to struts (other than that I am using struts) to develop this application. I was trying to find a way to detect when a session was destroyed either because the user logged out or because of a session time out or something else.

Updating in Components

2001-06-25 Thread Tom Miller
Cedric and/or other Components cognoscenti I've been experimenting with "dynamic templates" in the Components proposal code, downloaded this morning. I want to update only one frame (the "content" frame) without having to forward to a fresh copy of my page, causing the header, menu, and footer to

html:options tag and localized text as labels...

2001-06-25 Thread Jannik Nørgaard Steen
Hi struts-users,   we're trying to create a SELECT element with labels and values generated by a html:options tag.   The bean that contains the label and value properties for the html:options tag is initialized when a user logs in, providing us with information about locale in order to set

RE: HP Bluestone Struts Trailmap

2001-06-25 Thread Trieu, Danny
will this be added any time soon? -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 23, 2001 10:11 AM To: [EMAIL PROTECTED] Subject: Re: HP Bluestone Struts Trailmap I believe using request tokens to prevent duplicate submits is not covered by any of th

Struts with a domain name

2001-06-25 Thread Rod Schmidt
What do you need to do to get your struts link to work properly under a domain name?   I'm using webappcabaret and my stuff worked fine under www.webappcabaret.com/mycontext. I then got a domain name and I'm trying to run under www.mydomainname.com and I keep getting errors because the links

Struts runtime failure in custom tag 'message'

2001-06-25 Thread Hohlen, John
I'm trying to run the Struts 1.0 Example application using WebLogic 5.1 (Service Pack 8) on NT. I'm deploying the "Struts-Example" application as a .war file. I followed all the steps in the ReadMe and Install documentation. However, upon starting the server and trying access the root page, I e

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

2001-06-25 Thread Trieu, Danny
isn't the init pram of the Action servlet allow you to set no-cache on every out-going response?   like this:         nocache  true    -Original Message-From: Eda Srinivasareddy Eda [mailto:[EMAIL PROTECTED]]Sent: Monday, June 25, 2001 5:09 AMTo: [EMAIL PROTECTED

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

2001-06-25 Thread Wong Kok Wai
Just off the top of my head: First, the tag has to be instantiated, then the methods in the Tag interface are called. These already are more than a simple "if" instruction. Of course, if the JSP compiler can recoqnise these tags and optimises the code generation, then the performance issue will g

RE: Multiple Action Per Form and Image Html link questions

2001-06-25 Thread Andreas Amundin
>From: Craig R. McClanahan > >On Sun, 24 Jun 2001, Andreas Amundin wrote: > >> 1. How can I submit two different actions for the same form? > >To change to a different action, you will need to change the destination >of the form submit. This requires JavaScript at the client end. Thanks for the

Re: Multiple Action Per Form and Image Html link questions

2001-06-25 Thread Craig R. McClanahan
On Sun, 24 Jun 2001, Andreas Amundin wrote: > 1. How can I submit two different actions for the same form? To change to a different action, you will need to change the destination of the form submit. This requires JavaScript at the client end. Craig

RE: Running Struts in J2EE Server

2001-06-25 Thread Craig R. McClanahan
On Mon, 25 Jun 2001, ihin wrote: > J2EE 1.3 Beta Version (j2sdkee1.3) from SUN microsystem > If you are using J2EE 1.3-beta-1, there was a nasty error in deploytool that changed the controller servlet mapping from "*.do" to "/*.do". Try it with J2EE 1.3-beta-2. > TIA > ihin > Craig > --

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

2001-06-25 Thread Craig R. McClanahan
On Sun, 24 Jun 2001, Wong Kok Wai wrote: > 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. > Performance is one of the reasons the JSP Standard Tag Libraries effort was start

[Fwd: Struts CodeMarker]

2001-06-25 Thread Ted Husted
This contribution by Ravindran Ramaiah is now available on the More About Struts page < http://husted.com/about/struts >. Once I've had a chance to review it, I'll also consider it for the new Contrib branch of the CVS to be added this week. Any other contributions which people have sent along but

More on running Tomcat+Struts w/o internet connection

2001-06-25 Thread Thomas Burns
My coworker posted the original question in the "Running Tomcat+Struts w/o internet connection" thread, but since I'm the one trying to overcome this particular problem, I thought I'd add some more detail. First off, we're using Tomcat 3.2.1 or 3.2.2 (not sure) and Struts 1.0. The DOCTYPE line o

DTD Incompatibility With WebLogic 5.1 and Struts 1.0?

2001-06-25 Thread Hohlen, John
Has anyone ever seen the following Document Type Definition (DTD) error message upon starting the WebLogic 5.1 (SP 8) server using Struts 1.0 on NT? This occurs using both the Struts-Example and Struts-Documentation war files: "[ExternalEntity] : Could not resolve entity '-//Sun Microsystems, Inc

Re. : RE: Problem loading DATABASE: org.xml.sax.SAXException

2001-06-25 Thread mikael . lharant-unilog
Yes. I followed the instructions from a mail found in the mailing list of struts-user. It was said not to use the JAXP 1.1.1. So, I've installed the JAXP 1.0.1. I don't know if it can help you but, I have modified the database.xml file. I only keep the following lines: And I ha

Re: Formless actions?

2001-06-25 Thread Ted Husted
And, if you leave out the name tag, you should also leave out validate. The minimum Action Mapping then becomes Assuming ViewAction knows where to go afterwards. If not, you can add local forwards, or use the input or parameter properties to pass more information. Just as an aside, if you ar

Dynamic Forms

2001-06-25 Thread Andrew Paul Swift
I have a form that has a variable number of fields determined by an XML document. e.g. etc... I can't think of any ways in which to use the struts framework to handle this. If I am right in thinking that I have to hardcode a form object. Any ideas?? cheers in ad

Re: struts-example: newbie question on adding multiple users form

2001-06-25 Thread Ted Husted
The Database servlet in the example is for demonstratin purposes only. You would not want to base a production application on it. In general, you would retrieve the list of users from a data access object (in this case the Database servlet), and then set that to your ActionForm. For a select box

Re: workflow?

2001-06-25 Thread Craig Tataryn
I am currently looking at IBM's WSFL and Microsofts XLang, about half way through XLang and haven't touched WSFL... I'll keep you posted. Thanks, Marcel Andres wrote: > Hi ronel > > A good idea to find out more about 'workflow' is the Workflow Management Coalition >http://www.wfmc.org/. Th

struts-example: newbie question on adding multiple users form

2001-06-25 Thread Corneliu Rachieru
Hi, I've modified the struts example to do a couple of things for me, but now i want to add a main menu entry that will display a form which contains a select box. This select box will contain the usernames of all the users in the database. I am a bit confused on how to approach building this.

Re: Formless actions?

2001-06-25 Thread Peter Alfors
The name attribute is not required. You can leave it out, however, if you are using the html:form taglib on your page, then it will want an actionform. So in that case, you will either need to have an empty bean, or use the standard HTML tag --> without a bean. HTH, Pete Kief Morris wrote

jsp:include limitations?

2001-06-25 Thread Mindaugas Idzelis
Are there any limitations when using to include content generated by an ActionServlet? For instance, is it possible to set cookies in an action that is included from another page? Specifically, when is called the response is already commited, correct? Thank you. --min

Formless actions?

2001-06-25 Thread Kief Morris
I'm making my first Struts application, and in keeping with MVC I want to load all of my JSP pages through actions: the Action sets up the data the JSP page needs to display. It seems that the tag in struts-config.xml requires a form bean for the name="" attribute. But what if I have a view

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

2001-06-25 Thread DHarty
I agree. Add to that the fact that java script functionality is not consistent across all browsers, and some organizations refuse to allow its use in intranet applications. D -Original Message- From: bram [mailto:[EMAIL PROTECTED]] Sent: Monday, June 25, 2001 5:46 AM To: [EMAIL PROTECT

RE: Problem loading DATABASE: org.xml.sax.SAXException

2001-06-25 Thread Assenza, Chris
Have you placed Jaxp 1.0.1 (not 1.1.1) jar's in the servlets directory before firing up the server? Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, June 25, 2001 9:18 AM To: [EMAIL PROTECTED] Subject: Problem loading DATABASE: org.xml.sax.SAXEx

Problem loading DATABASE: org.xml.sax.SAXException

2001-06-25 Thread mikael . lharant-unilog
Hello! I am using STRUTS with WEBSPHERE 3.5.3. I try to use the STRUTS EXAMPLE. When I start the Default Server via the Admin Console, I have the following exception: 22/06/01 14:19 : AUDIT [uc2902/Default Server]: SRVE0091I: [Servlet LOG]: "database: Initializing database servlet" 22/06/01 1

Re: Build fails on

2001-06-25 Thread Kief Morris
I've been banging my head on this problem for several days, and have concluded that the problem is in the ordering of the jar files in the classpath. xalan.jar must precede ant's parser.jar in order for

RE: newbie question on search forms

2001-06-25 Thread Jon.Ridgway
Hi Kris, Have a look at the struts-example for 'form' examples. Then to accomplish what you wish to achieve, you would have to also use a logic:present tag to look for a bean that would contain you results. You would also have to look at the logic:iterate tag to display the results. I believe the

RE: IAS 6.0 SP2 and struts TAGLIB error

2001-06-25 Thread Matt Raible
It's a bug in iPlanet that will hopefully be fixed in either SP3 or 6.1 (this fall). When deploying, if the app server finds any jars, wars, etc. in your ear or war, it extracts them when it deploys. What I've done is to remove struts.jar from web-inf\lib and put it somewhere else on my hard dri

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

2001-06-25 Thread Assenza, Chris
Lol! I was just sitting here friday complaining "Darn I wish Struts' logic tags supported OR and ELSE! :D Thanks! Chris > -Original Message- > From: Niall Pemberton [mailto:[EMAIL PROTECTED]] > Sent: Sunday, June 24, 2001 4:28 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] >

newbie question on search forms

2001-06-25 Thread Vandenberk, Kris
Hi, I want to make a lookup screen with on top some input fields when the user pushes the submit button I want to retrieve the data from the database and display it beneath the original search fields ... Is this possible with struts, and if yes, how can I do this ? - Actionmappings ? - how to b

Re: Implementing 2 new scopes using Struts

2001-06-25 Thread Jonathan Asbell
JNDI is expensive.  Then second one is a restriction of data storage visibility to a sub-directory of a Web app.  Ex. I have a web app called myWebApp, which has its own WEB-INF directory with a web.xml inside. Below myWebApp I hav 3 directories called Jon, Nanduri, and Ted.  I want to store

RE: Implementing 2 new scopes using Struts

2001-06-25 Thread Nanduri, Amarnath
Jonathan,   >One scope will work across (between) web-applications:  Ex. user logs on, and an object representing the users values and state is  >placed into a scope where ALL WEB APPLICATIONS can see it.      Use JNDI and throw the user info up the jndi tree   I didn't understand your sec

Implementing 2 new scopes using Struts

2001-06-25 Thread Jonathan Asbell
I will be implementing new scopes using Struts for our unique needs, and they need to be application server independent.    One scope will work across (between) web-applications:  Ex. user logs on, and an object representing the users values and state is placed into a scope where ALL WEB A

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

2001-06-25 Thread Eda Srinivasareddy Eda
Hi Smith Could u please send the javascript code related to back button problem. Thanks Eda   Spencer Smith <[EMAIL PROTECTED]> wrote: 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.  

SERVLET-compile_failed: Failed in compiling template: /web/SampleClassQuery.jsp, JSP Error: Class was not found for :html

2001-06-25 Thread Brandon, Raymond
Hi everyone, I get: SERVLET-compile_failed: Failed in compiling template: /web/SampleClassQuery.jsp, JSP Error: Class was not found for :html. For the complete trace see attached file. I tried to track it down where it happens and according to what I see in my struts-config file, the error looks

Re: Query string in struts-config.xml

2001-06-25 Thread Ted Husted
It's a string, so you would have to parse it to extract multiple values. Tom Miller wrote: > > Very good! > > Is there a way to pass a Map of parameters in this way, or is it just a single one? > > Tom >

Re: Query string in struts-config.xml

2001-06-25 Thread Tom Miller
Very good! Is there a way to pass a Map of parameters in this way, or is it just a single one? Tom Ted Husted wrote: > The parameter property is not mentioned in the Users Guide (yet), but it > is in the JavaDocs. > > The parameter here was just the value "select". I call it "task" inside > th

Re: not in target list (struts - postgresql db)

2001-06-25 Thread Chuck Amadi
Hi, i have created a table and recored in PostgreSql i have exstablished a link with a previous example test thus i have 8 columns with 7 rows/tuples of information and i want to show severn records at a time. Therefore i want to sort data with the ORDER BY. I  have set ORDER BY position 8 for my

Re: Query string in struts-config.xml

2001-06-25 Thread Ted Husted
The parameter property is not mentioned in the Users Guide (yet), but it is in the JavaDocs. The parameter here was just the value "select". I call it "task" inside the Action, to leave the option of passing ?task=select as a query string. Of course, you could also call it parameter internally,

Re: Query string in struts-config.xml

2001-06-25 Thread Tom Miller
Ted I'm not following entirely, or something may be missing here. Where is the parameter name, in your case "task" specified? I don't see it in the action specification. Also, where is this feature in the documentation? TIA Tom Miller Ted Husted wrote: > Another approach is to pass the query s

RE: Running Struts in J2EE Server

2001-06-25 Thread Jon.Ridgway
Hi Ihin, I have checked the archive for this list and can find no suggestions/fixes, so I'll need to look into this one a bit more Jon. -Original Message- From: ihin [mailto:[EMAIL PROTECTED]] Sent: 25 June 2001 10:22 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Running

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

2001-06-25 Thread bram
But tags have one main advantage, the "view" builder doesn't have to understand Java and it is easy to intergrate the tags in a wysiwyg jsp editor. We use that kind of tags to make our webpages, eg see jsp and all we have to do is to make a xml based editor... with scriplets this is impossible. *

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

2001-06-25 Thread Niall Pemberton
None taken. I dont have a feel for the overhead - could you expand more. Niall > -Original Message- > From: Wong Kok Wai [mailto:[EMAIL PROTECTED]] > Sent: 25 June 2001 06:41 > To: [EMAIL PROTECTED] > Subject: Re: Contribution: 1) IF, AND, OR, THEN, ELSE, ELSEIF tags 2) > SWITCH, CASE,

Re: Build fails on

2001-06-25 Thread Joachim Gjesdal
If you are building it using Netbeans, Ant uses the Xerces in Netbeans class path, my solution was to add xalan.jar(from jaxp1.1) to \netbeans\lib\ext joachim gjesdal Kief Morris wrote: > Howdy, I'm trying to compile the struts build from CVS, and am > having major xml parser headaches. My ba

RE: Running Struts in J2EE Server

2001-06-25 Thread ihin
J2EE 1.3 Beta Version (j2sdkee1.3) from SUN microsystem TIA ihin -Original Message- From: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Sent: Monday, June 25, 2001 5:12 PM Subject: RE: Running Struts in J2EE Server Hi Ihin, Which J2EE server are you using? Jon. -Original Message- Fr

RE: Running Struts in J2EE Server

2001-06-25 Thread Jon.Ridgway
Hi Ihin, Which J2EE server are you using? Jon. -Original Message- From: ihin [mailto:[EMAIL PROTECTED]] Sent: 25 June 2001 05:59 To: [EMAIL PROTECTED] Subject: Running Struts in J2EE Server how can i run struts in J2EE Server...? is there any special setting to running it...? i traye

RE: Indexed property of ActionForm

2001-06-25 Thread Jon.Ridgway
Hi, Have you tried something like this? Jon. -Original Message- From: Thai Thanh Ha [mailto:[EMAIL PROTECTED]] Sent: 25 June 2001 09:16 To: '[EMAIL PROTECTED]' Subject: Indexed property of ActionForm I want to get value for an attribute named "vehicleTypes" in my ActionForm. This

Re: Indexed property of ActionForm

2001-06-25 Thread Linnea Ahlbeck
Hi!! Try to use a vector instead of String[]! /Linnéa - Original Message - From: "Thai Thanh Ha" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 25, 2001 10:16 AM Subject: Indexed property of ActionForm > > I want to get value for an attribute named "vehicleTypes" in my

RE: Multiple Action Per Form and Image Html link questions

2001-06-25 Thread Vijay . Meher
For the Answer to second question, use the following tag: This works as good as a submit button. -Original Message- From: Andreas Amundin [mailto:[EMAIL PROTECTED]] Sent: Monday, June 25, 2001 6:45 AM To: '[EMAIL PROTECTED]' Subject: Multiple Action Per Form and Image Html link question

RE: Digester

2001-06-25 Thread Noel Sebastien
I tried to retrieve texts like you. I think it is impossible because Digester uses Sax underneath, and it is not a intern Sax functionality. What you can do, is either to rewrite your own Digester using Sax by adding a layer that is able to accumulate text within nested tags (PCDATA) OR to redefi

RE: IAS 6.0 SP2 and struts TAGLIB error

2001-06-25 Thread Brandon, Raymond
Hi Matt, Indeed I'm running on iPlanet, but I've got a question about your solution below. After deploying my app, iPlanet has extracted all jar files under the Web-Inf\classes and Web-inf\lib folders. The struts.jar file has been extracted to the web-inf\lib location. Should iPlanet unjar all th

Digester

2001-06-25 Thread BANAS,SANDRINE (Non-HP-France,ex1)
Hi, I am using Digester to transform my own xml file which looks like : text 1 text 2 Rules are set with digester in the following way : digester.addObjectCreate(xmlpath,classname); digester.addSetProperties(xmlpath); digester.addSetNext(xmlpath, "add

RE: Struts Question

2001-06-25 Thread Tuscano, Stephen
Charles, This is a known problem. Websphere has a bug (inherited from the old version of Tomcat they used) that does not remove attributes from request scope, even though this is perfectly legal. Until Websphere fixes this, the only solution is to remove two lines from the doEndTag() method (th

Indexed property of ActionForm

2001-06-25 Thread Thai Thanh Ha
I want to get value for an attribute named "vehicleTypes" in my ActionForm. This is an array of Strings. But I don't know how to do it. Struts always reports internel server error(500) when I try to submit the form. Please help me! This is my ActionForm: -- public final clas

  1   2   >