Hi,
The following simple code isn't working,
html:form action=createText method=GET
Input:html:text property=test / br/
html:submit property=submit/
/html:form
In the sense that, the text box and the button don't appear when I call
the Jsp page. Can
You'll need to specify the bean name which is defined in the
struts-config.xml file for your createText action.
Example...
html:text name=myBean property=test /
You may also want to put in the .do on the end of your action name.
Example...
html:form action=createText.do method=GET
I'm using the struts framework...and the View is a simple jsp page.
What I found is that the tags aren't being recognised.
--
From: [EMAIL PROTECTED]
Reply To: Struts Users Mailing List
Sent: Friday, May 03, 2002 1:36 PM
To: Struts Users Mailing List
Subject:
You are not getting any errors on the console?
V
-Original Message-
From: Shirin Fathima [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 12:42 PM
To: Struts Users Mailing List
Subject: RE: html input elements don't work
I'm using the struts framework...and the View is a simple
No, I'm not getting any errors on the console.
--
From: Vikram Goyal01
Reply To: Struts Users Mailing List
Sent: Friday, May 03, 2002 12:42 PM
To: Struts Users Mailing List
Subject: RE: html input elements don't work
You are not getting any errors on
Remke Rutgers wrote:
Hi fellowstrutsers,
What is the best (logical, efficient, safe...) place to call
ConvertUtils.register() in a Struts Webapp?
Anyone?
I'm using a subclassed ActionServlet's init() method...
greets,
Klaasjan
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
Thanks, Arron. But even this doesn't help.
--
From: Arron Bates
Reply To: Struts Users Mailing List
Sent: Friday, May 03, 2002 12:39 PM
To: Struts Users Mailing List
Subject: Re: html input elements don't work
You'll need to specify the bean name which
Here is a example of a page i am making,
where de strutshtml defines de
int the web.xml
taglib
taglib-uristruts-html.tld/taglib-uri
taglib-location/WEB-INF/struts-html.tld/taglib-location
/taglib
taglib
taglib-uristruts-logic.tld/taglib-uri
My guess was that since these input element are not being displayed then it might be
because the tag libraries are not being picked up correctly, in which case you would
have got an error on the console.
Can you give some more details. Browser, Struts, Servlet engine etc...??
V
-Original
Hello,
Could someone help me understand the following situation?
I have two Actions (s1 and s2) and one jsp (j1).
If I do this in in j1:
request.setAttribute(str1, Hello);
then i use mapping.findForward to s1:
In s1 I do this:
request.setAttribute(str1, So Long);
then
Hello,
One goals of Tiles is to enable reuse and to avoid copy/paste. So, having to
copy same layouts in all sub-applications is not what we expect.
Consequently, the actual behavior that you describe sound like a bug ;-). I
have to dig a little bit to see what can be done. If you have
Hi all
Iam trying to deploy a struts application on to tomcat which is
running fine on iplanet web server4.1.
The environment is
tomcat-3.2.3 on Windows NT 4.0,
My application is named ddtsweb, iam giving the folder structure below
from webapps onwards
webapps
!
Hey Cedric.
Right, as of 30 mins ago I got tiles sub apps to work together
grudingly :-)
That patch to RequestUtils.selectApplication fixes the problems I
thought it would and does not seem to have any side effects (i.e. the
old frames based version continues to work fine). I will submit
Hello,
Use the tiles:importAttribute name=MODE / tag in order to import your
attribute from tiles context to current page context.
Tiles attributes are stored in what we call tile context (one context for each
inserted tile). Struts tags work on attribute from page, request or application
Subject: SilverStream 3.7, Struts Custom Tags
From: JM [EMAIL PROTECTED]
===
Hi Guys
I've been tasked with implementing some custom tags in the struts framework
on SilverStream 3.7 and have found that it does not appear to initialise the
attributes correctly. Has anybody else encountered this?
This has happened to me in the past when I forget to include the taglib page
directive.
%@ taglib uri= prefix= %
If the directive is not there, when you view the source, you should see your
Struts tags instead of the HTML tags that are rendered when the Struts tag
is processed. Since they were
Gee Thanks, Robert. That solved my problem. Now I'll never forget to use
that directive. Thanks once again!
--
From: Robert Taylor
Reply To: Struts Users Mailing List
Sent: Friday, May 03, 2002 2:54 PM
To: Struts Users Mailing List
Subject: RE: html input
cannot load servlet name : action :null
Looks like the initialisation of your actionservlet is throwing a NPE.
Try checking the servlet.log file in
%TOMCAT_HOME%/logs
This will usually give more information and maybe even a stacktrace. Also
set the debug param and detail param in the web.xml
hi,
Wat r the new features implemented in Struts 1.1 ? Watz the diff. in Struts 1.0
and Struts 1.1 ??
Thanx and Regards,
Radhika
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 03 May 2002 11:51
To: [EMAIL PROTECTED]
Subject: new features in Struts 1.1
hi,
Wat r the new features implemented in Struts 1.1 ? Watz the
diff. in Struts 1.0 and Struts 1.1 ??
hi,
wat is dynamic action form ??? where to use the same ???
Thanx
Radhika
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Applause !!!
Really good one :)))
-Original Message-
From: Reid Tardy [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 3. Mai 2002 13:30
To: [EMAIL PROTECTED]
Subject: *** URGENT Help needed
Dearest Struts Gurus,
My name is Reid Tardy.
This may be a bit off topic but I need all of
TomCat is an alley cat which delivers requests provided there are no M$
stuff in it.
From: Reid Tardy [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: *** URGENT Help needed
Date: Fri, 03 May 2002 08:59:32 -0230
Dearest Struts Gurus,
suck suck gets better..
-Original Message-
From: Etienne, Ingo (Goetzfried AG)
[mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 5:06 PM
To: 'Struts Users Mailing List'
Subject: RE: *** URGENT Help needed
Applause !!!
Really good one :)))
-Original Message-
From:
hi Reid,
Why do u need java? to download gif's? I didnt get what exactly u want to
do... Well, if u want to download gif's from java application and want to
call java application from VB then this can be done if ur requirement is
like this, just let me know and If the task is only to
Von: Ketan Malekar [mailto:[EMAIL PROTECTED]]
and If the task is only to
download gif's
then that can be done in VB also.
Sometime I read on a NewsGroup (alt.ms.sucks) that
this was a bug. But I can't remember...
Better have bugs in VB then in a glass of
Prost!
Jochen
--
To
dear all,
how do you share across different web applications useful ActionForms you have created
say for example a LogonForm?
i'm using tomcat with its class loader hierarchy which i have read something about in
http://husted.com/struts/FAQ/installation.htm.
if i put them in the common apps
Hi,
For struts, I know it's possible to load a bean and then display the
contents of the bean in sequence. Is it possible to load a bean partially,
display the contents, while simultaneously loading the rest of the bean.
This way when the user is viewing the 1st page, the rest of the pages are
Haha, well thats a good early morning laugh!!!
-Chad Johnson
- Original Message -
From: Reid Tardy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 03, 2002 6:29 AM
Subject: *** URGENT Help needed
Dearest Struts Gurus,
My name is Reid Tardy.
This may be a bit off
Subject: Re: Using Reset with Checkboxes
From: Ken Holzer [EMAIL PROTECTED]
===
Thanks for the information Jose.
Another question is when and where does the reset get called?
Ken
Jose Quinteiro [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
You should check for the checkbox
This was actually a joke.
JM
TGIF
-Original Message-
From: Ketan Malekar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 02, 1999 8:11 PM
To: Struts Users Mailing List
Subject: Re: *** URGENT Help needed
hi Reid,
Why do u need java? to download gif's? I didnt get what
Oh no, here we go again! And it's Friday and 6:30AM, what could be worse?
Someone wake up Craig NOW!
- Original Message -
From: Reid Tardy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 03, 2002 6:29 AM
Subject: *** URGENT Help needed
Dearest Struts Gurus,
My
hi,
Im having an Action class and a Session bean with me. Instead of putting the business
validations in the session bean, what i intend to do is to have another class between
Action and the session bean. This class will have all the business side validations.
this class is called the Modal
Bill,
I thought of that, and that's probably what I'll end up doing. I didn't
know if anyone knew of a way to wrap the text that gets printed in that text
box with a tag in some manner. I thought that would end up being much
cleaner - a nicer seperation of presentation and logic...
But
See here for a brief explanation.
http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg29680.html
It's the best thing since sliced bread.
JM
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 7:34 AM
To: [EMAIL PROTECTED]
I guess not realising it was a joke could be worse ;)
Les
-Original Message-
From: Robert Williams [mailto:[EMAIL PROTECTED]]
Sent: 03 May 2002 14:43
To: Struts Users Mailing List
Subject: Re: *** URGENT Help needed
Oh no, here we go again! And it's Friday and 6:30AM, what
People in this group are nuts :)
And thats all I have to say about that.
Forrest Gump
- Original Message -
From: Robert Williams [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, May 03, 2002 8:43 AM
Subject: Re: *** URGENT Help needed
Oh no, here
The easiest approach is to retrieve all the content for later pages in the
Action for the first page. This would slow the first page, but would allow
later pages to be pulled from cache. This seems like the easiest approach.
It could be accomplished using a course-grained Entity Bean or some
Thanks this will help alot. Our application is not based on EJB, rather
using straight forward JavaBeans. However, I assume there can be a lot of
performance gains in using EJB such as via JMS. I'll look into this more,
and keep everyone updated if I find an elegant and performant solution.
I believe the answer to this is 42.
Reid - I've actually already done this. I did this port using .NET, VB,
cobol, j2ee, xml, xpl. Then I hacked it all together using Perl.
I've posted the resulting work on my web site:
http:/www.YouReallySuck.com/I/am/a/bonehead.html
I'll be happy to spend
If you're really interested in looking into JMS or EJB I'd recommend
checking out JBoss. It supports both and is pretty easy to set up and use.
Chen, Dean (Zhun) [EMAIL PROTECTED] on 05/03/2002 10:52:12 AM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To:
I'm getting This page cannot be displayed when I click on that hyperlink.
Is that an error page from Struts, Tomcat, or Flash?
How can I add such a feature to my application? I am using arrays in flash
but it don't show no errors.
This is definitely a struts problem.
Waaa...help me
Question -
Can I configure Struts to make a call to my
application services at Servlet init() time ?
I browsed around the docs and the mail archive - but
didn't see if this was available.
Thanks,
Gary Bartlett
__
Do You Yahoo!?
Yahoo! Health
Probably the cleanest way to do that is to subclass
org.apache.struts.action.ActionServlet and then, after invoking
super.init(config), you can initialize your own services.
-- Jim
Gary Bartlett [EMAIL PROTECTED] writes:
Question -
Can I configure Struts to make a call to my
application
How can you expect this asp page to work without tomcat?
From: James Mitchell [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: *** URGENT Help needed
Date: Fri, 3 May 2002 11:16:12 -0400
I'm getting This
I don't believe there is an option to do this. You have to add your own
startup servlet. Which is probably fine since you're likely going to be
performing tasks that are session/request independent at that time anyway.
Any resulting objects you create could be put on the ServletContext.
For
I have a simple question regarding these implementations?
After a bean is populated by the Action class, do I write the contents of
the bean to a temporary xls file and then do:
Response.ContentType = application/vnd.ms-excel
Response.AddHeader (CONTENT-DISPOSITION, attachment; filename
I am pre-populating a form with information from a data base.
Is the following procedure acceptable, or is there another procedure
that would be considered a Best Practice?
Instantiate the form bean in the action class.
Instantiate one or more DAO objects in the action class.
Call methods in
You use the JSP to do this.
String data=Whatever;
To display in excel inside browser
out.write(data);
To write to a file
File xyz= new java.io.File(..\\webapps\\Project\\data.csv);
FileOutputStream fos = new FileOutputStream(xyz);
byte[] Data=data.getBytes();
fos.write(Data);
fos.close();
Use
I a question regarding use of struts 1.1 beta:
When is Struts 1.1 expected be fully released? An approximation would be
great, it doesn't have to be an exact date. Specifically, can we count on
this release happening before October?
Vlad
Did you follow this week on the group?
:)
And thats all I have to say about that.
Forrest Gump
- Original Message -
From: James Mitchell [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, May 03, 2002 9:33 AM
Subject: RE: *** URGENT Help needed
No,
On Fri, 3 May 2002, Klaasjan Brand wrote:
Date: Fri, 03 May 2002 09:16:29 +0200
From: Klaasjan Brand [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: ConvertUtilts.register(): where to call?
Remke
No - you will actually stream the output in the response, by getting the
response servletoutputstream and then doing print and println's.
Here's what I do - probably more complicated than you need it to be, but gives
you the idea:
response.setContentType(csv);
On Fri, 3 May 2002, vj struts wrote:
Date: Fri, 3 May 2002 06:25:58 -0700 (PDT)
From: vj struts [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Now how does one do this?
dear all,
how do you share across
On 3 May 2002, Jim Crossley wrote:
Date: 03 May 2002 11:35:16 -0400
From: Jim Crossley [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Can Struts initialize my services at Startup ?
Probably the
On Fri, 3 May 2002, RIS Team wrote:
Date: Fri, 3 May 2002 11:53:37 -0400 (EDT)
From: RIS Team [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: struts 1.1beta release date?
I a question regarding use of
Does this work? According to the html:checkbox tag documentation, Struts
passes the string on when a checkbox is checked, and reset with off.
This is what I am doing and it has been working flawlessly.
According to the Struts API, reset() gets called just before your
mapping.findForward() in
On Fri, 3 May 2002, Robert Williams wrote:
Date: Fri, 3 May 2002 08:43:02 -0500
From: Robert Williams [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: *** URGENT Help needed
Oh no, here we go again!
On Fri, 3 May 2002, James Mitchell wrote:
Date: Fri, 3 May 2002 11:16:12 -0400
From: James Mitchell [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: *** URGENT Help needed
I'm getting This page
This is what I am doing and it greatly improves responsiveness. I put an
initialization servlet in the load-on-startup in web.xml and it loads Maps
and Lists of application (context)-level data into memory. Any user needed
that data (like a List of cities or a Map of zipcodes and markets) then
Subject: Re: Using Reset with Checkboxes
From: Jose Quinteiro [EMAIL PROTECTED]
===
Javadoc sez:
Reset all bean properties to their default state. This method is called
before the properties are repopulated by the controller servlet.
The default implementation does nothing. Subclasses should
Hi:
I have rewritten the View and Controller part(of MVC)
of the petstore 1.3 web layer. Now the petstore can
run with struts 1.0.
The View part, I switched from sun smart tags to
struts
tags, struts style template. But I kept smart tags in
few places where smart tags are better choices.
Hi i would be very interested in testing the petstore app.
I run a linux system with tomcat 4.0.
So if you want me to test this, send me the war file.
Olli
On Fri, 2002-05-03 at 18:31, Yang Li wrote:
Hi:
I have rewritten the View and Controller part(of MVC)
of the petstore 1.3 web layer.
I'll host a copy on Win2K Advanced Server.
Just send me the zip.
JM
-Original Message-
From: Yang Li [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 12:31 PM
To: Struts Users Mailing List
Subject: [ANNOUNCE]petstore1.3 running under struts1.0
Hi:
I have rewritten the
Just shut up already, no one owes you anything...
-Original Message-
From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 11:30 AM
To: Struts Users Mailing List
Subject: RE: *** URGENT Help needed
There is a difference between saying you are
Subject: EJB Tip
From: Vic C [EMAIL PROTECTED]
===
http://www.softwarereality.com/programming/ejb/conclusion.jsp
and they are not scalable. Please dont start a flame, just if you are
new... rethink if you must use EJBs. Most of my clients have removed EJBs.
Vic
--
To unsubscribe, e-mail:
I see what you're doing and agree it seems easier.
But coupling the form beans to the DAO's so tightly I wouldn't call a best
practice. Here is another approach:
- Have the DAO's return Value Objects. But then have a setValueObject() on
the form bean so you can store the entire value object
-Original Message-
From: Graham Lounder [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 30. April 2002 17:18
To: [EMAIL PROTECTED]
Subject: OT: Changing Content Type
Sorry, this is a little off topic. Is there any way to change your
content type mid way through a reponse? What
Yang,
I will test this is WSAD.please send me the war file.
Regards,
Taati
-Original Message-
From: Yang Li [SMTP:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 12:31 PM
To: Struts Users Mailing List
Subject: [ANNOUNCE]petstore1.3 running under struts1.0
Hi:
I
After my day of searching about this topic, I found that using the
multipart/mixed content type involves a server push (as opposed to the usual
client pull). This functionality is not supported in Internet Explorer.
There is some example code being used in Netscape 4.X browsers and email but
Craig R. McClanahan [EMAIL PROTECTED] writes:
In the Tomcat 4 distribution, there is an Application Developer's Guide
document that describes some best practices at organizing your source
code repositories for webapp development, and includes a nice prebuilt Ant
build.xml file that
In my action class I want to prepare some things and then forward to a JSP
to display those things. However, I also want to do some cleanup after the
JSP has finished.
Want I want is conceptually the same as
public final class myAction report extends Action
{
public
I will host one on Red Hat 7.2, if you like. Just send me the zip as well.
At 01:05 PM 5/3/02 -0400, you wrote:
I'll host a copy on Win2K Advanced Server.
Just send me the zip.
JM
-Original Message-
From: Yang Li [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 12:31 PM
-Original Message-
From: Malcolm Dew-Jones [mailto:[EMAIL PROTECTED]]
Want I want is conceptually the same as
public final class myAction report extends Action
{
public ActionForward perform(...)
{
dbh = get_database_connection()
We have it implemented a little differently
public final class myAction report extends Action
{
public ActionForward perform(...)
{
try {
dbh = get_database_connection()
initialize_some_beans(
This might be a stupid question, but what are DAO and Value Object supposed
to be?
Does DAO encapsulate the logic to make JDBC calls? For example, would it
contain the name of a stored procedure or would that be passed to it?
Is ValueObject a generic object that stores the result sets? For
In general, I use the Struts action classes as proxies to my business objects and my
business objects serve as proxies to my data access objects and I pass data across
tiers using DTO (DataTransportObject [use to be ValueObject]). In this fashion, I
can keep my business logic reusable in say
Malcolm Dew-Jones [EMAIL PROTECTED] writes:
dbh = get_database_connection()
initialize_some_beans( dbh , other , stuff );
try
{
return (mapping.findForward(success));
}
finally
{
close_connection_no_matter_what();
}
Obviously the above does not work.
Perhaps not so
This is a really good description. I do have one small question, where does
the connection pooling, transaction handling come into play? I know you use
transactions in your BO but do you initialize this code in the DAOs? Do you
use some sort of JNDI reference for your connection pooling? What
You can also do this by sub classing all your actions from a base action of
some sort.
This would allow for better code reuse.
BaseAction.java
import org.blah.blah.blah.Something
abstract public class BaseAction extends Action{
...
...
abstract public ActionForward
Forget what I said. This is better.
FWIW -
Kevin
Pruthee, Ranjan [EMAIL PROTECTED] on 05/03/2002 03:25:15 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:(bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:
On 3 May 2002, Jim Crossley wrote:
Date: 03 May 2002 14:49:28 -0400
From: Jim Crossley [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Now how does one do this?
Craig R. McClanahan [EMAIL PROTECTED]
For JNDI: U can create a ServiceLocator object which sits with the Business objects or
u can create a Utility package with this class in it to get the reference to the EJBs.
For Transaction Handling: It gets fairly complex when the Business transaction spans
multiple Business object
I use it the same way too. But had a dilemma of whether to place the Value Object as a
data member of Business Object and set that in constructor or pass the Value Object as
parameter for every method of create, update, and remove. How do you do that? Any
pros and cons.
-Original
LMAO - I love it =)
... kind of like doing 'cat can of catfood' on a Unix box =)
(cat: cannot open can of catfood)
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, May 03, 2002 11:12 AM
Subject: RE: ***
AMEN! *applause*
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 03, 2002 12:06 PM
Subject: RE: *** URGENT Help needed
Just shut up already, no one owes you anything...
-Original Message-
From: Micael Padraig Og mac Grene
hi all ..
plz see the attached file (gif) for my Question .. that is what i am basically doing for this usecase there are 2 text boxes (where u can add in values) and later delete them if you wish to. B#1 and B#2 are the add and delete buttons.
the add part is fine with me... wherein i am
Is Micael trying to say that he built the hotmail account to disguise
himself from Mark/James - and that this is, in fact, a thread initiated by
HIM incognito? *gasp* =O
... friday - not a day of the week, but a STATE OF MIND (if you're on the
struts-user mailing list that is =)
- Original
Hi Struts Users,
I can successfully iterate over a list, and use bean:write
to output the values like this:
logic:iterate id=foo name=fooList
Foo=bean:write name=foo/br
/logic:iterate
Let's say this outputs:
Foo=XXX
Foo=YYY
Foo=ZZZ
I would like to also
for one single parameter use
html:link page=/process.do paramId=foo paramName=foobean:write
name=foo//html:link
-Original Message-
From: Shane Bouslough [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 4:15 PM
To: [EMAIL PROTECTED]
Subject: Embed bean:write inside html:link?
Hi
Two words - Run-Time Expressions
Basically what you wind up having to do to get additional values into your
href='...' is to include a run-time expression that inserts the values for
you:
href='...%= expr %'
I recently had the same problem. I _really_ wanted to use bean:write to
handle it but
I didn't know that - thanks!
... what an amazing friday - I actually learned something!
- Original Message -
From: Leonardo Maciel [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, May 03, 2002 3:15 PM
Subject: RE: Embed bean:write inside html:link?
for
The way I do it is -
BO -- DAO ---returns the recordset and not ValueObject. This RS is passed back to
the BO. which passes it to the ValueObject to build it.
The code will look something like this -
public class BO
{
CustomerVO custvo = new CustomerVO();
Recordset rs =
Hi
I can test the petstore app on win2k with tomcat 4.0(or BEA WebLogic server
6.1) if you send me the war file.
Regards,
Long B. Nguyen
-Original Message-
From: Yang Li [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 9:31 AM
To: Struts Users Mailing List
Subject:
Subject: Re: How to deploy Struts-using app to Tomcat 4 from Forte?
From: Jeff [EMAIL PROTECTED]
===
Well, as it turns out, the problem was with Tomcat. Specifically, Tomcat
4.0.1. After discovering the huge number of bugfixes between 4.0.1 and
4.0.2, I upgraded the server to Tomcat 4.0.3, and
Shane Bouslough [EMAIL PROTECTED] writes:
[...]
logic:iterate id=foo name=fooList
Foo=bean:write name=foo/br
/logic:iterate
[...]
Foo=a href=/process.do?foo=XX/abr
How can I embed the output of bean:write to be part of
the value passed to the page= parameter
I have a doubt,
I have some action classes that perform various things depending upon
some context. Such a context is passed in as a URL param as in
html:link page=/gateKeeperAction.do?method=bidStarted
Am i to synchronized on 'method' instance variable of the action?
--
To unsubscribe,
See intermixed.
-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 4:08 PM
To: Struts Users Mailing List
Subject: Re: *** URGENT Help needed
Is Micael trying to say that he built the hotmail account to disguise
himself from
Subject: Help with ActionErrors
From: Brian Pembroke [EMAIL PROTECTED]
===
Is it possible to add a string to an ActionError instead having it get the
string out of the properties file. I need to be able to give dynamic error
messages that are changing.
ActionErrors errors = new
-Original Message-
From: Emmanuel Bridonneau [mailto:[EMAIL PROTECTED]]
Am i to synchronized on 'method' instance variable of the action?
Generally, instance variables in Action classes are bad. You probably want
to store the value of that variable as an attribute in the session
1 - 100 of 118 matches
Mail list logo