using Two struts-config

2004-03-16 Thread Raman
Hello, I want to use two different struts-config files for my Admin and other for main site. How can I do that. I have made changes in web.xml file declared two diffferent servlets but it is working for one site not for other... i don't know why?? and giving me error like nvalid path /Login was

Re: using Two struts-config

2004-03-16 Thread Raman
two servlet tags with names action and action1 and in mapping changed *.do for action and *.do1 for action1 servlet but that too was not picking up.. -- Raman - Original Message - From: Otto, Frank [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, March 16

Struts-config file for ADMIN module

2004-03-03 Thread Raman
(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) CREATION OF ANOTHER STRUTS CONF FILE for admin IS ONE OF my trials that I made Any better and workable solutions will be appreciated. Regards, Raman Garg

How to get application.getRealPath()

2004-02-20 Thread Raman
Hi All, Can any body tell me how can i get application.getRealPath() value in my Action's execute method. My problem is I want to get present physical path of my application. Pls help me.. -- Raman

Re: How to get application.getRealPath()

2004-02-20 Thread Raman
I got it.. its like HttpSession session = request.getSession(); session.getServletContext().getRealPath(/) ; -- Raman - Original Message - From: Niall Pemberton [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, February 21, 2004 4:00 AM Subject: Re: How

DataSource help

2004-02-13 Thread Raman
to figure out the reason. Pls help.. -- Raman

Re: Regarding : logic:iterate

2004-01-28 Thread Raman Garg
Hello, I hope following will resolve your problem: logic:iterate id=maxreqiddetail name=maxreqiddetails % String s=maxreqiddetail.getPrimary_skill(); % /logic:iterate I haven't tested it but i think it will work. Thanks, -- Raman - Original Message - From: Ramachandran [EMAIL

check this problem: Actions and forms

2004-01-22 Thread Raman
UpdateFoodLogAction(); updFoodlog.execute(mapping, form, request, response); But this is not working :( So any idea how can i handle this situation of 3 actions and 2 forms?? Pls give your valuable feedback... Thanks Raman Garg [EMAIL PROTECTED]

Value attribute of html:checkbox

2004-01-19 Thread Raman
tried and couln't find solution.. Pls help. Raman Garg

html:checkbox pls help

2004-01-17 Thread Raman
till now: I have bean:define id=val1 name=subfilters property=subFilterId/ and assign this as html:checkbox property=subfilterids value=%=val1% still it is not working and giving me error this may be simple issue.. but i have tried and couln't find solution.. Pls help. -- Raman

Re: html:checkbox pls help

2004-01-17 Thread Raman Garg
Thanks for your reply... BUT it take the default value=on when I do the way as you were telling me. I want to put the value=232 where 232 is the id value corresponding to my record. -- Raman - Original Message - From: Mohan Radhakrishnan [EMAIL PROTECTED] To: 'Struts Users Mailing

Form submission

2004-01-15 Thread Raman
html:form action=/UpdateUserQst /logic:notEqual But this is giving me error [ServletException Unterminated tag' if i remove the logic tags it works fine. Can anybody help me in this or give me some idea... Thanks -- Raman

Performance Issue

2003-12-26 Thread Raman
Nav, Right nav , Center content etc. we are using Custom Tags for this. What we have done so far: 1. Checked all the Data Access files for connection/recorset close. We need to know some tools or some way from where we can get to the bottle neck of the performance. Thanks Raman Garg

Re: BeanUtils.populate Error

2003-12-21 Thread Raman
... -- Raman [EMAIL PROTECTED] - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, December 20, 2003 7:59 PM Subject: Re: BeanUtils.populate Error On 20 Dec 2003, at 11:28, Raman wrote: ya the properties are same both

BeanUtils.populate Error

2003-12-20 Thread Raman
I am facing a error in Struts at BeanUtils.populate and not able to trace the cause. has anyone already face this problem? if yes what the cause. Pls help. type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request.

Re: BeanUtils.populate Error

2003-12-20 Thread Raman
Hi I am using Validator form... is there something i am doing wrong in that? -- Raman - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, December 20, 2003 4:11 PM Subject: Re: BeanUtils.populate Error When are you

Re: BeanUtils.populate Error

2003-12-20 Thread Raman
scope=request parameter=List validate=false forward name=success path=ask-a-question-list/ /action -- Raman - Original Message - From: Firat TIRYAKI [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent

retrieve value of Request

2003-12-19 Thread Raman
Hello, I have a query regarding use of struts to get the request variable value. I populate a variable in request in my Action as request.setAttribute(mode,1); now how can print the value of this variable using bean:write tag Help me in this... Thanks Raman Garg

Re: session.invalidate() throws exception.

2003-12-10 Thread Raman Garg
?reason= + LOGIN_REASON_NOT_LOGGED_IN, true); } } -- Raman - Original Message - From: Antony Paul [EMAIL PROTECTED] To: struts [EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 5:08 PM Subject: session.invalidate() throws exception. Hi, Calling session.invalidate

designing simple scheduler

2003-12-08 Thread Raman
Hello, I am using struts/beans in my application. I want a scheduler kind of thing that after regular interval of time should check the db and send mails. I want some suggestions regarding running it on red hat linux and way to go for this. Cheers, Raman Garg

Re: Display Problem using Struts

2003-11-27 Thread Raman Garg
Hi Gurpreet Try this bean:write name=myLogic property=content_body filter=true/ Hope this solves your problem Thanks, Raman garg - Original Message - From: Gurpreet Dhanoa [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, November 27, 2003 3:52 PM

Basic question about html:

2003-11-25 Thread Raman
hello all, i have a basic problem in html:radio I want to use it in the loop for radio buttons. But facing problems in setting the value of the control. i have tried html:radio property=id value=bean:write name=filters property=FilterId / but this is not working. Any help regarding this??

Re: Basic question about html:

2003-11-25 Thread Raman Garg
=module property=module_id /abc/option /logic:iterate /html:select article title:html:text property=article_title / br /html:form and it show me the errors: equal symbol expected --- can't nested tag like that? any solution about this? - Original Message - From: Raman

Re: tiles - setup

2003-11-24 Thread Raman
=definitions-parser-validate value=true / /plug-in Also, try to open your tiles-defs.xml file in your browser to check if it showing any error?? Raman Garg - Original Message - From: Morten Andersen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 24, 2003 3:34 PM

Re: tiles - setup

2003-11-24 Thread Raman
if it showing any error?? Raman Garg - Original Message - From: Morten Andersen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 24, 2003 3:34 PM Subject: tiles - setup I'm trying to use tiles with my existing struts application, but I can 't get

Logic Iterate problem:

2003-11-24 Thread Raman
name=category property=categoryname/ logic:iterate id=products bean:write name=products / /logic:iterate /logic:iterate I have a bean catergory class which has productlist[] and catergoryname as its properties Thanks in advance Raman Garg

Re: Problem

2003-11-21 Thread Raman
Hi MIke Thanks for your support. I am Raman Working with Gary. Following is thedetails regarding our log file. Can you help us in resolving this. 2003-10-23 16:56:12 [org.apache.catalina.connector.warp.WarpConnector] Error accepting requests java.net.SocketException: Socket closed

Re: Problem

2003-11-21 Thread Raman
hi Phil I am Raman working with Gurpreet on to the same problem. Basically we have 2 web applications which we have deployed onto the same Linux server from the same NT server. The thing which shocked us it one of the application is working fine but the other not. Well we are trying

Problem of nested logic:iterate

2003-11-13 Thread Raman Garg
!--this is for listing of catergory-- logic:iterate !--this is for products under a catergory-- /logic:iterate /logic:iterate How can populate the inner loop variable??? Thanks in advance, Raman Garg

FYI - some good links

2003-11-13 Thread Raman Garg
Tutorials with struts http://jakarta.apache.org/struts/resources/tutorials.html For List of common errors in Struts http://www.geocities.com/Colosseum/Field/7217/SW/struts/errors.html Some code examples with struts http://forum.exadel.com/viewtopic.php?t=120 do share yours!!! Raman Garg

Problem of nested logic:Iterate

2003-11-13 Thread Raman Garg
of catergory-- logic:iterate ... !--this is for products under a catergory-- /logic:iterate /logic:iterate How can populate the inner loop variable each category id?? Thanks in advance, Raman Garg

Re: action-mappings, action not working

2003-11-13 Thread Raman Garg
is called. if this goes ok then some problem is there in your index.jsp cheers Raman Garg - Original Message - From: Ajay Kalidindi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 13, 2003 4:53 PM Subject: action-mappings, action not working Hi I am using

File upload problem with Struts 1.1

2003-11-12 Thread Raman Garg
(ExecuteThread.java:151) == Any Suggestion or help will be highly appreciated. Best Regards Raman Garg

Re: validation

2003-11-12 Thread Garg Raman \(SDinc\)
));} } return errors; } Hope this may help you Cheers Raman Garg , Gary [EMAIL PROTECTED] [EMAIL PROTECTED] - Original Message - From: sairam manda [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 3:14 PM Subject: validation Hello Sir, I am

Re: File upload problem with Struts 1.1

2003-11-12 Thread Garg Raman \(SDinc\)
development server Any other suggestion will be appreciated . Looking forward to hear from you. Cheers Raman Garg - Original Message - From: Caoilte O'Connor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 3:42 PM Subject: Re: File upload problem with Struts 1.1

how to read request attribute

2003-11-12 Thread Garg Raman \(SDinc\)
Hi, can anyone tell me I want to show value of my request.setAttribute(varName,varName); in my jsp page created in struts, do we have any method to show the value wihtout using jsp tags %=request.getAttr. % I want to show it in html:link tag what will be value of paramId=id, paramProperty

RE: HotSpot Virtual Machine Error

2002-07-02 Thread Anand Raman
hi emm, The best which you can do in a situation like this is search for the error id on the sun java's bug parade page. http://developer.java.sun.com/developer/bugParade/ There would definitly be a few more people who have faced this problem and possibly a few work arounds also. Another point,

RE: Weblogic Application.properties issue

2002-06-25 Thread Anand Raman
hi chen I am not sure how you are deploying your web application. If you are deploying it the war way you need to 1. place the application resources under the /WEB-INF/class/com/youcompany/yourapplication package 2. restart the application server If you are deploying the application in a

RE: Still having weird dynamic validator problems

2002-06-25 Thread Anand Raman
hi Baybe a dumb question but are you using the custom tag to display the errors.. I think they are html:errors/ -and- html:messages id=error libean:write name=error//li /html:messages hope this helps anand -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent:

question on ActionForm properties.

2002-06-24 Thread Anand Raman
hi guys In one of mail sent to this mailing list I read quote form bean properties should generally be strings, and you should do the conversion to int (or any other datatype) later. /quote My questions is there any specific reason why it should be done this way. I understand that it is

struts-example question

2002-01-04 Thread Balu Raman
message for key index.title can someone clue me in ? Thanks, balu Raman -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: newbie question

2001-03-15 Thread Anand Raman
hi most probably u need a ApplicationResources.properties file in the WEB-INF/classes/mypackage-dir directory.. Try pasting the ApplicationResources.properties file in the directory and restart.. I think the problem should go away.. Hope this helps Anand On Wed, Mar 14, 2001 at 10:51:34AM

Re: changing scope of the ActionForm objects at runtime

2001-03-11 Thread Anand Raman
Hi Amar I did something similar.. Whenever i needed a ActionForm for variable scope i always used the session scope. Now whenever i needed the bean to persist only for the request, i manully removed the attribute from the session scope.. Not a very elegant solution, but still managed to solve my

significance of property attribute in select tag

2001-03-08 Thread Anand Raman
ection="paymentModeList" property="id" labelproperty="value"/ /html:select Tomcat reports ::: Attribute paymentMode has no value Please clarify Thanks Anand Raman

session scope action form

2001-03-08 Thread Anand Raman
hi guys How to retrieve a session scope action form in some other jsp file .. I tries doing a session.getAttribute("[name]") but didnt work.. I am doing something wrong.. Thanks Anand

Re: ActionForm question (repost)

2001-03-08 Thread Anand Raman
Hi Bryan I have used both primitive data types like int, float, boolean and String objects in the ActionForm class.. It has been working fine.. Meaning that a text filed which is filled with a numeric value populates the primitive setter method appropriatly.. The same happens in the case of a

Re: hidden submit button

2001-02-24 Thread Anand Raman
hi pratima This works for me.. When the html page is rendered try to analyse the html code and see whats wrong.. Hope this helps Anand On Fri, Feb 23, 2001 at 10:40:39AM -0800, Gogineni, Pratima wrote: Hi, This is probably something very straight forward but ... I am trying to create a hidden

database locks.. (OT)

2001-02-20 Thread Anand Raman
hi guys Please bear with me.. I am facing a typical problem though not directly related to struts.. I am using struts to power my web application.. I am trying to implement a multi page form and in some scenario the application is hanging because of a database lock which is not going away

Re: More Examples

2001-02-18 Thread Anand Raman
try out the additional resources link from the site.. Hope this helps Anand On Sat, Feb 17, 2001 at 07:06:21PM +0100, hunkpapa wrote: Hi, where can I find more exaples ? I've only the included examples from jakarta.

accessing a property of ActionForm

2001-02-01 Thread Anand Raman
suggest a way out.. I am not using any html tag lib.. I just want to access a property in the ActionForm and construct a anchor.. Thanks Anand Raman

options tag

2001-01-30 Thread Anand Raman
hi guys I have the following case. My ActionForm has a ArrayList called artistCollection which gets populated with Artist objects in the Action class. I now have to generate a select box using this ArrayCollection. The jsp page has the following code to populate the drop down box. html:select

suggestion for searchable list archive..

2001-01-30 Thread Anand Raman
such a submission Thanks Anand Raman

Re: FormTag problem

2001-01-29 Thread Anand Raman
hi Howard sorry for the late response but what kind of a mapping have u specified in the web.xml file. I think that too matters a lot to rightly match all the actions.. Thanks Anand On Mon, Jan 22, 2001 at 05:40:29PM -, Howard Moore wrote: I have the following action configured in my

Re: Action Form

2001-01-29 Thread Anand Raman
Hi Hunt, can be done in many ways.. one way being generate errors in ActionForm but dont display in the jsp page by simple skipping the html:errors/ tag from the file.. hope this is of some help Anand On Mon, Jan 29, 2001 at 04:24:37PM -0800, John Hunt wrote: If a person invokes a ActionServlet

Null pointer exception..

2001-01-27 Thread Anand Raman
hi guys I am into making a simple application using struts.. A portion of my Action subclass reads if ("edit".equals(aForm.getAction())) { servlet.log("display the artist details of id "+aForm.getArtistId()+" for editing with action "+aForm.getAction(),2); String sql = "select

Re: Null pointer exception..

2001-01-27 Thread Anand Raman
was called -- it would be triggered in your if statement. Have you checked that? Craig McClanahan Anand Raman wrote: hi guys I am into making a simple application using struts.. A portion of my Action subclass reads if ("edit".equals(aForm.getAction())) { servlet.lo

unable to view jsp

2001-01-24 Thread Anand Raman
hi guys I am on my way to make my first struts application.. The ActionForm, Action , ActionServlet and my jsp are all in proper places. However when i send a request for a jsp page i dont get to see any content on my browser. The server has serviced these requests and it is evident as i can

No mapping available for path /jsp/logonForm

2000-10-23 Thread anand . raman
jsp"/ /action /action-mappings Tomcat reports back with a 400 error message Error: 400 Location:/contest/jsp/logonForm.do Invalid path /jsp/logonForm was requested Can any one please tell me how i can get rid of this.. Thanx for ur time Anand Raman ---

xml exception on context startup

2000-10-22 Thread Anand Raman
hi guys I stated testing struts after creating a small context almost on the lines of the struts - example application.. However whenever tomcat starts this applcation it compains of SAXException. These errors are not thrown for the struts-example application.. What could be the possible cause