Re: How can I get rid of the port on redirects.

2002-02-26 Thread Bill Clinton
Hi, Thanks alot to everyone who sent me ideas. As someone else mentioned. this behavior was determined by the servlet container (i am using orion), and the method pointed out by Chuck here was the location I was looking for. Basically I copied a bunch of code from RequestUtils.java, adde

Re: How can I get rid of the port on redirects.

2002-02-26 Thread Bill Clinton
Robert wrote: >Hmm.. ok maybe I'm confused here on the terminology of what you are >saying. So: > >1) is all of www.mydomain.com/app running on port 8060, or ONLY the >app/submitComplete.do ? I'm _guessing_ the whole thing is on one port. > As i mentioned in my first post, the application is runn

Re: How can I get rid of the port on redirects.

2002-02-26 Thread Bill Clinton
t;If I'm wrong here, someone let me know! > >- Robert > >-Original Message- >From: Bill Clinton [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, February 26, 2002 1:23 PM >To: Struts Users Mailing List >Subject: Re: How can I get rid of the port on redirects. > >But, isn&#

Re: How can I get rid of the port on redirects.

2002-02-26 Thread Bill Clinton
the browser, as opposed to a forward. Maybe you can with >frames, but frames isn't exactly an 'elegant' solution. > >- Robert > >-Original Message- >From: Bill Clinton [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, February 26, 2002 1:03 PM >To: Str

How can I get rid of the port on redirects.

2002-02-26 Thread Bill Clinton
Hello, I am running on port 8060, but the outside world sees my my application through a proxy run on port 80. When I set a forward to an action and use the redirect=true flag, the port "8060" gets tagged on to the redirect and it times out since this port is not open on the proxy. I am try

Re: style class not rendered for errors

2001-09-21 Thread Bill Clinton
Thinh, I doubt that the would interefere with style sheets as they are rendered on the client side. I would check these things: 1) When you select "view source" in your browser, are the error header and footer in your page the way you have them in the properties file? 2) if, instead o

Re: [ANNOUNCE] Struts Console

2001-09-13 Thread Bill Clinton
Hello, It ran fine under Redhat 7.1, other than a bunch of missing font messages. I personally did not like the way it reformatted my entire struts-config. Could this be because it is not interpreting unix text file format correctly, or does it do this on windows too? Also, it put a bu

Re: Examples anyone?

2001-09-07 Thread Bill Clinton
or hanging on and helping me out.. > >Aaron > >-----Original Message- >From: Bill Clinton [mailto:[EMAIL PROTECTED]] >Sent: Friday, September 07, 2001 8:06 AM >To: [EMAIL PROTECTED] >Subject: Re: Examples anyone? > > >Aaron, > > Lets go back to your second

Re: Examples anyone?

2001-09-07 Thread Bill Clinton
inter when you refered to the "task" iteration id. Bill Aaron O'Hara wrote: >The following is my code in the tags: > >The tasks for me: ><%=general.getTasks().size() %> > > workman! > > >The scriptlet asking for size returns 3, but the text "

Re: Examples anyone?

2001-09-07 Thread Bill Clinton
he useBean for task I get the following error: >> >>javax.servlet.ServletException: Cannot find bean task in scope null >> >>Any suggestions? >> >>Aaron >> >>-Original Message- >>From: Bill Clinton [mailto:[EMAIL PROTECTED]] >>Sent:

Re: Examples anyone?

2001-09-06 Thread Bill Clinton
Aaron, I believe the code you have should be accurate, but leave out the usebean directive for task (which isn't necessary and I think is interfering with your iteration id because it has the same id): this is assuming: 1) the method in General that returns the Arraylist is getT

Re: Concurrency and Custom JSP tags

2001-09-06 Thread Bill Clinton
>http://www.mail-archive.com/taglibs-dev@jakarta.apache.org/msg00846.html > > >-Original Message- >From: Bill Clinton [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, September 05, 2001 7:29 PM >To: [EMAIL PROTECTED] >Subject: Re: Concurrency and Custom JSP tags > > &

Re: Concurrency and Custom JSP tags

2001-09-05 Thread Bill Clinton
ghly recommend Geary's book for all Struts power users and developers, >especially in regards to custom tag development. > >Erik > > >- Original Message - >From: "Bill Clinton" <[EMAIL PROTECTED]> >To: "struts" <[EMAIL PROTECTED]>

Concurrency and Custom JSP tags

2001-09-05 Thread Bill Clinton
Hello, I have been writing my own custom jsp tags, and have recently noticed that member properties of tags seem to be retained after the tag is complete. For example, lets say you have a tag that has an optional attribute called "message", and the tag is designed to print this att

Re: display error messages for errors found in an Action

2001-09-04 Thread Bill Clinton
Hi Brian, yes, you can do this. If you have a message in your ApplicationResources file called my.test.error, you can add an error like this: errors.add("myTestField", new ActionError("my.test.error")); where the string "myTestField" is the field that caused the error. Look at the con

Re: Barracuda vs. Struts (request for review)

2001-08-27 Thread Bill Clinton
Christian, I too will have to make some time to read the whole thing later, but I also disagree with your opening comments about Struts being aimed at "Page Author" types. Using your definitions of "Page Authors" and "Java Developers", your statement is not biased, it is incorrect. I

Re: URL Encode for a JSP Page using Struts

2001-08-24 Thread Bill Clinton
class. Here is the code: ### ParameterActionForward.java ## import org.apache.struts.action.ActionForward; import java.util.HashMap; import java.util.Iterator; /** * Implementation of ActionForward that allows requestParameters * added on to the path. * * @author Bill

Re: welcome file in web.xml with pre-compiled jsp's?

2001-08-24 Thread Bill Clinton
Hello, I don't know if I understand your question completely, but are you saying that having a servlet (or the ActionServlet) as a welcome page would solve your problem? Or must it be a .jsp? I am using the ActionServlet to forward to my welcome page. I have index.do listed as my welco

Re: Relative URL problem in action taglib processing

2001-08-22 Thread Bill Clinton
David, I am doing something similiar in an application I am working on. While I am not stripping the slash, I am modifying the path returned by an action mapping by adding parameters to it without modifying any Struts code. I recommend this solution (or something similar): Write an exte

Re: Generating Dynamic Urls with

2001-08-20 Thread Bill Clinton
Hello, I don't believe you will be able to do this with the struts link tag. But it should be fairly easy to make your own custom tag that would do this. Take a look inside the source code for the link tag. Bill jigerjava wrote: > Hi all, > This my first mail to the list. I am

Re: newbie question

2001-08-09 Thread Bill Clinton
Debasish, Everyone seems to be focusing on your action or extension mappings, but most of my 404s are caused by missing JSP files. What directory is your logon.jsp in? I keep my JSPs in a /jsp directory in the main application directory, so my forward would be: I think that your forwa

Re: unsubscribe !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1

2001-08-07 Thread Bill Clinton
yes, but what exactly is the correct number of exlamation points to use in the subject of the message? Or do the number of exlamation points just decide the speed of the removal? Bill Carl Sziebert wrote: > This is a test to see how many of you actually read the content of the > messages pos

Re: Presentation Questions

2001-08-07 Thread Bill Clinton
Hiya, you can also specify additional formatting in your ApplicationResources file like this: #==# # # Html used to print out struts ActionErrors # errors.header=Please correct the following error(s) before proceedi

Re: IF statement in struts-config.xml

2001-08-06 Thread Bill Clinton
Hello, The mappings that are set up in the struts-config.xml can be modified programmatically. So, if you want to reconfigure a forward, you would not need an if statement in the struts config, but I believe you can do it in your program that references the forward. For example: Action

Re: Validation of errors and re-population of request

2001-08-03 Thread Bill Clinton
Tim, I'm not sure this will work for you, but if it does, it may be the easiest solution. I am assuming that you have a "failure" forward in the Delete action that sends the user back to the list page. Instead of mapping this forward to the list page, map it to the list action. That way

Template Question: does errorPage directive need to be placed in each page?

2001-08-01 Thread Bill Clinton
Hello, I have been using struts for a little while now, but I am just starting to try out the template tags. So far, I have been very impressed. But I have a question about the errorPage directive. I was hoping that I would only need to use it once in the template I defined, but that d

Re: Taglibs decrease the separation between designer and develope r?

2001-08-01 Thread Bill Clinton
Kusch, John wrote: > me, that's a pretty clear separation between "development" and "design". If > you argue that it's a waste of time to teach a designer the Struts taglibs, > I think it's fair to ask whether designers should even bother learning HMTL. > John, The line between designer a

Re: Taglibs decrease the separation between designer and developer?

2001-08-01 Thread Bill Clinton
Greg, I think you are exagerating a bit when you say that "Struts taglibs--and other taglibs--introduce, in essence, yet another language that we all have to learn." Comparing a handful of scripting tags that, for the most part, correspond directly to existing html tags to the learning of

Re: Stuts behind a firewall.

2001-07-31 Thread Bill Clinton
Craig, You say that "you should be able to run with no problems, without trying to access the network." But it seems to me that the internal DTDs are used only after an attempt to access them via the network times out. Am I mistaken on this? It seems that when I start my server (either

Re: Empty Page returned after Action executed

2001-07-25 Thread Bill Clinton
Hello, I have had this problem when I reference a forward that doesn't exist in my config file. You mention that your action returns a reference to "continue": (mapping.findForward("continue")) But your line in your struts-config is: rename your forward to "continue" or return a reference t

Re: Are there problems with Struts w/o an internet connection?

2001-06-29 Thread Bill Clinton
this working as designed? If so, could this dependency be mentioned more prominently in the README or documentation? Bill Bill Clinton wrote: > Hello, > Today I was without an internet connection for a while and I was > not able to start resin with my struts application. I t

Are there problems with Struts w/o an internet connection?

2001-06-28 Thread Bill Clinton
Hello, Today I was without an internet connection for a while and I was not able to start resin with my struts application. I tried to figure out the exact nature of the problem, focusing on the remote location of DTD files, but I think I might have been on the wrong track. It seems fr

Radio bution Question = How can I change the radio button name?

2001-06-14 Thread Bill Clinton
Hello - I am writing a page that has a dynamic list of questions that require radio button responses. In my actionform, I am storing the list of questions in an ArrayList of QuestionAnswer objects. These QuestionAnswer objects are basically the id of the question, the text of the question, and

Struts Datasource problem

2001-06-13 Thread Bill Clinton
Hello, I am having a recurring problem with struts and jdbc. The demo driver I am using, inet's Sprinta200, only allows 2 connections. I have my data source max set to 1, but I still get errors from the driver: java.sql.SQLException: [TDS Driver]Too many connections :3 at com.inet.tds.e.

struts-config.xml question

2001-06-08 Thread Bill Clinton
Hello, I just am starting out with struts, and I have a question. I started with this syntax in my test jsp: and this in my struts-config.xml: but I was getting this error: javax.servlet.jsp.JspException: Must specify type attribute if name is specified #