Hi all!
I still try to implement a ,real' dynamic form. So far I can build the
Form dynamically. Perform the validation dynamically. All changes can be
made by adding or deleting a database field. So you don't have to edit
the jsp or java files to change the form. But at the moment this things
Mohan,
If you use the html:cancel type of button rather than html:submit the
validation framework is not called.
If you are using client side javascript validation through the framework you
can disable validation of a button by setting the parameter bCancel=true
like this;
html:submit
How tough will it be to modify the code so as to have individual action for each
button.Well, if you can then thats the best way.Also will help in workflow (not sure
whether thats part of the project requirement).
Rahul
-Original Message-
From: Hunt, Steve [mailto:[EMAIL PROTECTED]
You can try to use the page attribute of the field element.
Only fields with a page attribute value that is equal to or
less than the value of the page property on the form JavaBean are
processed. This is useful when using a wizard approach to
completing a large form, to ensure that a page is not
Hi,
I have a struts application which i am deploying to another server which is running
Tomcat 4.1.29 via a WAR file. The application works fine except for one problem:
I have a servlet which loads on start-up via the following declaration in web.xml:
servlet
Hi,
What if it is not a 'submit' ?
Mine is like this
input type=button name=Task class=formbutton
onclick=javascript:window.open('%=request.getContextPath()%/switch.do?pre
fix=/ippage=/enforcement.do?dispatch=prepopulateTask','','width=900,
height=650, left=0, top=0, menubar=no, status=yes,
My guess is that it is finding and executing the servlet, but that something
goes wrong while the servlet is being processed. It looks like it drops down
into some JSPs, and that seems to be the source of the exception.
We need to know more about what that servlet does. I see Struts classes in
i've just this minute fixed the problem - the servlet mapping for servlets
(/servlet/) was commented out in the web.xml file in the Tomcat conf folder
for some reason - this must be what it is like when Tomcat is first
installed - knew it would be something small and annoying.
cheers :)
claire
Hi Everyone,
In my application we have an feature for downloading search results.
I am reading the contents from file and writing into response using PrintWriter,
in my action.
I have set the content type and headers as follows :
.
Hi,
I'm trying to use the validator in a form that is used in as login form
for authentication.
And the fields are not being checked.
I have this mapping on struts-config.xml
!-- Form Bean Definitions --
form-beans
form-bean name=loginForm
hi kelly,
did you integrate it into
struts-config?
--
plug-in
className=org.apache.struts.validator.ValidatorPlugIn
set-property
property=pathnames
value=/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml/
/plug-in
greetings
you could rewrite it like this
html:cancel
onclick=javascript:window.open('%=request.getContextPath()%/switch.do?pre
fix=/ippage=/enforcement.do?dispatch=prepopulateTask','','width=900,
height=650, left=0, top=0, menubar=no, status=yes,
location=no, toolbar=no,
Hi,
I'm doing something like colection forms. That means, that user has some forms (more
than 2) and goes through then. From each form he can submit data from all colection
forms to the business logic (EJB).
Problem is, that he can skip some form, which has invalid fields. Struts can via
Hi all,
I use the StrutsStudio (based on eclipse) to develop my Struts app.
The StrutsStudio uses Ant to build the WAR file. If I deploy my app
in Tomcat anything works fine, but I am not able to use my WAR file
within the WAServer from IBM. There I always get a massage that
this is not an
Yes I did. It is exactly like your application.
Matthias Wessendorf wrote:
hi kelly,
did you integrate it into
struts-config?
--
plug-in
className=org.apache.struts.validator.ValidatorPlugIn
set-property
property=pathnames
If you want to do validation conditionally, you can disable validation
in struts-config, and call 'form.validate' explicitly in the Action
class.(base on your condition)
About the 'page' attribute, what I don't understand is, how does struts
know which fields are in page 1, which fields are in
Out of the box, WAS wants an EAR file (Enterprise Application aRchive) and
not a WAR file. You could create a new 'default' EAR project and add the web
project to that ear. Then deolpy the EAR on WAS. Unfortunately, this sounds
simplerer than it really is. Are you deploying on WAS from WSAD or
Hi,
U can make war file through the the java command jar -cvf xyz.war *.*,
it will take all the files from the current root and make a war.
Now u can deploy this war file to ur WAS.
exam :
c:\app\*.jsp
c:\app\imapp\*
Note : imapp is the java package name.
go to c:\app\jar -cvf app.war *.*
what is about
name=loginForm
instead:
name = loginForm
(as action.-attribute)?
but can´t be... ?!?
-Original Message-
From: Kelly Goedert [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 11:41 AM
To: Struts Users Mailing List
Subject: Re: validation problem
Yes I did. It
I'm sorry, I didn't get what you mean... could you explain?
Matthias Wessendorf wrote:
what is about
name=loginForm
instead:
name = loginForm
(as action.-attribute)?
but can´t be... ?!?
-Original Message-
From: Kelly Goedert [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004
Shouldn't your formbean type point to the actual class loginForm instead of
org.apache.struts.validator.DynaValidatorForm, which i believe should be
in the bean code (bean extends DynaValidatorForm) ?
- Original Message -
From: Kelly Goedert [EMAIL PROTECTED]
To: Struts Users Mailing
mmm strange :-)
in your action
the is a blank
name = loginForm
try name=loginForm
okay you have DynaValidatorForm
not DynaValidatorActionForm
(it´s sometimes not clear (the differents)...)
and you have
formset
form name=loginForm
and NOT! name=/login
(what is needed for
Hi
I am getting session collusion problem , if I open my application on two
IE5.5 browsers , after some time , I am getting same values and junk values
which are not applicable for that session , but will be applicable for the
session present on other browser.
Please help, What could be the
I'm trying to define a Tag that does some work, and defines a link to
some resource. To define this link I was trying to use the struts
html:link tag in this way:
LinkTag linkTag = new LinkTag();
linkTag.setPageContext(pageContext);
On the same machine? Rather sounds like its the same session.
Im not sure about IE6, but as I recall, IE5 will share its cookies between
the various windows if cookies are enabled. If cookies are disabled then url
writing takes over (asuming youve made sure your links are re-written by
using the
Hi Guys,
Not explicity Struts related but this error is happening in my Struts Action and
someone may have come across it..
Basically I am using Commons File Uploader.
If I post a file upload to Tomcat directly, e.g http://server:8080/upload.do it works
fine
If I post a file through our IIS
Im not a JSP expert but I think you might be 'playing with fire' on that
one.
btw: Does it actually work or youve not tried it yet?
-Original Message-
From: Renato Romano [mailto:[EMAIL PROTECTED]
Sent: Friday, 16 January 2004 19:37
To: 'Struts Users Mailing List'
Subject: Ling Tag client
the first you must add the page attribute in your form bean
form-bean name=processAdditionalForm
type=org.apache.struts.validator.DynaValidatorForm
form-property initial=0 name=calculationType
type=java.lang.String /
form-property name=isTradeUnion type=java.lang.String /
snip
How do I make sure the session on both the browsers will be different other
than URL Rewriting.
/snip
This I do not know. :-(
You can take a look through all the browser options and see if there is
anything to make it associate cookies only with a specific window, but I
would be quite
Hi all,
i'd like to access my properties file from the Action. My purpose is deliver
an error message to my result page. Any sample code showing the use of the
MessageResources object ?
Regards,
ERic
-
To unsubscribe, e-mail:
Hi there! I have a page that renders all my erros, called
errors.jsp (duh!). What I'm trying to do is if the user's session has
expired, I'll forward him using a javascript, after an alert: Here's how my
code looks like:
SCRIPT
function sessionExpired(){
alert(html:errors
Hi Eric,
use:
MessageResources resources =
(MessageResources)request.getAttribute(Globals.MESSAGES_KEY);
String msg = resources.getMessage(locale, key);
Regards,
Frank
-Ursprüngliche Nachricht-
Von: Eric C [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 16. Januar
hi,
use getResources(request);
or if more then 1
getResources(request, keyOfResource);
this returns an MessageResource-Object
then you can read it.
greeting
-Original Message-
From: Eric C [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 12:42 PM
To: Struts Users Mailing
Sorry all! Eudora simply killed my text, sorry, heres the full version
Hi there! I have a page that renders all my erros, called errors.jsp
(duh!). What I'm trying to do is if the user's session has expired, I'll
forward him using a javascript, after an alert: Here's how my code looks like:
Is there an easy way to get the 'closest match' on terms of locales in the
request?
For example, my browser has it's request languages set to
Italian;French;English. My application's default properties file is in
English. There is a French properties file but not an Italian one.
So, when I ask
The approach I use when I want to leverage another tags functionality is to
nest the tag I want to use inside my own tag body. My own tag then processes
the result of the other tag.
e.g.
mytags:sometag
html:link/
/mytags:sometag
I don't know if this will help in your situation or not.
No, getMessage(locale, key) searchs for the italian file first. If it don't find it,
it will take the default file.
Regards,
Frank
-Ursprüngliche Nachricht-
Von: Paul McCulloch [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 16. Januar 2004 13:02
An: 'Struts Users Mailing List'
Betreff:
I had a similar problem.
I have two browsers opened with diferent sessions (and logged on with
different users to my app) in the same machine.
In one browser, I click a button that opens a new window (window.open in
javascript) and in this new window a submit is performed to an action of
struts.
Hi all
How do I change Struts-Menu implemention, so it can support URL ReWriting
for session tracking?
Thanks and Regards
Parag Pattewar
Persistent Systems Private Limited
Bhageerath
402, Senapati Bapat Road
Pune 411016
India
Tel: +91 (20) 2567 8900 extn. 2640
Fax: +91 (20) 2567 8901
Hi - would be very grateful if anyone has any advice on the following:
Is it possible to use values stored in the ApplicationResources file in
struts logic: and html: tags?
As a simple example, in app resources we have
system.type = type_x
in my jsp i'd like to do
logic:equals
Hi,
you can do this in this way:
bean:define id=msg
bean:message key=property_key /
/bean:define
logic:equals property=system.type value=%=msg%
...
/logic:equals
Regards,
Frank
-Ursprüngliche Nachricht-
Von: Lee H [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 16. Januar 2004 13:33
Thanks,
well my app doesn't know Globals.MESSAGES_KEY.
So I did directly :
MessageResources resources=getResources(request);
String res = resources.getMessage(errors.doublon);
- Original Message -
From: Otto, Frank [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Perhaps I have a different browser, but mine keeps asking for
/images/deniserichards.jpg
hmmm
-Original Message-
From: Max Cooper [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 7:20 PM
To: Struts Users Mailing List
Subject: Re: JSP Protection
The images are requested
If you use forwards or actions for attributes, it should do this for
you.
On Jan 16, 2004, at 5:20 AM, Parag Pattewar wrote:
Hi all
How do I change Struts-Menu implemention, so it can support URL
ReWriting
for session tracking?
Thanks and Regards
Parag Pattewar
Persistent Systems Private
Nevermind, I figured it out. Here's the syntax that works:
html:radio property=master value=%=account.getRt()%/
The documentation describes the value attribute as [t]he value of the
radio tag. That isn't very helpful.
-Original Message-
From: Eric Hodges
Sent: Thursday, January 15,
Hello Alain, Mark and Raj,
Thank you very much for your help. The link to the Sourceforge project
(http://sourceforge.net/projects/sslext/) Alain mentionned, was exactly
what I needed!! (Sorry that I didn't see Alain's thread about Mixed
protocols)
However I would like to point out it's not
I cannot use this approach, since my own tag must define a series of
links based on the state of the object it is processing. I detail my
needs also to get your help on my way of proceeding in such a situation:
I have a page several pages in fact) showing a table of results
(objects retrieved
Hello,
I get some times following error and I don't know why. :-(
Heap at VM Abort:
Heap
def new generation total 3456K, used 3064K [0x4499, 0x44d5, 0x44e7)
eden space 3072K, 98% used [0x4499, 0x44c830a8, 0x44c9)
from space 384K, 11% used [0x44c9, 0x44c9b200,
Thanks for your replay!
But that was not exactly what I was looking for ;)
Maybe my description wasn't clear enough!
So I'll try again:
1. I can create a WAR file using ANT (see Appendix: ANT)
2. I can deploy it in Tomcat
3. I can not deploy it in WebSphere!
Error message: missing DTD ~
Hello,
We are in the process of developing a Struts web application running on
Jrun 4. As we add more components to the struts configuration file,
particularly dynaform properties, the startup time for the server is
increasing. We've now hit a time out and receive the following error:
The
Hello All,
I am using Struts with Tiles to build a nested layout, and have hit some wierdness:
any comments/help much appreciated.
Background: I'm constructing a webapp allowing a 'client' to view useful info (e.g.
about their account), and also allowing an 'admin' to view the client's info.
I
Sometimes bad things happen to good JVMs...
Ive had a few 1.4.something JVM crashes myself though I didnt take note of
the error. (Just figured it was because of win98!)
Dont have any help to offer :-( , but for others who might, what OS are you
running on (etc...)?
-Original Message-
Websphere 4 is 2.2 not 2.3 compatible.
Mike
Oliver Thiel [EMAIL PROTECTED]
16/01/04 14:18
Please respond to
Struts Users Mailing List [EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
Subject
AW: Tomcat -- IBM WebSphere Application Server 4.x
Thanks for your replay!
But that was not
I run suse 8.1...
-Ursprüngliche Nachricht-
Von: Andrew Hill [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 16. Januar 2004 15:31
An: Struts Users Mailing List
Betreff: RE: java virtual machine crashed
Sometimes bad things happen to good JVMs...
Ive had a few 1.4.something JVM crashes
Two months ago, I had to configure a Struts application on a JRun Server
and I had some problems to make it work correctly.
If your using Tomcat then some of the libs will be in its proper location
/WEB-INF/lib (commons-*, struts-*, and some other) but on Jrun I had to
place
You have the source to struts and the source to struts-menu, grab the code
from struts and plug it into struts-menu and submit a patch. You might need
a menu-config.xml option to indicate that you will be url rewriting.
Edgar
-Original Message-
From: Parag Pattewar [mailto:[EMAIL
If IE opens a new window (either through javascript or from the
file/new/window menu) and IE is in a session, the session is shared between
the two browser sessions.
If you open two copies of IE from the operating system, they will not share
the session.
The only way to solve this that I know
it would probably help the diagnosis if you could describe the events
leading up to the crash.
-Original Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 9:27 AM
To: Struts-User (E-Mail)
Subject: java virtual machine crashed
Hello,
I get some times
There is one other way and that is to foward *.jsp in web.xml to a filter
which always fails.
Edgar
-Original Message-
From: lixin chu [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 8:24 PM
To: Struts Users Mailing List
Subject: Re: JSP Protection
thanks !
--- Max Cooper
Hello !
I have a Struts/jsp Application
Ich get an out of memory problem:javax.servlet.ServletException: Servlet
execution threw an exception
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
Struts Menu makes use of Struts classes to support forward and
action attributes. If you use those, you'll likely get the re-writing
you're looking for. I did this on a previous project and did find that
the forward attribute worked, but not the action attribute. I
believe this is a bug in
aka :
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd;
not :
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application
2.3//EN http://java.sun.com/j2ee/dtds/web-app_2_3.dtd;
Mike
Hi All,
I recently moved my application to WSAD 5 from WSAD 4.. The application runs
fine on 4 but on 5
I get the following error.
Virtual Host/WebGroup Not Found : The web group /styles/style.css has not been
defined
I doubt about the context root not
right click on projectWeb go to properties to change context...this is not wsad group
-Original Message-
From: Rama, Shreekanth (K.) [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 8:51 PM
To: [EMAIL PROTECTED]
Subject: WSAD 5 setup
Hi All,
I recently moved my
Hi all
I have a form which has as many fields as are informed in a previous form. For
instance: form 1 asks the number of fields i want in form 2. After inputting that
number, i go to form 2, and there I must find the number of fields (same fields, they
are going to be indexed=true). What
Hi,
I wonder why one can not specify the accept-charset attribute for the
html:form tag?
Akos
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Use indices properties...
Danny Trieu
Internet Business Group
Downey Savings and Loan Association, F.A.
[EMAIL PROTECTED]
(949) 509-4564
The beginning of knowledge is the discovery of something we do not
understand.
- Frank Herbert (1920-1986)
The essence of knowledge is, having it, to apply
THANKS MIKE! I`ll try that on monday. Hopefully this'll
solve the problem!
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 16. Januar 2004 16:20
An: Struts Users Mailing List
Betreff: Re: AW: Tomcat -- IBM WebSphere Application Server 4.x
Hi,
it seems that c:url... doesn't create a correct link. I use a html
testing tool that complains that the parameters should be separated by
amp; and not just by . struts-html... does that correctly.
I use jstl from struts-1.1 contrib.
Do I miss something?
Zsolt
Hi,
I have in a form a html:select tag and inside some html:option tags. I want
to disable some options and declared it like this
html:select ...
html:option value=1 disabled=trueoptionText/html:option
/html:select
But this seems not to work because this option is still selectable. How
I have a simple DynaValidatorForm (just 3 items: name, description, action)
that is reused
for several forms.
The issue that I'm having is that the names of the form elements might be
different from one form to the next. For example, on one page the 'name'
might be called 'Project Code' and on
I am not familiar with that attribute. I think I can guess what it is
for
But if it is something you need, submit a request to bugzilla (after you
search the mailling list).
Rick Hightower
Developer
Struts/J2EE training -- http://www.arc-mind.com/strutsCourse.htm
Struts/J2EE consulting --
Hi all,
In my application I have to connect to MBean server and
registers some
MBeans, that will be then available (thru an interface) to my
application.
For doing that, I was thinking of writing a plugin that contains my
JMXAgent (plugin1) to abstract the connection to MBean server
I think you want a mapped backed property.
Here is an example:
form-bean name=userRegistrationDynaForm
type=org.apache.struts.validator.DynaValidatorForm
form-property name=userName type=java.lang.String /
form-property name=email type=java.lang.String /
There are a 1/2 dozen ways to do this at least.
Here are four of them.
1) Create an additional action-mapping with validate=false, submit to that
mapping. (someone else stated this one)
2) Override the validate method of the form look for an attribute and
selective call super class validate
That seems like a questionable design (dependancies between plug-ins),
but one possible solution might be to make plug-ins #2..n not really
plugins, but components that plug-in #1 uses. Then use the configuration
for plug-in #1 to specify which components to make available.
That would also
I read somewhere that it's possible to have your sql statements on a
.properties file, instead of a class.
Could anyone give me an idea on how to do that?
Thanks
Kelly.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi folks,
I am having a problem with Mozilla, Netscape, and FireBird browsers on
pages that use
the validator JavaScript. It seems that the browsers choke on all that
script and end up displaying the script instead of the page content (
even though the script is guarded by the HTML comments)
give your class a properties member:
private Properties p;
then have a method like this (parameter props is name of properties file):
protected boolean loadSQL(String props){
log.debug(Loading properties (+props+));
java.io.InputStream i = null;
try{
Hello All,
I had posted this yesterday, but didn't receive any response so far. This
error is coming more and more frequently when we increase the load on
struts. Worst thing is that the stack trace shows that this error is not
originated from any of my source. It seems to be an error being
Go to www.ibatis.com and look at the sqlmap stuff. It lets you put all
the SQL in xml files and then call them by name.
If you need help getting started, look at http://reumann.net
Rick's tutorials are great.
Larry
[EMAIL PROTECTED] 01/16/04 10:51 AM
I read somewhere that it's possible to
I would like to be able to construct a HTTP POST
response and send it to a specific server. This would
be outside of a typical client request/response chain.
What is happening (perhaps there is a better way to do
this?) is a new user signs up for a member account on
our website. The form is
Doesn't look like the script is commented properly.
I changed:
!-- Begin
To just:
!--
and it rendered properly in Firebird .7
Did you add Begin or did Validator?
Curious, because I'm a Struts newbie and plan on using Validator soon.
Regards,
-Ryan
Hi folks,
I am having a problem with
Ok, I lied. I neglected to check the local copy of your page prior to
making the edit. Bad on me.
In sum, visiting the page in Firebird 0.7 displays the script as stated.
Saving the page as a local file then opening and the page seems to behave
as expected. ??
-Ryan
Doesn't look like the
Good Afternoon Everyone,
I am trying to complete the following code:
logic:greaterThan name=FSCalcOutputForm
property=foodstampAllotmentUnformatted value=0
bean:message key=fs.calc.result.eligible arg0=bean:write
name=FSCalcOutputForm property=foodstampAllotment/ /
/logic:greaterThan
Thanks Richard, but I think mayhaps I didn't explain myself very well the
first time, because I'm not sure that a mapped backed property will do it
for me. That or I just don't understand what a mapped backed property is :)
I want a name property on all of the forms that are using my
Actually, the NPE is being thrown from a class/method internal to
WebLogic. You need to address this with BEA support, not struts-user.
-Original Message-
From: Abhishek Srivastava [mailto:[EMAIL PROTECTED]
Hello All,
I had posted this yesterday, but didn't receive any response so
I am hoping someone on this list has some experience to share regarding
deploying a commercial web application which includes deploying a
database as well as an application server.
We were thinking of using mysql as the db and either JBoss or Tomcat as
the application server. We would need to
Take a look at the Scarab web application - it builds a Tomcat sandbox as
part of the install process. You might be able to steal some of their ideas
when deploying your app. I think the install process is pretty simple once
you find the right document. With Scarab, you do need to edit a
I don't understand what you mean. I know how to index the properties inside the
iterator tag.but how to declare those properties dynamically in the ActionForm class?
Thanks
Otávio Augusto
On Fri, 16 Jan 2004 08:56:16 -0800
Trieu, Danny [EMAIL PROTECTED] wrote:
Use indices properties...
Hello.
In my custom taglib's doStartTag() method, I stored a
value in the session, as follows:
CustomTag
=
public void doStartTag() {
this.pageContext.getSession().setAttribute(endIdx,new
Integer(9));
}
I am trying to reference that value in JSTL's
c:forEach tag, as in the
Konrad [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello.
In my custom taglib's doStartTag() method, I stored a
value in the session, as follows:
CustomTag
=
public void doStartTag() {
this.pageContext.getSession().setAttribute(endIdx,new
Integer(9));
Try this
about your earlier message ok i did misunderstand
okay
did you know bean:message not only takes a key but the trinity of
attributes...
i define the trininty of attributes as name, property, scope
thus,
bean:message name=simpleForm property=widgetDescription
scope=session/
i don't think you need bean:write.
did you know bean:message not only takes a key but the trinity of
attributes...
i define the trininty of attributes as name, property, scope
thus,
bean:message name=simpleForm property=widgetDescription
scope=session/
the above would call
Thank you Martin! :)
Also, do you happen to know if this is possible:
c:forEach var=card items=${cards} begin=0
end=pg:endidx/
c:out value=${card.name}/
/c:forEach
When I use pg:endidx/ outside of the c:forEach
tag, it correctly displays the value. However, when I
try using pg:endidx/
I have done the same type of thing before You want HttpClient.
http://jakarta.apache.org/commons/httpclient/
Rick Hightower
Developer
Struts/J2EE training -- http://www.arc-mind.com/strutsCourse.htm
Struts/J2EE consulting --
http://www.arc-mind.com/consulting.htm#StrutsMentoring
weird
i wonder if page index is putting white space in?
9
instead of 0
do this
##pg:endidx/##
and see if you get ##9## or ##9 ##
-Original Message-
From: Konrad [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 3:39 PM
To: Struts Users Mailing List
Subject: Re:
Konrad [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Thank you Martin! :)
Also, do you happen to know if this is possible:
c:forEach var=card items=${cards} begin=0
end=pg:endidx/
This is not legal JSP (or XML) syntax. You cannot use a tag in the value of
an attribute of
Doh! I should have caught that.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Martin Cooper
Sent: Friday, January 16, 2004 5:16 PM
To: [EMAIL PROTECTED]
Subject: Re: [General TagLib question] Custom TagLib storing value in
PageContext/session and reference by Standard
Does anyone know the JSTL equivalent for:
logic:messagesPresent
fmt:message key='errors.header'/
ul class=err
html:messages id=error
libean:write name=error bundle=ERROR_BUNDLE//li
/html:messages
/ul
fmt:message key='errors.footer'/
/logic:messagesPresent
And
1 - 100 of 108 matches
Mail list logo