Hi,
Problem solved by recopying the TLDs and struts.jar from struts-example.war.
Seems to be incompatibility between TLDs and tag classes.
Regards
- Original Message -
From: "Hee Meng, Poh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 18, 2001 8:49 AM
Subject: Re:
Just a thought... Tomcat puts the unsubscribe directions at the end of each
message send by the email list. I don't have an example to show, since I just
unsuscribed (just a little humor) yesterday and deleted all the old messages
from my system.
Steve
Ted Husted wrote:
>
> Noticed the same.
Hi,
Still can't see error at this point.
Okay, am I right to say that u only need to call saveErrors() if u decide to
do your own validation; the auto-validation only requires an implementation
of the validate() method which returns an ActionErrors instance?
Also, shld we now use struts.tld or
You could do something like this in the SQLResult.jsp:
pageContext.setAttribute("offset",offset,PageContext.REQUEST);
Then you could do:
Object o = pageContext.getAttribute("offset",PageContext.REQUEST);
inside SQLDisplayRowResult.jsp.
I think that would work but it might be considered a hack. T
Hi
Is it possible to pass parameter to a JSP inside a template? Or is there an
alternate way to do this.
I have a JSP page SQLDisplayRowResult.jsp, I created a link with will call
its template SQLResult.jsp passing a parameter called "offset".
SQLResult.jsp will detect if a parameter is passed
Title: Outputting JSP/Struts from XML
I am developing an MVC Model II type application (running on WebLogic/Resin/Oracle). All the JSP files are created and output from XML and XSLT files (A simple batch script outputs all the JSP pages for the app). Could Struts easily work into this methodo
Noticed the same. Even tried unsubscribing and subscribing again to see
if there was a bug in the instructions, but I didn't see anything.
*** REPLY SEPARATOR ***
On 1/17/2001 at 12:57 PM Mike Campbell wrote:
> "IH" == Irene Hernandez <[EMAIL PROTECTED]> writes:
IH> unsusc
They are used in the Template Example application, if you want to see a
set in action.
Another templating approach is Components Library for building JSP
views by Cedric Dumoulin at < http://gauss.ficsgrp.com/cdm/index.html
>.
*** REPLY SEPARATOR ***
On 1/17/2001 at 3:06 PM Dea
> "IH" == Irene Hernandez <[EMAIL PROTECTED]> writes:
IH> unsuscribe
Is it just me, or has anyone else noticed an large number of
unsubscription requests lately, all misspelled in exactly the same
manner?
>Speaking of includes, the following sentence in the documentation is
>misleading/wrong:
>From /struts-documentation/building_view.html
I'll take care of that, I'll also take care of the other documentation
problem with data sources. Thanks
I know the pages that use template tags are slow the first time you hit them
because there are normally several jsps that need to get compiled. After
that I would think it would be the same performance-wise as a jsp that does
lots of jsp:includes. Has anyone tried to use struts-templates in
produc
> All my Struts actions work OK until I inserted
in my HTML document.
After Craig fixed this for it works ok for NOT
linking to http://java/logoff.do. I am very happy to use this tag now.
But when I used:
This action still submits to: http://java/listfaqs.do
which can not be found by the act
unsuscribe
The other easy thing to forget is calling "saveErrors(request,
errors);" after you've queued them all.
*** REPLY SEPARATOR ***
On 1/17/2001 at 7:52 PM Juergen Ebert wrote:
Had the same problem today. Just forgot to include the taglib
declaration in
the JSP file ...
<%@ taglib
Do you use the nightly builds (so a one after 0.5?)
Then you shouldn't use the struts.tld.
But use one of the bean/html/logif tld's
johan
- Original Message -
From: "Juergen Ebert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 17, 2001 7:52 PM
Subject: AW: Auto Fo
Had the same problem today. Just forgot to include the taglib declaration in
the JSP file ...
<%@ taglib uri="/WEB-INF/struts.tld" prefix="struts" %>
Juergen
-Ursprüngliche Nachricht-
Von: Hee Meng, Poh [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 17. Januar 2001 17:38
An: [EMAIL PROT
The template tags in the Struts library seem a bit pokey, but there's a
lot going on there (reads one file, then merges from another). I don't
think alot of applications actually use these tags much.
I believe that any JSP is suppose to compile down to a single servlet
class file. The custom tag
Hi,
one 'cheap' work-around is to comment the tag extra info class
enumerate
org.apache.struts.taglib.EnumerateTag
JSP
collection
false
true
...
due to it seams that IPlanet6.0 has a bug in JSP-compile...
Oliver
-Ursprüngliche Nachricht-
Hi
What do you think is the over-head in using struts
tags in terms of performance? ( all tags in general )
And let us say we use a template for a page which has
a header, a side bar, a footer, a content. Each of
this gets commpiled into a class and thus a single
page is converted into a set of cl
I think the only change you need to make to get the latest builds to work
with Weblogic 6.0 is make
share\org\apache\struts\util\PropertyMessageResourcesFactory.java implement
java.io.Serializable.
here is the patch:
public class PropertyMessageResourcesFactory extends MessageResourcesFactory
imp
Hi,
we use IPLANET6.0 AS/WS and translating the struts example JSP
'registration.jsp' produces a nullpointer in the following code:
public final class EnumerateTei extends TagExtraInfo {
public VariableInfo[] getVariableInfo(TagData data) {
return new VariableInfo[] {
n
Hi Denis,
> I'm using the i18n support in Struts in my applications, and am trying to
> localize my client-side Javascript validation messages using
> . I've tried
>
>var msg='';
>alert(msg);
>
> and
>
>alert();
>
> and many other combinations, none of which worked for me. Has anyon
hello,
i've read the messages about struts and weblogic 6 in the archive but
something is not clear to me. Has Struts 1.0 code (nightly binaries) been
updated to work with weblogic 6? If so, as of what build?
thanx-
Henry
We ran across the same problem a few months ago.
The ActionSerlvet sets the current locale in the session when the first
action is called. Thereafter, the processLocale() function retrieves it
out of the session, rather than checking if the locale has changed.
We chose to over-ride the processLo
Hi,
U r right. Just found this too. But still having problem of
not producing my error messages. Digging
further...
Regards
- Original Message -
From: "Johan Compagner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 17, 2001 7:08 PM
Subject: RE: Auto Form Validatio
Hi,
I am using Struts 0.5.
I have a bean called dispProductsBean which has a hashtable called
"products".
How do I get the contents of the hashtable in my jsp page using enumerate
tag.
Here is my jsp:
<%@ page language="java" %>
<%@ page session="true" import="java.util.*" %>
<%@ taglib uri="/
Till,
You're absolutely correct - I was using comments around the
Javascript functions.
I removed them as you suggested and worked perfectly.
Thanks very much.
Denis
-Original Message-
From: Till Nagel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 8:09 AM
To: [EMAIL P
All -
I was wondering if anyone had experience with Struts as it relates to
managing the amount of objects created by the Framework. I am
relatively new to Struts as well as jsp development and would appreciate
any pointers or 'things to keep in mind' to avoid resources being
wasted.
Thanks in
Hi Denis,
you have HTML-comments around the JavaScript code, right?
So just delete them and it will work. It is not a Struts problem but a JSP
one.
If you want to support old browsers and include those HTML comments you must
use JSP Script to print it.
<%
out.println("