Re: Queryyy

2001-09-17 Thread Rama Krishna
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- >

Re: [ANNOUNCE] Visual tool for Struts

2001-09-16 Thread Rama Krishna
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

Re: Please Help!!! Struts application running fine on tomcat 3.2.3 does not run on tomcat 4.0

2001-08-28 Thread Rama Krishna
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

Re: How to Create an ActionError with a text message

2001-08-22 Thread Rama Krishna
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

Re: Cannot find ActionMappings Error - second time I am posting -

2001-08-22 Thread Rama Krishna
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

Re: problem with submit

2001-08-15 Thread Rama Krishna
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

Re: action as the welcome page

2001-08-15 Thread Rama Krishna
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

Re: findForward and Errors

2001-08-14 Thread Rama Krishna
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

Re: findForward and Errors

2001-08-14 Thread Rama Krishna
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

Re: New To Struts

2001-08-09 Thread Rama Krishna
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

Re: Iterate with offset=parameter

2001-08-09 Thread Rama Krishna
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

Re: newbie question

2001-08-09 Thread Rama Krishna
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

Re: New To Struts

2001-08-08 Thread Rama Krishna
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

Re: Presentation Questions

2001-08-07 Thread Rama Krishna
- 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.

Re: infinite loop

2001-08-04 Thread Rama Krishna
, 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

Re: infinite loop

2001-08-04 Thread Rama Krishna
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

infinite loop

2001-08-04 Thread Rama Krishna
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.  

infinite loop

2001-08-03 Thread Rama Krishna
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

session problem...

2001-08-02 Thread Rama Krishna
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,

Re: Errors from within Action.perform()

2001-07-26 Thread Rama Krishna
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

Re: Form declaration inside logic:equal tags

2001-07-25 Thread Rama Krishna
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]>>

Re: Form declaration inside logic:equal tags

2001-07-25 Thread Rama Krishna
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: >

struts and WAP

2001-07-25 Thread Rama Krishna
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.

Re: action mapping difficulties

2001-07-24 Thread Rama Krishna
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"

Re: html:select

2001-07-20 Thread Rama Krishna
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 > >

html:select

2001-07-20 Thread Rama Krishna
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.      

action forward

2001-07-17 Thread Rama Krishna
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

Re: using with javascript

2001-07-16 Thread Rama Krishna
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

Re: thread problems?

2001-07-16 Thread Rama Krishna
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]] >

Re: thread problems?

2001-07-16 Thread Rama Krishna
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

Re: Report to Recipient(s)

2001-07-16 Thread Rama Krishna
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? > > > ---

Re: quick question : form

2001-07-16 Thread Rama Krishna
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

quick question : form

2001-07-16 Thread Rama Krishna
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"

action forward question

2001-07-13 Thread Rama Krishna
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.

Re: struts and Jrun 3.0

2001-07-11 Thread Rama Krishna
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

Re: struts and Jrun 3.0

2001-07-11 Thread Rama Krishna
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(

Re: struts and Jrun 3.0

2001-07-11 Thread Rama Krishna
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.

struts and Jrun 3.0

2001-07-11 Thread Rama Krishna
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

templates: error

2001-07-10 Thread Rama Krishna
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.    

Re: Cannot find bean in scope null

2001-07-08 Thread Rama Krishna
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,

Re: iterate: offset

2001-07-08 Thread Rama Krishna
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

iterate: offset

2001-07-06 Thread Rama Krishna
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

Re: html:link problem

2001-07-05 Thread Rama Krishna
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

multiple param's in query string

2001-07-05 Thread Rama Krishna
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

Re: html:link problem

2001-07-05 Thread Rama Krishna
:   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

Re: html:link problem

2001-07-05 Thread Rama Krishna
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.

Re: html:link problem

2001-07-05 Thread Rama Krishna
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

Re: html:link problem

2001-07-05 Thread Rama Krishna
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:

html:link problem

2001-07-05 Thread Rama Krishna
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          

husted.com

2001-07-05 Thread Rama Krishna
is it down???  

Re: Logic:Iterate in html:option

2001-07-03 Thread Rama Krishna
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

Re: simple question

2001-07-03 Thread Rama Krishna
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

iteration question?

2001-07-03 Thread Rama Krishna
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,

Re: Two Problems

2001-07-02 Thread Rama Krishna
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

Re: NotEqual or Present?

2001-07-02 Thread Rama Krishna
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?

Re: NotEqual or Present?

2001-07-02 Thread Rama Krishna
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

Re: No ActionForm but want to put html objects inside the form and submit that form ??? is it possible ??

2001-07-01 Thread Rama Krishna
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

Re: multiple form fields (I HATE CTRL-S )

2001-06-29 Thread Rama Krishna
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

problems with iteration

2001-06-29 Thread Rama Krishna
  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

Re: validation

2001-06-29 Thread Rama Krishna
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

Re: multiple form fields (I HATE CTRL-S )

2001-06-29 Thread Rama Krishna
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 )

Re: multiple form fields (I HATE CTRL-S )

2001-06-28 Thread Rama Krishna
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

variable column width in iteration

2001-06-28 Thread Rama Krishna
    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

Re: iterate vector of vectors

2001-06-28 Thread Rama Krishna
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:

iterate vector of vectors

2001-06-28 Thread Rama Krishna
hi,   can anyone tell me how to iterate a vector of vectors??   thanx, rama.

Re: directly invoke action class

2001-06-28 Thread Rama Krishna
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

directly invoke action class

2001-06-28 Thread Rama Krishna
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

Re: No Bean found under attribute key

2001-06-27 Thread Rama Krishna
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

Re: working with reports

2001-06-27 Thread Rama Krishna
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: >

Re: working with reports

2001-06-27 Thread Rama Krishna
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

Re: Cannot find bean in scope null

2001-06-27 Thread Rama Krishna
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

Re: working with reports

2001-06-27 Thread Rama Krishna
orbes.cms.botw.search"> > >property="name"/> >property="description"/> > > > > > David > > --- Rama Krishna <[EMAIL PROTECTED]> wrote: > > hi, > > > > i want to display recor

working with reports

2001-06-27 Thread Rama Krishna
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.

No Bean found under attribute key

2001-06-27 Thread Rama Krishna
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