i get a Server not found error when i click
download after filling u r form.
:-)
- Original Message -
From:
John Yu
To: [EMAIL PROTECTED]
Sent: Sunday, September 16, 2001 9:42
PM
Subject: [ANNOUNCE] Visual tool for
Struts
We'd like to invite everyone in
seems like u have problem with u r config.xml file. did u place it in the
web-inf folder???
- Original Message -
From: sai srinivas [EMAIL PROTECTED]
To: StrutsUser [EMAIL PROTECTED]
Sent: Sunday, September 16, 2001 8:46 PM
Subject: FW: Queryyy
-Original Message-
From:
perhaps your type might be a problem
type should refer to complete java class type including any packages
eg: mypackage.LogonFormmypackage.LogonAction
also check, if your struts-config.xml is in your web-inf folder.
i guess u don't need / before ur path name forward name=failure
may be not. as far as i know. but you can have a work around having one
general key and some default value and pass in a replacement value in
ActionError constructor
so all u r classes can use the same key but replace the default value. this
way u can use html:errors/
hope this helps,
rama.
supposing for http://xyz/abc i want to goto an action and display
someresults, the following works for me.
the following welcome-file-list is needed otherwise, it doesnot work. i get
a 404 error.
web.xml
welcome-file-listwelcome-fileindex.cm/welcome-file/welcome-file-list
config.xml
!--
well, if this is the exact code u r using, u
closed u r form tag before html:submit itself.
html:form
name="ReviewSummary"type="com.athensgroup.eval.actionforms.SummaryForm"action="/ReviewSummary.do"/
try removing the "/".
rama.
- Original Message -
From: "Larry Maturo" [EMAIL
you need to save errors
before return and after errors.add
saveErrors(errors);
this should work.
- Original Message -
From: Shawn Sohl [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, August 14, 2001 10:51 AM
Subject: findForward and Errors
In my Action
oops! sorry.
this is correct
saveErrors(request,errors);
- Original Message -
From: Rama Krishna [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 14, 2001 11:05 AM
Subject: Re: findForward and Errors
you need to save errors
before return and after errors.add
try this.
!-- The Welcome File List --
welcome-file-list
welcome-filelogin.do/welcome-file
/welcome-file-list
rama.
- Original Message -
From: "Debasish Ghosh" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, August 09, 2001 1:09
PM
Subject: RE:
probably, it should be like this,,
logic:iterate id=result name=search scope=session
indexId=resultsPrinted offset=%= fromRec% length=20
hope this helps,
rama.
- Original Message -
From: MacKellar, Kimberly [EMAIL PROTECTED]
To: Struts-User (E-mail) [EMAIL PROTECTED]
Sent: Thursday,
WEB-INF/ is created when an application is deployed/created in the
app-server. any app-server which follows j2ee standard will create this.
the WEB-INF/ folder will be created under the appname folder. this app name
can point to any physical folder on your hard drive, although usually it is
a
The following might help you.
ramakrishna.
*
Ted Husted has links tutorials, example webapps, and
code (custom tags, etc.).
http://www.husted.com/about/struts/
A Walking Tour of Struts (at the bottom) walks you
through the Struts example webapp.
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 07, 2001 9:15 AM
Subject: html:errors Presentation Questions
All,
I have 2 questions:
1. When I use html:errors/, the following output is rendered:
Last Name is required. First Name
hi all,
In continuation to my post
yesterday,
The following is my code. The flow is fine till
Forwarding to Success and then instead of displaying, it starts again from the
begining.
If i remove the if condition in validate method
then it displays the form with errors which is fine.
am
]
Sent: Saturday, August 04, 2001 11:59
AM
Subject: Re: infinite loop
What does forward
name="success" path="/adduser.cm"/ mean? Shouldn't
it be path="/adduser.jsp" ?
--
gR
- Original Message -----
From:
Rama
Kri
to
reference the JSP instead of the action, like this:
forward name=success path=/adduser.jsp/
and things should start working normally.
--
Martin Cooper
- Original Message -
From: Rama Krishna [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, August 04, 2001 11
hello all,
i posted a question regarding the Stackoverflow
error. but i got no help.
thought i will explain my problem in more
detail.
i have an adduser.jsp which is invoked thru a
href in a normal html page.
this adduser.jsp displays a form.
there is formbean and actionclass for this
hi all,
howto make struts not to create a session
byitself. i want to create a session and then check if the session is not
expired.
i don't want struts to create this.
defaultly, struts is storing the Locale and
Formbean in session.
any ideas, or am i missing
something???
thanks,
this should work.
this is also there in struts example
"SaveRegistrationAction"
errors.add("somestring",
new ActionError("error.key"));}
if (!errors.empty())
{ saveErrors(request,
errors); return (new
ActionForward(mapping.getInput()));}
hope this helps
- Original Message -
hi all,
i am wondering if there are any thoughts/process
going on to support WML taglibs in struts.
or is there anything already
available.
thanks,
rama.
if you have a property with sFirstName then your getter methos should be
getSFirstName().
if this doesn't work try changing your sFirstName to something else in lower
case. eg: abc and getter will be getAbc();
hope this helps,
rama.
- Original Message -
From: Sorenson, Alexander
hi,
in my select list i want an item to be selected
default. for this i did as:
bean:define id="server"
name="abc" property="server" /
bean:define id="myCollection" name="abc" property="records"
/
html:select name="abc" property="xyz" value="server"
html:options
setxyz(defaultvalue) when you set the values in the Form class.
Hope this helps !
-Original Message-
From: Rama Krishna [SMTP:[EMAIL PROTECTED]]
Sent: Friday, July 20, 2001 3:42 PM
To: [EMAIL PROTECTED]
Subject: html:select
hi,
in my select list i want an item
hi all,
i wanted a sendRedirect rather than a forward
when i tried it thru ...-config.xml
this seems to be not working
forward name="..." path="..." redirect="true"
/
however, if i create a new instance of
actionforward in my action class like
new ActionForward("", true) it
hi all,
i have a form and when i submit it i perform some
action and i forward it to the same form, but with a message "success".
now
- i want to reset all the fields (set to default
value)
- the url after submission is still
xxx.yy?action="save", where as i want the action to be"create"
where you will now see your "success" status message (e.g. %=
request.getAttribute("status")%
I
hope this helps
Melissa
Web
Engineer
-Original Message-From: Rama Krishna
[mailto:[EMAIL PROTECTED]]Sent: Monday, July 16, 2001 2:07
P
his firewall/gateway/mailserver is rejecting mails,cause, they are filtering
the content.
- Original Message -
From: Jeff Trent [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 11:53 AM
Subject: Re: Report to Recipient(s)
What is this message mean?
-
you can use target="_blank" .
- Original Message -
From:
Syd
Naveen
To: [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 4:36 PM
Subject: RE: using html:link with
javascript
its opening it twice bcoz ur giving a page link and also
opening the page thro java
hi all,
how to refresh (create new instance of) the page
that was forwarded from an action of another page??
it's like this
page A - some action - page B
page B - someaction - page A
(forward-success)
i want page A to get created
freshly.
any ideas???
thanks,
rama.
is there any problem with JRun 3.0 and struts.
cause my development m/c has JRun 3.1 and everything worked fine. when i tried
to put it on staging with JRun 3.0
is it like JRun 3.0 doesn't work with struts or
???
it gives me the
following error:
javax.servlet.ServletException:
Message-From: Rama Krishna
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 11, 2001
4:02 PMTo: [EMAIL PROTECTED]Subject:
struts and Jrun 3.0
is there any problem with JRun 3.0 and
struts. cause my development m/c has JRun 3.1 and everything worked fine.
when i tried
...
-Original Message-From: Rama Krishna [mailto:[EMAIL PROTECTED]]Sent:
Wednesday, July 11, 2001 4:33 PMTo: [EMAIL PROTECTED]Subject:
Re: struts and Jrun 3.0
you are right. thanks. i did the way you said
and that error is gone. now the problem is with setLocale(...) which
-Original Message-From: Rama Krishna
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 11, 2001
4:02 PMTo: [EMAIL PROTECTED]Subject:
struts and Jrun 3.0
is there any problem with JRun 3.0 and
struts. cause my development m/c has JRun 3.1 and everything
a solution to iterating through
multiple collections in parallel - is that what your using it for?
Niall
-Original Message-
From: Rama Krishna [mailto:[EMAIL PROTECTED]]
Sent: 06 July 2001 18:46
To: [EMAIL PROTECTED]
Subject: iterate: offset
hi all,
i am trying to iterate
thanks craig,
it was my mistake. i got it to work.
rama.
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 07, 2001 9:45 PM
Subject: Re: Cannot find bean in scope null
On Wed, 27 Jun 2001, Rama Krishna wrote:
i get
hi all,
i am trying to iterate with length and offset
when length="1" all the time and offset gets incremented with each outer
iteration.
i am trying to do something like
this
% int row=0; %
logic:iterate ...
logic:iterate ... length="1" offset='%=
"\""+row+"\"" %'
% row++; %
is it down???
is this correct
html:link page="/target.cm" paramId="value"
paramName="bean:write name='myCollectionElement'
property='id'/"click here/html:link
where myCollectionElement is a
collection
id is a property in the collection
and i want http:///target.cm?value=2 (value of
id)
i get
of knowledge, you can't use the
bean:write tag that way. I believe it would be:
html:link page="/target.cm" paramId="value"
paramName="%= myCollectionElement.getId() %"click
here/html:link
Hope this helps...
- Original Message -----
with that???
- Original Message -
From:
Rama
Krishna
To: [EMAIL PROTECTED]
Sent: Thursday, July 05, 2001 2:25
PM
Subject: Re: html:link problem
no. this doesn't work. then i'll have to use
jsp bean tag and do
is this:
bean:define id="myId"
name="myCollectionElement" property="id"/
html:link page="/target.cm" paramId="value"
paramName="%= myId %"click here/html:link
----- Original Message -
From:
Rama
Krishna
To: [E
hi all,
i have multiple params in query string to go when
clicked on a link.
i have gone through the user archive and found
that we need to maintain a hashmap sought of thing.
as i have a link in each row, the values differ
for each link, so i have a vector of hashmaps.
i am able to form
paramProperty?
html:link page=/target.cm paramId=value
paramName=myCollectionElement
paramProperty=idclick here/html:link
Niall
-Original Message-
From: Rama Krishna [mailto:[EMAIL PROTECTED]]
Sent: 05 July 2001 20:10
To: [EMAIL PROTECTED]
Subject: html:link problem
is this correct
what is we have an index of type int??? how do we refer to it???
means suppose i have % int index=0; %
how can i check this with logic:equal
thanks,
rama
- Original Message -
From: Norman Timmler [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 03, 2001 1:13 PM
Subject:
probably you should use match and notmatch
tags
logic:notmatch name="myForm"
property="searchParam" value=""
show this if property
"searchParam" is not equal to ""
/logic:notEqual
rama.
- Original Message -
From:
Matt
Raible
To: Struts User
Sent: Monday, July
te(Unknown
Source) at
com.kivasoft.applogic.AppLogic.execute(Unknown
Source) at
com.kivasoft.applogic.AppLogic.execute(Unknown
Source) at
com.kivasoft.thread.ThreadBasic.run(Native
Method) at
java.lang.Thread.run(Thread.java:479)
- Original Message -
From:
do you have parser.jar in ant\lib???
regarding the applicationresources, i don't know what is your application
but try putting it in web-inf\classes
or if your classes are in a .jar file then add this resources file to that
jar file.
bottom line is it should be somewhere, your appserver can
suhas,
i guess you need a html form when you use a
html:text if you don't want form then you can use normal html for
input type text.
rama.
- Original Message -
From:
suhas
To: [EMAIL PROTECTED]
Sent: Saturday, July 01, 2000 9:04
AM
Subject: No ActionForm
yes niall, it's name of hindu god. but i am just a human ;-)
pual, did it help you???
- Original Message -
From: Niall Pemberton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, June 28, 2001 8:31 PM
Subject: RE: multiple form fields (I HATE CTRL-S )
Paul,
perhaps, you first thought seems to be valid.
- Original Message -
From: Gogineni, Pratima [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 29, 2001 9:44 AM
Subject: RE: validation
On second thoughts ...I guess if there is some validation common to all
the
actions its
hi all,
this is my jsp code and i want to display this
vector of vectors in text fields with each inner vector in a row and each
element in innervector in a textfield
can anyone tell me how do i do
this???
logic:iterate id="outer" name="myBean"
property="records"
logic:iterate
i do have the same problem. i can get to display it with bean:write but
struck up when displaying in text fields.
can anyone help us???
- Original Message -
From: Paul Beer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 29, 2001 12:26 PM
Subject: RE: multiple form fields (I
sorry all,
i got it.
thanx.
- Original Message -
From:
Rama
Krishna
To: [EMAIL PROTECTED]
Sent: Thursday, June 28, 2001 11:16
AM
Subject: directly invoke action
class
hi all,
i want to directly invoke the action class with
out submitting a form
hi,
can anyone tell me how to iterate a vector of
vectors??
thanx,
rama.
'
...
/logic:iterate
/logic:iterate
Rama Krishna wrote:
hi,
can anyone tell me how to iterate a vector of vectors??
thanx,
rama.
hi all,
i want to setvariable column width in the
table while doing iteration, the problem is i am doing iteration for
vector of vectors.
logic:iterate id="myCollectionElement"
name="indexPage"
property="records" tr
logic:iterate id="collectionElement"
name="myCollectionElement" td
Hi all,
I am new to struts and i created a simple jsp and
all along with proper modifications to struts-config.xml and when i try to run
my jsp i get the above exception.
Can anyone tell me what could be the
cause???
here is my code
.jsp
logic:equal name="indexPage"
hi,
i want to display records from database in a
tabular format in index.jsp itself without any form submission.
can anyone tell me how to do this.
thanx.
rama.
bgcolor=#ff
td nowrapbean:write name=searchResults
property=name//td
tdbean:write name=searchResults
property=description//td
/tr
/logic:iterate
David
--- Rama Krishna [EMAIL PROTECTED] wrote:
hi,
i want to display records from database in a tabular
format
i get the same error
Cannot find bean org.apache.struts.taglib.html.BEAN in scope null because of
this line
html:text property=Server /
- Original Message -
From: David Winterfeldt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 27, 2001 2:49 PM
Subject: Re: Cannot find
of the
ActionForm.
David
--- Rama Krishna [EMAIL PROTECTED] wrote:
thanks david,
in this case as i will not have any actionform,
should i have the getter
method inside the actionclass or is there another
way.
if possible can you give me some snippets like the
one you've given.
thanx
tdbean:write name=searchResults
property=description//td
/tr
/logic:iterate
David
--- Rama Krishna [EMAIL PROTECTED] wrote:
hi,
i want to display records from database in a tabular
format in index.jsp itself without any form
submission.
can anyone tell me how to do this.
thanx
- Original Message -
From: Rama Krishna [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 27, 2001 12:06 PM
Subject: No Bean found under attribute key
Hi all,
I am new to struts and i created a simple jsp and all along with proper
modifications to struts-config.xml
63 matches
Mail list logo