Hi Scott,
If you choose to use the Struts html:form tag, you must declare the
corresponding definition in the form:beans section of the struts-config
file. That's the way the framework behaves as I've used it.
HTH,
-- Curtis
Scott Purcell wrote:
First off, as I am learning Struts I just wanted t
Shot in the dark here:
IIRC, you don't need the ampersand after the initial question mark in
the request URL. Try killing that & see what happens...
Good luck,
-- Curtis
Eric Lemle wrote:
Can anyone tell me why this
VeselovaNataliaECV.doc
works perfectly.
But this.
function printAtta
Hi Tim,
Scott's response pretty much covers the meat & potatoes. The leading
"dot" naming convention is optional; some folks use it to clarify path
confusion among Struts webapp files. I personally don't; the "dot"
delimiter within the name does the job well enough for my usage.
HTH,
Curtis
Tim
What's the <%=header%> expression do? You've already closed the
bean:include tag.
Have you looked at the SSLExt library (http://sslext.sourceforge.net/)?
Enquiring minds need to know ;-)
David Kennedy wrote:
I have a jsp which is trying to include a simple nav bar across the top
of the screen:
I agree with Christian. I've found an XML validation website/tool which
is invaluable when you're brain-dead & still required to write code:
http://www.stg.brown.edu/service/xmlvalid/
HTH,
Curtis
Christian Bollmeyer wrote:
On Friday 04 February 2005 22:53, Soaring Eagle wrote:
Check the syntax of
Hi Derrick,
You have to declare your properties file in your web.xml. Assuming it's
called "ApplicationResources.properties," and lives under
WEB-INF/classes, you'd do it like this:
javax.servlet.jsp.jstl.fmt.localizationContext
ApplicationResources
Just to be safe, brush up on the web.xml s
Hi Daniel,
What's in your application.xml file? That's the one which tells WS what
your context root is. In your case it would need to be "StatusInquiry"
(sans quotes).
HTH,
Curtis
Daniel Kalcevich wrote:
I am currently trying to deploy a Struts 1.2.6 to a WSAD 5.0 Server.
The application starts
Hi Tim,
One (maybe obvious) question:
Does your tiles-defs.xml definition for "public.error" have a path to
your jsp?
If not, that could wreak all kinds of error havoc...
Tim Christopher wrote:
Hi,
I'm trying to setup custom error pages using Tomcat but keep on
getting the following error:
[EMAIL
I think Mr. McClanahan summed it up nicely ;-)
Alex Kravets wrote:
So what do you guys think?
http://www.theserverside.com/news/thread.tss?thread_id=31509
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Hi Hubert,
Thanks for the reply; very helpful & much appreciated (as is all your
work ;-).
I've done a bit more gumshoeing; it seems to me the html:javascript
tag's exception handling is a bit different than other Struts tags. I
discovered that the reason that the html:javascript tag printed th
Hello,
Here's (what I hope to be) a simple question:
What causes the tag to fail & interfere with the http
response by writing raw text to it?
I've seen only 2 posts regarding this issue, but I'm relatively certain
there must be more...
Any insights or clarifying questions more than welcomed,
Hi Nathan,
Two suggestions:
1.) Mastering Regular Expressions by J.E.E. Friedel
(http://www.amazon.com/exec/obidos/ASIN/0596002890/qid=1105937543/sr=2-1/ref=pd_ka_b_2_1/002-6332011-0856023)
2.) Kodos (http://kodos.sourceforge.net/home.html)
Good luck,
Curtis
Nathan Coast wrote:
Hi,
I have a price
Hello,
This error implies Digester has a problem with your struts-config.xml
file. If you post your struts-config.xml in its entirety it may help the
group determine what that problem is.
HTH,
Curtis
Avinash Sridhar wrote:
Hi,
Thanks for the suggestionsAfter I add
to the struts-config.
Hi Oleg,
Have a look here:
http://wiki.apache.org/struts/StrutsCatalogLazyList
I've found these techniques to be invaluable.
HTH,
-- Curtis
Oleg wrote:
I am initializing ArrayList fields in reset(), but code is ommited.
I wish it was that easy :)
---
Hi Mark,
Try changing the 'forward' to 'action' in your html:link tag:
Sign in
HTH,
Curtis
Mark McWiggins wrote:
... as I seem to get stuck on the simplest things.
For example:
Sign in
Thanks,
Mark McWiggins
425-369-8286
-
Hi Joe,
Thanks for the clarification; looks way interesting!
One (rather pointed) question: Being that RequestProcessor is one of the
primary extension points for the Action servlet, how will this new API
affect HTTPS protocol handling? I assume that the SSLExt library will
have to be completely
Hi,
You *cannot* directly add parameters to an http request inside an Action
class. You *can* add attributes to the request context (that's what
HttpServletRequest was designed for).
So, in your JSTL-aware page, access your request *attribute*:
or
HTH,
Curtis
dsarris wrote:
I do not thing th
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %>
<%-- ${entry.key} is the current key --%>
<%-- ${entry.value} is the associated bean array --%>
See the API docs for the LoopTagStatus interface: http://tinyurl.com/542tw
"Erik Weber" <[EMAIL PROTECTED]> wrote in
Hey Michael,
ActionMapping is a subclass of ActionConfig, right? So if you use a similar
construct for your mapping as for your form config, it *might* work (caveat:
superficial API scan only; no testing). It's just a question of where in
your food chain you do it (inside your Action class execute
from the "form-bean" element
>
> Also "contextRelative" in the "forward" element is now considered
> "deprecated" and a new "module" attribute added.
>
> The only other thing I did was change references to ActionError to
> Actio
Hi everyone,
After a cursory check of the Wiki & Struts site, I have a question for the
collective expertise in the group.
I'd like to leverage all the new features & fixes available in the 1.2.1
release by upgrading my existing app. Here's what we're running now:
Struts/Tiles 1.1
sslext for Str
Hi Dave,
Tiles seem(s) to have particularly needy scoping issues. Try setting attributes
for the particular Tile you're inserting in your .jsp, then do a
You may also want to consider using messages as opposed to errors, AFAIK, errors
are or will be deprecated.
HTH (& I'm not too off-base),
Hi Julio,
There are 2 ways I'm aware of:
1.) In your struts-config.xml action-mappings, add a "success" mapping that
points to your mapping path; i.e.:
Then, in your action class, return mapping.findForward("Success");
and you're done. (Note the ".do" required in the forward; thanks
Hi San Pedro,
This is an HTML question: the "size" attribute refers to the number of rows of
data visible in the select box, not the physical width on the page.
HTH,
Curtis
Santhosh P wrote:
Hi,
I have a select box in jsp page having data loaded as collection and is
working well.
My problem
Hi Mike,
This is an interesting question. Using the PlugIn interface to store
"semi-static" data in the app context is a commonly accepted pattern (we use it
in the project I'm working on now). However, there's no mechanism currently
available in Struts to allow for data model change event noti
Hi Igor,
The "datafld" is, IIRC, an IE-only DOM property. I believe Struts only supports
the W3C DOM.
HTH,
Curtis
--
c dot tee at verizon dot net
Igor Antonacci wrote:
Not exactly.
I'm trying to bind a textbox to a MS DataSource (DSO) on browser side;
Just downloading a XML (DSO) as part of HTM
You're creating the bean "status" in the varStatus declaration in your c:forEach
action. It's in scope in the loop as "status" already, so you don't need to
re-initialize it. You can access its attributes inside your loop:
...etc.
Just curious; what're you trying to do inside the loop?
Curt
Sandeep's correct; from the W3C website:
"Every form must be enclosed within a FORM element. There can be several forms
in a single document, but the FORM element can't be nested."
Curtis
--
c dot tee at verizon dot net
Takhar, Sandeep wrote:
something about having forms in forms that I don't th
Hi Mike,
Go here:
http://www.husted.com/struts/tips/007.html
Curtis
--
c dot tee at verizon dot net
Mu Mike wrote:
> I m using a htmol:multibox tag, I want the check boxes checked or
> unchecked every time differently accoriding to the data I have in my jsp
> file, I m using an action form ,i
29 matches
Mail list logo