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-
>
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 th
try placing the oracle classes.zip in you catalina_home/lib
hope this helps,
rama.
- Original Message -
From: "Shamdasani Nimmi-ANS004" <[EMAIL PROTECTED]>
To: "struts-user@jakarta. apache. org (E-mail)"
<[EMAIL PROTECTED]>
Sent: Tuesday, August 28, 2001 9:53 AM
Subject: Please Help!!! S
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
hope this helps,
rama.
- Original
perhaps your type might be a problem
type should refer to complete java class type including any packages
eg: mypackage.LogonForm & mypackage.LogonAction
also check, if your struts-config.xml is in your web-inf folder.
i guess u don't need "/" before ur path name
it seems like u r trying to
well, if this is the exact code u r using, u
closed u r form tag before html:submit itself.
type="com.athensgroup.eval.actionforms.SummaryForm" action="/ReviewSummary.do"/>
try removing the "/".
rama.
- Original Message -
From: "Larry Maturo" <[EMAIL PROTECTED]>
To: <[EMAIL P
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
index.cm
config.xml
hope this helps.
ramakrishna.
- Original Me
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
>
> bef
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 A
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 conv
probably, it should be like this,,
hope this helps,
rama.
- Original Message -
From: "MacKellar, Kimberly" <[EMAIL PROTECTED]>
To: "Struts-User (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, August 09, 2001 12:43 PM
Subject: Iterate with offset=parameter
> I am trying to iterate over
try this.
login.do
rama.
- Original Message -
From: "Debasish Ghosh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, August 09, 2001 1:09
PM
Subject: RE: newbie question
> Actually I have the extension
mapping set up as well.> Th
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.
http://www.husted.co
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 07, 2001 9:15 AM
Subject: Presentation Questions
> All,
>
> I have 2 questions:
>
> 1. When I use , the following output is rendered:
>
> Last Name is required. First Name is required.
, instead of to the JSP page. Change your forward
to
> reference the JSP instead of the action, like this:
>
>
>
> and things should start working normally.
>
> --
> Martin Cooper
>
>
> - Original Message -
> From: "Rama Krishna" <[EMAIL
PROTECTED]
Sent: Saturday, August 04, 2001 11:59
AM
Subject: Re: infinite loop
What does mean? Shouldn't
it be path="/adduser.jsp" ?
--
gR
- Original Message -
From:
Rama
Krishna
To: [EMAIL PROTECTED]
Sent: Saturday, Au
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.
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 fo
hi all,
how to 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 t
e whole jsp page since it's large.
Best of luck,
Yuriy Zubarev
--- Rama Krishna <[EMAIL PROTECTED]> wrote at 25 Jul 13:48 :
> you didnot close your tag>
>
>
>
> - Original Message - >
> From: "Yuriy Zubarev" <[EMAIL PROTECTED]>>
you didnot close your tag
- Original Message -
From: "Yuriy Zubarev" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 25, 2001 1:28 PM
Subject: Form declaration inside logic:equal tags
> Hello everyone,
>
> I was just wondering why I cannot use a code like this:
>
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"
setxyz() for the property "xyz"
>
> call 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
> >
hi,
in my select list i want an item to be selected
default. for this i did as:
value="server">
but this is not working. am i missing
something??? but when i hardcode a value, it works fine.
thanks,
rama.
hi all,
i wanted a sendRedirect rather than a forward
when i tried it thru ...-config.xml
this seems to be not working
however, if i create a new instance of
actionforward in my action class like
new ActionForward("", true) it
works.
am i missing something???
thanks,
r
you can use target="_blank" .
- Original Message -
From:
Syd
Naveen
To: [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 4:36 PM
Subject: RE: using with
javascript
its opening it twice bcoz ur giving a page link and also
opening the page thro java script
Sent: Monday, July 16, 2001 1:44 PM
Subject: RE: thread problems?
> No I cant have a static variable - there could be more than one instance
of
> the bean each with a different number of values.
>
> -Original Message-
> From: Rama Krishna [mailto:[EMAIL PROTECTED]]
>
may be you can have some static variable pointing to the no. of values and
check this before you construct your bean. if you think two threads access
this to update this then it can be synchronized. this variable need not be
in the same class.
- Original Message -
From: "Gogineni, Prat
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?
>
>
> ---
ess" 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
PMTo: [EMAIL PROTECTED]Subject: quick
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"
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.
les and then start the server
again
-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. c
to backup ...
-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(
r
again
-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 worked fine.
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:
null
hi all,
can anyone tell me what causes the
error:JspException : Exception occured in jsp page
here is my code:
report_template.jsp:
<%@ taglib uri='/WEB-INF/struts-template.tld'
prefix='template' %>
thanks,
rama.
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,
lternative would be to use the indexId of the IterateTag which
> means you dont have to declare and increment your "row" variable.
>
>
>
>
>
>
>
>
> Just out of interest - this looks like a solution to iterating through
> multiple collections in
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; %>
<% row++; %>
as offset takes an string i am enlosing the int
in quotes. no errors
blem
> Rama,
>
> Cant you use paramProperty?
>
> paramProperty="id">click here
>
>
> Niall
>
> -Original Message-
> From: Rama Krishna [mailto:[EMAIL PROTECTED]]
> Sent: 05 July 2001 20:10
> To: [EMAIL PROTECTED]
> Subject: html:li
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
:
click here
- Original Message -
From:
Rama
Krishna
To: [EMAIL PROTECTED]
Sent: Thursday, July 05, 2001 2:40
PM
Subject: Re: html:link problem
cause it assumes myCollectionElement as a
normal java Object and says no method
work 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 this.
ledge, you can't use the
tag that way. I believe it would be:
click
here
Hope this helps...
- Original Message -
From:
Rama
Krishna
To: [EMAIL PROTECTED]
Sent: Thursday, July 05, 2001 1:09
PM
Subject: html:link problem
o the best of knowledge, you can't use the
tag that way. I believe it would be:
click
here
Hope this helps...
- Original Message -
From:
Rama
Krishna
To: [EMAIL PROTECTED]
Sent: Thursday, July 05, 2001 1:09
PM
Subject:
is this correct
click here
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 null when i say
req.getParameter("value"); in my action
class??
any help???
thanks,
rama
is it down???
hi michael,
the follwing works for me.
i have a getValue() method in my formbean. where xxx is a setXXX method
which will have the selected item and records is a collection
hope this helps
rama.
- Original Message -
From: "Michael Skariah" <[EMAIL PROTECTE
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
Sub
hi all,
i have a vector of vectors and using the
logic:iterate i am able to display properly in a tabular format with the
elements in each inner vector in a row.
now i want to make one particular column to
be hyperlinks.
can anyone give me a hint or point me to an
email???
thanks,
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 acc
Source) at
com.kivasoft.thread.ThreadBasic.run(Native
Method) at
java.lang.Thread.run(Thread.java:479)
- Original Message -----
From:
Rama
Krishna
To: [EMAIL PROTECTED]
Sent: Monday, July 02, 2001 12:45
PM
Subject: Re: NotEqual or Present?
probably you should use match and notmatch
tags
show this if property
"searchParam" is not equal to ""
rama.
- Original Message -
From:
Matt
Raible
To: Struts User
Sent: Monday, July 02, 2001 11:17
AM
Subject: NotEqual or Present?
I am trying to che
suhas,
i guess you need a html form when you use a
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 but want to
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 field
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???
thanx,
rama
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
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 )
hi paul,
this is how u iterate for vector of vectors
records is a vector of vectors, indexPage is the formbean name
:-)
- Original Message -
From: "Paul Beer" <[EMAIL PROTECTED]>
To: "Struts-User" <[EMAIL PROTECTED]>
Sent: Thursday, June 28, 2001 7:34 PM
Subjec
hi all,
i want to set variable column width in the
table while doing iteration, the problem is i am doing iteration for
vector of vectors.
width="24%">
thanx.
rama
cool thanx. it works.
- Original Message -
From: "John Raley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 28, 2001 12:00 PM
Subject: Re: iterate vector of vectors
>
>
> ...
>
>
>
> Rama Krishna wrote:
hi,
can anyone tell me how to iterate a vector of
vectors??
thanx,
rama.
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
hi all,
i want to directly invoke the action class with
out submitting a form. to do this i directed by browser to *.do where
* maps to action class. the action class then should load the form class
with some data and forward to a success page. the success page then uses the
bean:write and
ribute key
> In your tag, you are using 'name' and 'property'. In your
> tag, you are using only 'property'. The second case will work
> only if this code is inside an tag and the form bean has a
> property with that name.
>
> --
> Martin Coope
the best way to go...
Ryan
>>> [EMAIL PROTECTED] 06/27/01 03:33PM >>>
You can either have a collection of collections or
have a collection of an object that represents a row
like this example.
David
--- Rama Krishna <[EMAIL PROTECTED]> wrote:
>
with the appropriate
> getters/setters and use that instead 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
> > met
i get the same error
Cannot find bean org.apache.struts.taglib.html.BEAN in scope null because of
this line
- Original Message -
From: "David Winterfeldt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 2:49 PM
Subject: Re: Cannot find bean in scope null
orbes.cms.botw.search">
>
>property="name"/>
>property="description"/>
>
>
>
>
> David
>
> --- Rama Krishna <[EMAIL PROTECTED]> wrote:
> > hi,
> >
> > i want to display recor
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.
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
.xml
74 matches
Mail list logo