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
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
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
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
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
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
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
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
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 "
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:
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
>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
>
>
&
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]>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
#
35 matches
Mail list logo