Re: Off topic:cookies nightmare!!!!!!!!

2002-04-29 Thread Jay sissom
I'm not sure why your P cookie isn't showing up, but the JSESSIONID cookie is a session cookie so it is only maintained in RAM and never gets written to disk. If you don't set the max age, the cookie only lives for the current session. To figure out why the P cookie isn't working, turn on

RE: Inside WEB-INF or outside WEB-INF? Struts security.

2002-04-20 Thread Jay sissom
Because some web containers don't allow you to put jsp pages in WEB-INF. Tomcat does, but there is at least one other server out there that doesn't allow it. It's been discussed on this list before so you can search the archives to find out which one. If yours does and you want to put them

Re: 1001st time this question gets asked

2002-04-18 Thread Jay sissom
See below: On Thu, 18 Apr 2002, Shawn Catoe wrote: I am sure that with the activity of this list, this has been asked before. I cannot find the answer that helps me in any resources that I use (theserverside.com, jguru.com, etc). Problem: I am getting the following error when I submit my

Re: struts examples don't run in JBuilder

2002-04-16 Thread Jay sissom
Are you using JBuilder 6 enterprise? I've found that some things work if you use Tomcat 4, but nothing works if you use Tomcat 3. It seems that jbuilder has it's own classloader so the problems I've been having in JBuilder 6/tomcat 4 have to do with not finding classes. For example, if I have

Re: site hosting

2002-04-15 Thread Jay sissom
If you search the archives of this list, you'll find lots of potential places. Jay On Mon, 15 Apr 2002, Jefferson Rodrigues de Oliveira e Silva wrote: Hi guys, A friend of mine and I are developing a new application using struts, but not for any company, just for ourselves. We are

RE: [Resend]Too Slow: Debug Struts + Torque project using JBuilder5

2002-04-13 Thread Jay sissom
Which IDE's don't? If the IDE you tried didn't, it was good that you quit using it. I don't know of any current IDE that won't allow you to debug JSP's that use EJB's. None of us do that anyway because we use Struts, right? Views shouldn't talk directly to business logic. Jay On Sat, 13

RE: Business Logic Javabeans

2002-04-11 Thread Jay sissom
While I agree that all this work should be done during the action, the code that implements your business logic shouldn't be directly in the perform method of the action object. It should be in other objects that you call. This provides for re-use of the business logic and seperation

Struts 1.1b/log4j

2002-04-10 Thread Jay sissom
Can someone please point me to (or send to the list) an example log4j.properties file that will work with Struts 1.1b? I'm not sure what appenders and categories to put in there and I haven't found any documentation about it. Also, do I have to start log4j or does Struts start it

RE: Struts 1.1b/log4j

2002-04-10 Thread Jay sissom
. Is that the only one? Is this documented anywhere? Thank you very much for your help Jay On Wed, 10 Apr 2002, Zeltser, Mark wrote: Download log4j from jakarta.apache.org and read documentation on how to configure it with struts. Mark. -Original Message- From: Jay sissom [mailto:[EMAIL

RE: Struts 1.1b/log4j

2002-04-10 Thread Jay sissom
()); cat.info(...); etc. You have to make sure you have all necessary jars and property file in the appropriate places. Mark. P.S. I am running struts 1.01 with tiles -Original Message- From: Jay sissom [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002

Re: problem trying to use my own actions

2002-04-09 Thread Jay sissom
Lots of questions: 1. Is your action servlet loading? Your log files should tell you that. 2. Do you have a mapping for *.do to your action servlet in your web.xml file? 3. Did you try to access /webapp/createVenue.do (where webapp is the context name of your web app)? Jay On Tue, 9 Apr

Re: Problems changing example to use /action URL mapping

2002-04-09 Thread Jay sissom
If you are using Struts 1.1b, I've heard that /action/* mapping will not work. Struts 1.1b supports multiple config files and it determines which to use based on the path, so it will only work based on the extension. I heard this at a BOF session at JavaOne, but I haven't tried it myself.

Re: Detect stop in Action

2002-03-20 Thread Jay sissom
I've been told that if you print to the browser and get an I/O exception, they pressed the stop button. The problem with this is that you need to print something to find out. I haven't tested this so I don't know if it works at all. It's something you can try. Jay On Wed, 20 Mar 2002,

Re: Struts w/Tomcat, I know this is a dumb question but

2002-03-19 Thread Jay sissom
Yes, tomcat 4 runs on Windows 2000. Have fun with your new computer. Jay On Tue, 19 Mar 2002 [EMAIL PROTECTED] wrote: I am getting a new computer in 2 weeks for home use. I plan to develop an application using Struts and would like to use Tomcat 4.0 I don't want Windows XP installed so

Re: Stress Testing

2002-03-19 Thread Jay sissom
We've used Jmeter and it worked for us even though it is rough around the edges. You can get Jmeter from http://jakarta.apache.org/ Microsoft had a free one that integrated with their Visual Studio. From what I read, it was much more powerful than jmeter, but I don't have the article

Re: Struts Application in Production

2002-03-19 Thread Jay sissom
. Cheers, Jon Jay sissom wrote: I'm proud to announce that IU has a new Struts application in production. We started developing in Java (and Struts) about 8 months ago and in those 8 months, a team of 4-5 people built a portal for IU. There is a guest login, so you can look if you

Re: display error message

2002-03-18 Thread Jay sissom
If you read the documentation here, it will tell you exactly how to do this: http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#errors On Mon, 18 Mar 2002, Ivan Siviero wrote: A question about showing errors. let's suppose i have this page (just image the page on the browser):

Re: WebShpere 4 with Struts - Sample form question

2002-03-18 Thread Jay sissom
Here is a web page that documents how we generate an EAR file for WebSphere 4.x. http://www.indiana.edu/~sit/J2EE/WebSpherePackaging.htm It assumes that you have already created a WAR file that works. We use JBuilder 6 so some steps assume you are using JBuilder, but it really shouldn't

Re: Moving to an anchor in my JSP page.

2002-03-18 Thread Jay sissom
This question was answered on the list last week. I know because I asked it! George Papandreou answered, and I want to thank him because his answer worked. My answer is just a little different from his. In the Action method, I save a string in the request area that has the tag I want the

Struts Application in Production

2002-03-18 Thread Jay sissom
night, 8:30PM - 9:20PM in the Telegraph Hill Sheraton Palace hotel. The talk is called Migrating to the JavaTM 2 Platform, Enterprise Edition (J2EETM): Zero to Sixty in 6.1 Months. Hope to see you there. Jay Sissom Indiana University -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED

Re: Calling EJB's in struts

2002-03-17 Thread Jay sissom
What do you need to know? In the perform method of your action object, get the data you need from the form object passed to it, then create an reference to an EJB, call your business logic in your EJB, then handle the response. If you need info about how to call EJB's, I'm sure there are

RE: How to Pre-fill a formbean

2002-03-15 Thread Jay sissom
. the form bean that is instantiated will be empty unless you put data into it correct? -Original Message- From: Jay sissom [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 14, 2002 9:12 PM To: Struts Users Mailing List Subject: Re: How to Pre-fill a formbean The form bean has

Re: How to Pre-fill a formbean

2002-03-15 Thread Jay sissom
You can do it this way, but I would use a Struts tag instead of a jsp tag. Instead of using jsp:useBean and jsp:getProperty, all you need to do is bean:write name=mainForm property=mfProperty/ and that will write out the mfProperty to the JSP. Jay On Thu, 14 Mar 2002, Joe Lee wrote:

RE: How to Pre-fill a formbean - correction

2002-03-15 Thread Jay sissom
a reference to mainForm? Thanks, Phil -Original Message- From: Jay sissom [mailto:[EMAIL PROTECTED]] Sent: Friday, March 15, 2002 6:01 AM To: Struts Users Mailing List Subject: Re: How to Pre-fill a formbean You can do it this way, but I would use

Re: Problem in HTML:ERROR tag

2002-03-14 Thread Jay sissom
UserValidator.userID.must.be.entered=limoron! enter required data/li I think there was talk on this list about a way of keeping all the html in your jsp. The above way is a bit of a bodge but commonly used. --- Jay sissom [EMAIL PROTECTED] wrote: If we do that, the errors would bring like

RE: Problem in HTML:ERROR tag

2002-03-14 Thread Jay sissom
And a Tomcat issue. This is happening under Tomcat 3.2.4. On Thu, 14 Mar 2002 [EMAIL PROTECTED] wrote: It's a websphere issue. Do a search on the mail archive for websphere and null. -Original Message- From: Jay sissom [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 14, 2002 8

Re: FormBean with List of Value Objects

2002-03-14 Thread Jay sissom
http://jakarta.apache.org/struts/doc-1.0.2/struts-logic.html#iterate This has documentation on the logic:iterate tag which was designed to do this. The documentation is here. There is an example here:

Re: How to Pre-fill a formbean

2002-03-14 Thread Jay sissom
The form bean has already been created by the time your mainAction perform method is called if you have defined the form bean in your struts-config.xml file. All you would do is this: mainForm mf = (mainForm)form; // where form is passed to the perform method mf.setProperty1(asdfasdf);

Re: using image as a submit button!

2002-03-13 Thread Jay sissom
You can do it the exact same way you would do it in html, or if you want to use a tag library, you can use the html:image tag. Please read this url for more information. http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#image The jakarta site has documentation on all the tags in the

Re: Problem in HTML:ERROR tag

2002-03-13 Thread Jay sissom
If we do that, the errors would bring like this: abcderror,error,errorefgh, correct? Isn't that just as bad or worse than the null problem? We're having this problems with tomcat also. Jay On Thu, 14 Mar 2002, nsg wrote: I had met the problem. you append the

RE: Reading values from a form bean

2002-03-11 Thread Jay sissom
Or, you can do this: bean:write name=aForm property=beanProperty/ This will print out the contents of a property in the bean using the struts-bean tag library. It will call getBeanProperty() in the bean and print the results. Jay On Mon, 11 Mar 2002, Kanoza, Douglas (NCI) wrote: Insert

RE: Struts with JBuilder5

2002-03-11 Thread Jay sissom
I believe this link has the two OpenTool updates you need for Struts to work property within JBuilder 5: http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=16369 Jay On Mon, 11 Mar 2002, Robert D. Morse wrote: - Bring up JBuilder - In the left panel showing all of your files,

RE: session timeout message

2002-03-11 Thread Jay sissom
Here's how I check it on one of my applications. I always put an item in the session area when the user first starts to use the application. In every action object, I always check for that object. If it doesn't exist, I know the session expired. I have found also that sometimes

Re: How to process multiple lines data in one page?

2002-03-11 Thread Jay sissom
Look in the Struts documentation for the logic:iterate tag. This was designed to do exactly what you want to do. Jay On Tue, 12 Mar 2002, nsg wrote: Now, i want to use that display style-multiple lines in one page. for example,i hava one page to display user's basic information.

RE: Pre Populating Fields - bit of a newbie question

2002-03-05 Thread Jay sissom
You can use JavaScript only if you guarantee that every user of your application has a browser that supports JavaScript and it is enabled. You're probably OK if you are intranet, but with internet applications, you never know if someone is running WebTV or something like that. In my mind,

Re: ActionForm and default values

2002-02-23 Thread Jay sissom
I've missed most of the thread on this, but if the struts-config.xml was as you listed, wouldn't an easier way of getting the form bean be: ContactForm cForm = (ContactForm)form; where form is one of the parameters passed to the perform method? This is the way we do it in our applications.

Re: Struts tag for label

2002-02-21 Thread Jay sissom
http://jakarta.apache.org/struts/doc-1.0.2/api/org/apache/struts/taglib/bean/package-summary.html#doc.Output bean:write property=beanProperty/ Jay On Thu, 21 Feb 2002, Maris Orbidans wrote: hello What if I want to just display some property of form bean (without any input field) ? Is

Products/Companies using Struts

2002-02-15 Thread Jay sissom
A while ago, someone posted an email about products or companies that use Struts. Here are a couple to add to the list: IBM Websphere 4.0 administration tool Vectren (our power company) has a customer information system at www.vectren.com that uses Struts. Just FYI Jay -- To unsubscribe,

Re: App Design

2002-02-13 Thread Jay sissom
I read the list this morning and read 20 messages about too much traffic and then read 30+ messages that were either labelled OT (which I assume stands for off-topic) and messages like this, which are interesting but have absolutely nothing to do with Struts. This isn't a poolman, expresso,

Re: HTML / Struts Help

2002-02-13 Thread Jay sissom
You would do it the way you'd do it an any web application. Here's how I do it: All my button field names start with btn. I would name these buttons btnProcess, btnViewByOrg and btnViewByProcess (or something similar). In my perform method, I'd put code like this: String button_pressed

RE: HTML / Struts Help

2002-02-13 Thread Jay sissom
This works, but then your users MUST have JavaScript enabled or your application will not work. We try to build applications that work if users have JavaScript or don't have JavaScript. It's just as easy to check this stuff on the server. In your application, maybe you have full control

RE: if tag

2002-02-12 Thread Jay sissom
The way I do it is this: TRbean:write name=bean property=prop/nbsp;/TR No if's required and the space doesn't cause a problem when bean:write prints something 99% of the time. Jay On Tue, 12 Feb 2002, Mattos, John wrote: Hey I was actually going to use it to place an nbsp; in a cell of

Re: actions and business logic

2002-02-08 Thread Jay sissom
We also use JRF Struts. We try never to put any business logic in the action object. Action objects call boundary objects and the boundary objects call business logic controller objects. All business logic goes into the controller objects. As you can see, we build our applications based on

RE: bean write tag's format

2002-02-08 Thread Jay sissom
This has been very confusing for our users. The documentation on the web site doesn't match the released version. Would it be possible to have documentation for the release seperate from documentation for the nightly versions? It seems like it is going to be a very long time before 1.1

Re: Initializer servlet?

2002-02-08 Thread Jay sissom
In the web.xml file, you can give each servlet a loading order. Just make sure your initilizing servlet has a lower number than the struts action servlet. Jay On Fri, 8 Feb 2002, Mark Woon wrote: Hello. I've seen a few posts about initializer servlets that basically does whatever

Re: bean write tag's format

2002-02-08 Thread Jay sissom
I had 3 developers complain about the documentation not matching the 1.0.1 library! I guess they were clicking in the wrong place! Sorry for not checking my facts first. Have a good weekend Jay On Fri, 8 Feb 2002, Mark Woon wrote: Jay sissom wrote: This has been very confusing for our

Re: Multiple Forms on one JSP...

2002-02-07 Thread Jay Sissom
Maybe this code snippet is not complete, but there is only one FORM on this page. Everything between html:form and /html:form is a single form. There may be multiple html:submit tags, but there is only one FORM. I don't believe struts will work with multiple-forms, but I'm not sure. Multiple

Re: No instance for path

2002-02-06 Thread Jay sissom
Did you define the action servlet in your web.xml properly? You need to map your action servlet to a URL pattern. I put this in my web.xml file: servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class . /servlet

RE: No instance for path

2002-02-06 Thread Jay sissom
: Yes my web.xml is exactly the same as yours. All my other action mappings are working fine... (I included the contact mapping that is working perfectly). -Original Message- From: Jay sissom [mailto:[EMAIL PROTECTED]] Sent: Thursday, 7 February 2002 1:03 PM To: Struts Users Mailing

Re: RE: [Fwd: Re: Hi....]]

2002-02-04 Thread Jay Sissom
I don't agree. If you need to use scriptlets in your JSPs and you use them over and over on many pages, the scriptlet should be a tag. The tag can be reused on many pages, the scriptlet can't. Please explain why This is a bad habit. Only do it if you must. Should we only re-use code if we

Re: Struts and Borland jbuilder6

2002-02-04 Thread Jay Sissom
Make sure that the struts.jar file is in your web-inf/lib directory in your project. You do this by right clicking on the web root in the project pain, selecting properties, click on dependancies, then make sure the struts library is set to include all. When you do that, Jbuilder will

Re: Passing variables with the html:link tag, how do I do this?

2001-12-11 Thread Jay Sissom
How about doing it this way? bean:define value=next id=nextBean html:link forward=bbs paramId=page paramScope=page paramName=nextBean I haven't tested this. From reading the documentation, this is the first thing I would try... Jay - Original Message - From: [EMAIL PROTECTED] To:

Re: Websphere 4.0/IBM Web server configuration

2001-11-15 Thread Jay Sissom
platform? Include directories which contains jar files not jar files in classpath best of luck -sanjay -Original Message- From: Jay Sissom [mailto:[EMAIL PROTECTED]] Sent: 15 November 2001 15:25 To: Struts Users Mailing List Subject: Websphere 4.0/IBM Web server configuration Hello

Re: Websphere 4.0/IBM Web server configuration

2001-11-15 Thread Jay Sissom
of struts available at http://jakarta.apache.org/struts/userGuide/resources.html -moritz. -Original Message- From: Jay Sissom [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 4:25 PM To: Struts Users Mailing List Subject: Websphere 4.0/IBM Web server configuration

Re: Websphere 4.0/IBM Web server configuration

2001-11-15 Thread Jay Sissom
to Struts Users Mailing List I have no experience with WS, but there is a special WS 4 version of struts available at http://jakarta.apache.org/struts/userGuide/resources.html -moritz. -Original Message- From: Jay Sissom

Re: What is the good Weblogic version to use with Struts?

2001-11-11 Thread Jay Sissom
I am trying to deploy struts-examples on JRUN 3.0 on Win2K but it gives following error 500 Internal Server Error /struts/examples/: javax.servlet.ServletException: Compilation error occured: allaire.jrun.scripting.DefaultCFE: Errors reported by compiler:D:/Program