if the bean stored as org.apache.struts.action.MESSAGE key in the scope
application is not found then output the body of the tag ( Errors - App
Resources not found)
-Original Message-
From: Thinh Doan [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 08, 2001 2:48 AM
To:
But struts tags are identified by tagLibrary ( JSP 1.1 support)
In case of XSL the tags that we can use in it should be XSL tags + html
presentation tags
No struts tags are allowed there .
-Original Message-
From: Pulkka Kari [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001
check this
I think u have to change the select tag a bit -
html:select property=grouptype value=theoneUwantTOSelect
-Original Message-
From: s k m [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 11:14 AM
To: [EMAIL PROTECTED]
Subject: Select tag
Hi all
How do I
I was looking into wrong file org.apache.struts.taglib.MultiBoxTag.java
Instead of org.apache.struts.taglib.html.MultiBoxTag.java where value is
checked if it
is set in the jsp if not then uses the body content of the multibox tag
-Original Message-
From: SUHAS G. KULKARNI [mailto
Struts tag which displays image on the JSP page might also be using the
pageContext.getWriter()
to get the JSPWriter and then write to it
-Original Message-
From: Daniel Steinberg [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2001 8:23 PM
To: '[EMAIL PROTECTED]'
Subject:
the struts-html.tld file for the syntax which shows property is
the only required attribute . Then why is it asked for another attribute
called value
Let me know where I'm doing mistake ?
Thanks
Suhas
this
results.append( value=\);
results.append(this.value);
Let me know the reason
Suhas
-Original Message-
From: SUHAS G. KULKARNI [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 27, 2001 7:51 PM
To: [EMAIL PROTECTED]
Subject: Multibox Question
The below code works
Still not clear why it works ? any one wants to clarify this !!
Suhas
-Original Message-
From: SUHAS G. KULKARNI [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 27, 2001 7:51 PM
To: [EMAIL PROTECTED]
Subject: Multibox Question
The below code works -
html:multibox property
I think U need to create the OptionLabelValue class and populate it with
something like
String i8nLabelValue = messages.getMessage(title.option.mr);
list.add(new OptionLabelValue(i8nLabelValue,i8nLabelValue));
And in the jsp use select name= x html:options
2 . U can use bean:define tag
-Original Message-
From: Marcel Andres [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 5:25 PM
To: struts-user
Subject: use of logic-tags
Hi all,
Two general questions:
1. Has someone an idea how to implement an ELSE with the logic-tags?
in the template:get tag
Suhas
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 10:45 AM
To: [EMAIL PROTECTED]
Subject: Re: default action and templates
Why not use the Action to populate request scoped variables that you then
bean:write
No WAY at least in the Action Class u can not get the pageContext as it is
generated by the container for u and accessible to if u use the custom tags
-Original Message-
From: Marcelo Vanzin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 8:34 PM
To: [EMAIL PROTECTED]
Title: RE: STRUTS and EJB
But
look at the mail send by Ted Husted asking not to use the Value Objects (
Business beans) inside the ActionForm bean
Here
it is -The other reason was that people tried to turn their business beans into ActionForm beans,
which is really not a good idea in
try
html:select property=singleSelect size=5
html:options collection=arrayList property=name
labelProperty=value/
/html:select
Create the LabelValueOptions class having name(put numbers) and value(item
text) add them in the arrayList .
-Original
check iterate tag in recent struts buidl - supports indexid as an
attribute .
Suhas
- Original Message -
From: Hartmut Bernecker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 30, 2001 2:48 PM
Subject: how to get the position when iterating over a vector?
Hi,
who knows
, a scripting variable with the specified name will contain the
current index (as an Integer) on each iteration
Suhas
- Original Message -
From: Hartmut Bernecker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 30, 2001 3:26 PM
Subject: Re: how to get the position when iterating over
use same html:errors tag to display them
For both editUser and save saveUser use same actionForm
Suhas
- Original Message -
From: Aapo Laakkonen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 25, 2001 2:32 PM
Subject: Pre-Populating ActionForm (again)
I know
perform method returns ActionForward
- Original Message -
From: Chuck Amadi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 25, 2001 5:11 PM
Subject: Missing type on declaration - any poniters
Hi, can someone take a peek at my ActionFoward Class
DataSource can be obtained either Deployment descriptor as
java:comp/jdbc/MyDataSource
(associate a Jndi name to the Datasource
)
- Original Message -
From: Andreas Leitner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; 'Aapo Laakkonen'
[EMAIL PROTECTED]
Sent: Wednesday, July 25, 2001 3:29 PM
ActionForward is class -
public class ActionForward
Suhas
- Original Message -
From: Chuck Amadi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 25, 2001 6:29 PM
Subject: ActionForward.java [11:1] 'class' or 'interface' keyword expected.
Hi again i have one error
question was why we have not provided with few implicit objects like
session , out etc.. in the Servlet's ???
Why this concept came only in JSP ? .
Suhas
- Original Message -
From: Ted Husted [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 23, 2001 4:43 PM
Subject: Re: Basic
gninFlowHandler"
handler-result
result="2"
screen="SIGN_IN_ERROR"/
handler-result
result="1"
screen="SIGN_IN_SUCCESS"/
/flow-handler
/url-mapping
/request-mapping.
Then use the DOM parser to parse it . I have
not seen how in struts t
no need to put the form Bean using the request.setAttribute(beanname,
bean) . It is done by struts framework .
rest is fine . Use html:form tag in Jsp .
Suhas
- Original Message -
From: Renzo Toma [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 20, 2001 11:46 AM
Subject: RE
iterate tag in http://www.husted.com/about/struts/
Suhas
- Original Message -
From: Torsten Terp [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 19, 2001 10:01 AM
Subject: Re: Long Story short
Hi,
Although i have followed the example below i still have the problem
The form is not getting populated means some introspection problem . Check
if u have properly named methods in the form bean
which will be called to populate the form.
Suhas
- Original Message -
From: Matt Raible [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 19, 2001 12
on the struts.xml file .
Regards
Suhas
- Original Message -
From: Michael Q. Ma [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 18, 2001 12:19 AM
Subject: Re: html:form Bug?
Have you associate a particular FormBean with the new action defined in
your html:form tag, I mean check
I already posted a answer to Q like this . which displays a radio button as
against ur checkbox . So just use checkbox instead of radio button and it
will work
Do something like this
in strtus-config.xml file -
!-- Do nut --
action path=/donut
type=example.DoNutAction
Download the Ant again , and do it afresh . :-)
Or
set classpath to all jars present in ur ANT_HOME/lib directory
andpath to ANT_HOME/bin directory. It should work .
:-)
Suhas
- Original Message -
From: Chuck Amadi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent
by getSkill
) method . So that time it wil be unchecked.
suhas
- Original Message -
From: Leander Jedamus [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 12, 2001 9:33 AM
Subject: Re: multiple checkboxes
Hi!
Thanks Meeraj,
i will look into that.
Leander
Meeraj Kunnumpurath
Do something like this
in strtus-config.xml file -
!-- Do nut --
action path=/donut
type=example.DoNutAction
name=doNutForm
forward name=success path=/donut.jsp/
/action
In the donut.jsp -
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
%@ taglib
check editRegistrationAction and SaveRegistration in the examples that comes
with struts
Wht is the problem in creating the fields !!
suhas
- Original Message -
From: Stefan Faist [EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED]
Sent: Wednesday, July 11, 2001 9
set classpath to ant.jar , jaxp.jar .
and use dos-prompt to enter - build all or
build clean
Suhas
- Original Message -
From:
Chuck Amadi
To: [EMAIL PROTECTED] ; [EMAIL PROTECTED]
Sent: Wednesday, July 11, 2001 12:20
PM
Subject: just d/l installed ANT'S
need
jsp:useBean action tag in the jsp
does the same thing as our ActionServlet does ( Populates the the
form bean with data ) in struts .
Can anyone tell how we taking advantage of doing
this in ActionServlet ???
Regards
Suhas
to maintain it . !!!
Suhas
- Original Message -
From: Joey Gibson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 11, 2001 1:03 PM
Subject: Quarantine?
On Tue, 10 Jul 2001 23:33:04 -0500, Paladin
[EMAIL PROTECTED] wrote:
||| Incident Information:-
|||
||| Originator
Hi , Cheers Chuck
Only ant.jar should be in the classpath . The system not required to
boot up .
Also keep jaxp.jar and parser.jar in the lib directory in the classpath
set bin directory in the path
Before doing all this set classpath and path to null
Suhas
- Original Message
Chuck
Please check bin directory will never have any jars
in it
so classpath is not correct
- Original Message -
From:
Chuck Amadi
To: [EMAIL PROTECTED]
Sent: Wednesday, July 11, 2001 2:33
PM
Subject: Re:ant's Classpath just(ANT'S
need some guidance!!)
The
then it will be in session scope as
mentioned in the struts.config.xml file .
So whenever u click on the link called - edit registration then the link
page points to /editRegistration.do which again checks for that
ActionForm . This is in session scope so in Jsp file all fields are
populated from this form
Suhas
to me. It seems that the problem lies in
the code of method OverDueOrderView.getOrderNo(), which you have not
copied
to the mail.
Guido
suhas
[EMAIL PROTECTED] To:
[EMAIL PROTECTED]
ltech.com cc
back .
Search there
Suhas
- Original Message -
From:
Chuck Amadi
To: [EMAIL PROTECTED]
Sent: Tuesday, July 10, 2001 10:28
AM
Subject: Ant build tools - Need to get to
grips with.
ANT is part of the Apache Jakarta project i know, and is fast
becoming the defacto
%' /
/td
td
html:text property='%= view[+index+ ]+.productOrdered %' /
/td
/tr
% index++ ;%
/logic:iterate
- Original Message -
From: suhas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 10, 2001 2:02 PM
Subject: Re: Iterate problem
it is goes something like this .
private
that
Suhas
- Original Message -
From: Pathangi, Rao H. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 10, 2001 9:00 PM
Subject: Error: org.apache.struts.action.MESSAGE
Hi
What exactly does this error mean??
I have a JSP (using a few Struts tags) with the action beans
a option
}
}
So basically the ArrayList called nameArrayList present in your
ActionForm should contain objects of above classes .
Please contact me if u need any help in this
Suhas
- Original Message -
From: Stefan Faist [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 09, 2001
check the getter and setter naming convention in the bean
getPrivilegeLevel ( )
setPrivilegeLevel ( )
- Original Message -
From: Rehana Sheikh (Contractor) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Struts (E-mail) [EMAIL PROTECTED]
Sent: Monday, July 09, 2001 10:22 AM
Subject: RE:
Yeah , U should have
key - createGroup.privilegeLevel , createGroup.p1 , createGroup.p2
,createGroup.p3 in the properties file
put that in AlpplicationPropeties file and mention this properties file in
the web.xml
Suhas
- Original Message -
From: Rehana Sheikh (Contractor) [EMAIL
moved to another location , and asking the browser to send the
new request for that .
So it will be a totally a new request if u use the redirect instead of
forward call
Suhas
- Original Message -
From: Holger Wiechert [EMAIL PROTECTED]
To: User-Struts (E-Mail) [EMAIL PROTECTED]
Sent
Hi ,
Wht is the meaning of Localization and how it is
achieved in struts ? Any examples ???
Suhas
Do u have setter methods in the Product class like - setQuantity(int qty)
???
Also U need to have indexed iterate tag written by Dave Hey . So u can use
html:text name=product property=quantity size=3 index= true/
Here is the ActionForm
public Product [ ] getProductList( ) {
return
by Dave Hey???
thanks,
Vaibhav
-Original Message-
From: suhas [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 10:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Iterate tag update
Do u have setter methods in the Product class like - setQuantity(int qty)
???
Also U need to have
if u putting the orderedsandwiches in the session scope in action class ,
then no Need of having bean:define tag in the JSP .
Also instead of keeping that in the session scope in the action class. U can
very well populate the form bean with the contents of that array
use following in JSP page .
Hi I have a question
My Iterate tag goes like this
logic:iterate id="view"
name="updateOrderForm"property="views"
type="example.testorder.OverDueOrderView"
trtdhtml:text
property='%= "view[" + index+ "]"+".orderNo" %' /
/tdtdhtml:text property='%= "view["+index+
"]"+".salesDiv" %'
Yes . certainly . U can put that ActionErrors object in the request object
like - saveErrors(req,res) in ur Action Class
Which in turn saves the ActionErrors in the request object with key as
org.apache.struts.action.ERROR
So in the Jsp page u can print those errors using html:errors / tag
But
u have to tweak the code a little bit , Here is how
logic:present name=org.apache.struts.action.ERROR scope=request
do Something ...
/logic:present
Thnx
Suhas
- Original Message -
From: Vaibhav Patil [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 11:52 AM
Hi
I was not able to understand
what u mean by bean with dynamic properties ? How this can be done
?
Suhas
U can get this in the j2EE design patterns in the
java.sun.com/j2ee
- Original Message -
From:
Chuck Amadi
To: Craig R. McClanahan
Sent: Thursday, July 05, 2001 10:35
AM
Subject: Re: Basic Q were can i gets
details on BMO DAO(SESSION BEANS)
Hi , i am after
not much there , can you explain what theses ancorithms are BMO
DAO (presentations) or are they just abbreviations for what was
requries inside of the Process Business Logic Session Bean.
Cheers Chuck
suhas wrote:
Part 1.1Type: Plain Text (text/plain)
Encoding: quoted
Hi Chuck
I seen u sending lots of message regarding
this question . But lost the thread in between !!
I did not get what u really want to do ??? R u want
to compile ( build ) the stuts source .
Then try using Ants which compiles the source files
from the Struts package .
Suhas
by
the Application server )
Suhas
dunno - but from below messages it looks to me as though you are in deep
trouble
What is Join struts project
Suhas
- Original Message -
From: Chuck Amadi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 05, 2001 2:20 PM
Subject: Re:the build process
That was supposed to be indexed iterator tag . Might not be in the struts -
official build
Suhas
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 04, 2001 9:37 AM
Subject: RE: Problems with iterate
Hi
There is according to documentation
it is done internally by struts tags . That's
one of the reason u are using struts tag instead of normal html tags
.
Suhas
- Original Message -
From:
rajiv mulay
To: [EMAIL PROTECTED]
Sent: Thursday, July 05, 2001 10:22
AM
Subject: URL rewriting
how
Dunno . but u can try this.
check ur application's web-inf/lib folder . should have struts.jar in it
Then do not set any classpath to struts.jar using set classpath =
explicitely .
that's what I read in mailing list before
Check this out
Suhas
- Original Message -
From: Debasish
Hi
I want to know the http request header key
-
I'm writing request.getSession(true)in
thejsp. This method in turn might be settting the browser
header key .( dunno exactly name of that key).But I think that header
key is "set-cookie = 12313 " ( this can be the uniquesession id that
essDelegation();view =
delegation.viewOrders(orderStatus);
}catch(Exception e) {}
if( view != null)
{request.setAttribute("view" ,
view);}
Suhas
It looks as though there is problem in the specifying the name of the bean
to look for -java:comp/env/ejbUserManagement
first of all I think u can reference a bean using
java:comp/env/ejb/userManagement only inside the another bean code
For u to access the bean out side - give userManagement
remotecom.maskina.mcstudio.model.persistance.UserManagementRemote/rem
ote
/ejb-ref
does not have ejb-linkejbUserManagement/ejb-link tag which will link to
the ejb that u are referring to .
Check this out
Suhas
- Original Message -
From: joi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday
servlet.jar should be in ur application root's Web-inf/lib directory
Suhas
- Original Message -
From: Ryan Cornia [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 03, 2001 2:24 PM
Subject: RE: Netbeans Support of Struts
I tried to get this working this morning without
If u have a text field on the html form . When u
submit that form without entering anything in textfield then in the servlet if u
try to do
String value =
request.getParameter("nameOfTextField") , u will get value =""
and not null
So no need of settingdataObjectsvalues
to "" explicitely
eld.
html:submitbean:message
key="button.submit"
//html:submit/body/html:form/html:html
Regards
Suhas
where u intialize the vector of contactData
. Then
2. by populating the ActionForm data ( contactDataVector) with the values
from form fields
Please correct me if I'm wrong .
Suhas
- Original Message -
From: Niall Pemberton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 01
model can be used for talking to session beans from the
action class.
Please tell me how to write the business delegation
class . and what is disadvantage of calling the bean methods from within
my Action class ?
Thanks
Suhas Kulkarni
I was going through put ( ) and putAll ( ) methods
in Fast HashMap code in the struts . But did not get why we need to clone the
HashMap and add a entry to that cloned map then move that cloned map to original
HashMap . In multi- threaded enviornment anyway we synchronized the code that
think from web-tier even concurrent request calls
can go to EJB bean.
I did not quite got this point . please clear me on
this
Thanks
Suhas
- Original Message -
From: suhas
To: [EMAIL PROTECTED]
Sent: Saturday, July 01, 2000 10:41 AM
Subject: Regarding invocation of bean methods from
How to implement this is shown in book called Professional JSP by wrox
publication ( chapter titled custom tag . I think u can download the code
from www.wrox.com site)
Original Message -
From: Charles Baker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 19, 2001 2:07 PM
how about using advanced imaging apis ?
suhas
- Original Message -
From: Kommineni, Sateesh (IndSys) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 13, 2001 12:25 PM
Subject: RE: Graphics-Object
Hi..
With thehelp of JPEGEncoder and BufferedImage Classes you can
I think template:put tag puts the contents (=/media/h_modify.gif)in some
hashtable on the stack . and template:get tag retrieves that content from
hashtable and includes in the pageContext which displays it . so I think u
can put anything in the header.jsp
Suhas
- Original Message -
From
75 matches
Mail list logo