value=%=indexValue.toString() %
should do it...
hth,
tomK
-Original Message-
From: Prem Kumar Ponnuraj [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 1 januari 2002 6:03
To: [EMAIL PROTECTED]
Subject: The indexId in iterate tag
Hi,
I'm using the value of the indexId in the
Not exactly a struts question, but here is the answer.
The problem is with IE. It will not display a pdf correctly if it does
not know the size in advance. So you write the file back to a byte array
then send the byte array back.
Here is the code that works...
Hi,
I have a question about usage of a checkbox. I have looked in the archive
whether somebody already posted the problem, but I couldn't find anything.
My problem is: I have a table where the rows contain information and some
cells have to be filled in by a user. When the checkbox in the
Subject: Help with NN4.7x and html:select
From: [EMAIL PROTECTED] (Dalibor42)
===
I have something like
html:select property=manufacturer multiple=true style=width=278; size=3
which works nicely under IE5.x and NN6.2 but under NN4.7x (x = 0, 5, 6) select
box is very small. Since html:select
Hi Lilian,
Say, you have a column as 'UserId' which is the base for getting all the
information pertaining to the selected row. In such case you assign the
UserId to the 'value' attribute of the checkbox which you can access
later for retrieving the values. Refer Html Tags documentation of
NN4.7x does not support the style attribute on the select tag. One solution
I've found is to have an option with a bunch of nbsp;. Kindof a hack, but it
works!
Matt
--- Struts Newsgroup [EMAIL PROTECTED] wrote:
Subject: Help with NN4.7x and html:select
From: [EMAIL PROTECTED] (Dalibor42)
Hi,
I have a form that has a Boolean property that in the form reset method is
reset to false.
This form is used over two pages. In the first page there is a checkbox that
the user can select to modify this Boolean property. This page is submitted
to an action class that just forwards to the
Yao == Yao Zhu [EMAIL PROTECTED] writes:
Yao Hi,
Yao I have encountered a strange problem.
Yao I am writing codes that dynamically generate pdf and display in IE. I use
Yao Sitraka's JC Class pagelayout 4.5.1 to generate pdf. I set contentType to
Yao application/pdf and set
try value=%=indexValue.toString() % to see if it works.
Xin
-Original Message-
From: Prem Kumar Ponnuraj [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 01, 2002 12:03 AM
To: [EMAIL PROTECTED]
Subject: The indexId in iterate tag
Hi,
I'm using the value of the indexId in the
Subject: Help!!! Multiple checkbox'es
From: Mihails Gulajevs [EMAIL PROTECTED]
===
Hello everyone!
Happy New Year !
Could anybody help me ? How to organize multiple checkbox'es in form ? The
form updates itself interactively
Thank you!
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
Greetings:
Can anybody give me some opinions on this book. I am currently waiting
for a copy to arrive at my local book store.
The reason I ask is that I do have Professional JSP 2nd edition.
I find this a great chapter, but it only serves as a piece of a larger
collection of resources
Jeff,
First, thanks for comment on the Pro JSP 2nd edition chapter. I wrote
it and like to hear feedback.
Second, I browsed through the Pro JSP Site Design over the Christmas
holidays. It has struts all through the book. I wanted to buy it, but
decided to wait a little while until I would
Subject: html:link and do
From: Brian K. Buckley [EMAIL PROTECTED]
===
I'm using /do/xxx instead of xxx.do to direct httprequests to struts and
the html:link tag isn't working quite right:
html:link page=/xxx.../html:link creates an href of /xxx instead of
the /do/xxx as I need.
How do I get
I honestly haven't read it yet myself ;-)
But like Steve said, it has Struts all through it.
Steve, still thinking about doing your example from Pro JSP in JBoss (or
maybe Expresso)?
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Building Java web applications with Struts.
-- Tel +1 585
Is there a way to tell poolman not to cache everything? For example, in
my app it is caching some queries that I do not want it to cache. While
I can eliminate that all together I still want it to cache other
queries...
Do I create two pools and set one to not cache?
TIA
Bill Chmura
We have a web app in place and would like to force certain actions
to operate through the SSL layer.
For example, a secure action request uri
http://server.name/servlet/Controller?a=secure
should use SSL where
http://server.name/servlet/Controller?a=open
should not. Is there any way to
Try to use html:multibox instead of individual checkbox.
Subject: Help!!! Multiple checkbox'es
From: Mihails Gulajevs [EMAIL PROTECTED]
===
Hello everyone!
Happy New Year !
Could anybody help me ? How to organize multiple checkbox'es in form ? The
form updates itself interactively
In the reset method of the form class check what kind of action is accessing
it and only reset the form whenever neccessary. You can do this by setting a
hidden form field html:hidden property=action value=whatever in your
jsp file and add the coresponding attribute in your form class.
Good
Hi,
I read the book and I think it's good to get information about different
web design techniques. The examples are very useful and are created
especially with open source SW of the Apache group and with JBoss.
The struts parts are on a basic level and I think it's better to look
for articles
Architecture question regarding talking to the EJB tier.
The analog of org.apache.struts action, in the Petstore demo, is
The interface
com.sun.j2ee.blueprints.waf.controller.web.action.HTMLaction.
public interface HTMLAction extends java.io.Serializable {
public void
Recently we've had problems re-starting our app servers due to the fact that either
http://jakarta.apache.org/struts/dtds or http://java.sun.com/j2ee/dtds was down.
I there a way we can specify struts load the dtd files locally?
I've been looking the ActionServlet.initDigester() method and it
Hi , I just heard of Struts and am taking a look at
it. In specific I would like to start experimenting
with the tag libraries in my own code before I go
experimenting with the whole framework. I just
downloaded the source code for the 1.0 build and I see
all the tag library packages .java code
z == z k z writes:
z Hi , I just heard of Struts and am taking a look at
z it. In specific I would like to start experimenting
z with the tag libraries in my own code before I go
z experimenting with the whole framework. I just
z downloaded the source code for the 1.0 build
Digester is loading local dtds ( part of struts.jar) first. It might be a
bug in your container.
Mark.
-Original Message-
From: Hai-Bang Pham [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 2:55 PM
To: [EMAIL PROTECTED]
Subject: Struts DTD/Web App DTD
Recently we've had
If you download the binary distribution there is a blank web application
in the form of a WAR file. I think it is called struts-blank.war. If
you expand the war file the tlds are in the WEB-INF directory.
z k wrote:
Hi , I just heard of Struts and am taking a look at
it. In specific I
How can I get an action form to display data generated by an action?
I have a Registration action that updates a database and generates a user
id. The perform() method of that action forwards an ActionForward object
mapped to a Login form. I want the Login form to display the generated user
ID
If I am not mistaken, the form is passed into the action.perform() as a
parameter.
You should be able to get/set your bean properties there.
-Original Message-
From: Jack [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 5:51 PM
To: Struts Users Mailing List
Subject:
This is exactly what I'm trying to implement in my current project.
Although I want to use a little bit different approach for invoking next
before action: Every after action would have a result (for example
success, error etc.) and it would have an action mapping for these
results in
Question about client requirements to search and list certain data (based on
some criterias) and display results on a web page.
I'm trying to implement this funtionality on an large J2EE aplication, I
read 'Value List Handler' on 'Core J2EE Patterns' book, this implements with
a collection of
Hi ,
I would like to know the way to set a dynamic hyper link using Struts html:
I am trying to do it as follows:
html:link forward=bean:write name=menu property=menuAction/
bean:write name=menu property=menuDesc/
/html:link
But it will return a JspParser Exception :
Hi, Jake
Thanks for your reply.
I did include response.setContentlength(bytes.size());
The reason that I post this question in struts mailing list is that I feel
it might be relevant to struts and this problem puzzles me.
The detail is like this:
1. I implemented a printer class that only do
Hello,
I'm currently working on my first Struts application and I'm facing two problems.
First, I've created a custom tag that creates different types of HTML form fields.
The number of fields generated varies and the names of the fields are dynamic.
I can't figure out how to let Struts
32 matches
Mail list logo