Re: [ANNOUNCE] Visual tool for Struts

2001-09-17 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

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- From:

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.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

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 html:errors/ hope this helps, rama.

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 welcome-file-listwelcome-fileindex.cm/welcome-file/welcome-file-list config.xml !--

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. html:form name="ReviewSummary"type="com.athensgroup.eval.actionforms.SummaryForm"action="/ReviewSummary.do"/ try removing the "/". rama. - Original Message - From: "Larry Maturo" [EMAIL

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 Action

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 before return and after errors.add

Re: newbie question

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

Re: Iterate with offset=parameter

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

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

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.

Re: html:errors 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: 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

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. am

Re: infinite loop

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

Re: infinite loop

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

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 for this

session problem...

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

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 this helps - Original Message -

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

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: 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

Re: html:select

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

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 forward name="..." path="..." redirect="true" / however, if i create a new instance of actionforward in my action class like new ActionForward("", true) it

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"

Re: quick question : form

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

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: using html:link 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 html:link with javascript its opening it twice bcoz ur giving a page link and also opening the page thro java

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.

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:

Re: struts and Jrun 3.0

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

Re: struts and Jrun 3.0

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

Re: struts and Jrun 3.0

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

Re: iterate: offset

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

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, 27 Jun 2001, Rama Krishna wrote: i get

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; % logic:iterate ... logic:iterate ... length="1" offset='%= "\""+row+"\"" %' % row++; %

husted.com

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

html:link problem

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

Re: html:link problem

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

Re: html:link problem

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

Re: html:link problem

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

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 form

Re: html:link problem

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

Re: logic:equal 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 Subject:

Re: NotEqual or Present?

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

Re: NotEqual or Present?

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

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

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 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

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 ) Paul,

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 its

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??? logic:iterate id="outer" name="myBean" property="records" logic:iterate

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 fields (I

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 form

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: iterate vector of vectors

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

variable column width in iteration

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

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 logic:equal name="indexPage"

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.

Re: working with reports

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

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 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

Re: working with reports

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

Re: working with reports

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

Re: No Bean found under attribute key

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