Re: using Two struts-config

2004-03-16 Thread Raman
1 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, 2004 2:41 PM Subject: AW: using Two struts

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

Struts-config file for ADMIN module

2004-03-03 Thread Raman
ONE OF my trials that I made Any better and workable solutions will be appreciated. Regards, Raman Garg

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

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

DataSource help

2004-02-13 Thread Raman
UpdateSessionListenerDAO(dataSource); dao.insertSessionLogging(session.getId().toString()); }catch(Exception e){ System.out.println("ERROR " + e.getMessage()); } But this is not working I was not able to figure out the reason. Pls help.. -- Raman

Re: Regarding :

2004-01-28 Thread Raman Garg
Hello, I hope following will resolve your problem: <% String s=maxreqiddetail.getPrimary_skill(); %> I haven't tested it but i think it will work. Thanks, -- Raman - Original Message - From: "Ramachandran" <[EMAIL PROTECTED]> To: "Struts Users

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

2004-01-19 Thread Raman
tion.. Pls help. Raman Garg

Re:

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" <[EMA

struts-user@jakarta.apache.org

2004-01-17 Thread Raman
Hello, I have a checkbox and i want to assign Delete here i want value to be my "id" value of table.. i have this string in and assign this as 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

Form submission

2004-01-15 Thread Raman
I want to implement something like this: Conditional checks: for form submission to different Actions 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
this was the reason... I don't know otherwise. Hope this may help others... -- Raman [EMAIL PROTECTED] - Original Message - From: "Mark Lowe" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, December 20, 20

Re: BeanUtils.populate Error

2003-12-20 Thread Raman
-- -- Raman - Original Message - From: "Firat TIRYAKI" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, December 20, 2003 4:20 PM Subject: Re: BeanUtils.populate Error > check your form and bean

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

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

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

Re: session.invalidate() throws exception.

2003-12-10 Thread Raman Garg
("/Login.do?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

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

Re: Basic question about

2003-11-25 Thread Raman Garg
2003 5:51 PM Subject: Re: Basic question about hi, so glad that i met the same question as you > > > module id: > > > />">abc > > > article title: > > > > and it show me the errors: > > equal symbol expected > > --- > can

Basic question about

2003-11-25 Thread Raman
hello all, i have a basic problem in "> but this is not working. Any help regarding this?? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Logic Iterate problem:

2003-11-24 Thread Raman
rgory" class which has "productlist[]" and "catergoryname" as its properties Thanks in advance Raman Garg

Re: tiles - setup

2003-11-24 Thread Raman
="/WEB-INF/tiles-defs.xml" /> > > > > > > > > > > > > > >Also, > > > >try to open your tiles-defs.xml file in your browser to check if it showing > >any error?? > > > >Raman Garg &g

Re: tiles - setup

2003-11-24 Thread Raman
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 Subject: tiles - setup > I'

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 to

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 at

Re: action-mappings, action not working

2003-11-13 Thread Raman Garg
} and check the output at tomcat after restarting it... this will ensure that your class file 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 PROTECT

Problem of nested logic:Iterate

2003-11-13 Thread Raman Garg
Hi, I have a problem regarding struts logic:iterate I need to show category wise listing of products. so can anybody advice me how to create nested logic iterate loops to accomplish this. what i need is there will be two nested logic iterates

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
Hi, I have a problem regarding struts logic:iterate I need to show category wise listing of products. so can anybody advice me how to create nested logic iterate loops to accomplish this. what i need is there will be two nested logic iterates

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 "

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

Re: validation

2003-11-12 Thread Garg Raman \(SDinc\)
onError("error.text1.required"));} } 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: Wedn

File upload problem with Struts 1.1

2003-11-12 Thread Raman Garg
weblogic.servlet.internal.ServletRequestImpl.execute (ServletRequestImpl.java:2573) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151) == Any Suggestion or help will be highly appreciated. Best Regards Raman Garg

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: 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 -and- hope this helps anand -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 6:53 PM To: [EMAIL PROTECTED] Subject: Still having weir

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 exp

RE: problem

2002-06-24 Thread Anand Raman
hi It is simple. Reuse the same mappings which you have defined for this type of process flow. e.g. I am sure that your struts-config file would have similar mappings. Suppose with this definition for a element if you are on page 3 and require to go back, you could do a mapping.findForward(

question on ActionForm properties.

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

RE: html: password and where has my password gone ?

2002-06-21 Thread Anand Raman
make sure that the name for the password box has a appropriate getter in the ActionForm. Struts will complain if you trying to display a form on a jsp but the ActionForm doesnt have a getter, but wont crib if a setter for the property is not present in the form. Hope this helps Anand -Origin

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: action class perform method

2001-03-15 Thread Anand Raman
hi guys Definitly u can use the perform method without the ActionForm parameter. A null will be passed as the ActionForm parameter if the Action configuration directive in the struts-config.xml file doesnt contain a "name" attribute Hope this helps Anand On Wed, Mar 14, 2001 at 10:56:16AM -05

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

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

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 Str

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

significance of property attribute in select tag

2001-03-08 Thread Anand Raman
some other jsp files.. However when i use "> Tomcat reports ::: Attribute paymentMode has no value Please clarify Thanks Anand Raman

Re: perform() called twice + possible v1b1 bug

2001-02-26 Thread Anand Raman
maybe one simpe solution.. Why dont you use a simple button instead on a html submit button.. I think that will simplify ur case as it once did for me.. Hope this helps Anand On Sat, Feb 24, 2001 at 02:30:13PM -0500, Fickes, Vic wrote: >To answer the question, I'm using IE5.5. > >However, I disco

Re: forwarding to different web pages

2001-02-26 Thread Anand Raman
define seperate action mappings and depending on the login forward the guy to the appropriate mapping.. if(user.isSysAdmin()) return mapping.findForward("sysadmin"); else if(user.isAdmin()) return mapping.findForward("admin"); Hope this helps Anand Raman

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 hidde

Re: perform() called twice

2001-02-24 Thread Anand Raman
Hi Vic The action perform method is called once for every submission.. When u hit the submit button the ActionFromBean is populated and then the controller passes on the control to the Action class perform method. U then return any appropriate action forward method from the same perform method

Re: redirect question

2001-02-24 Thread Anand Raman
I guess this can be typically achieved thru javascript.. Though not very sure u can try out the layers tutorial on http://developer.netscape.com/ for more information.. Hope this helps Anand On Thu, Feb 22, 2001 at 03:02:24AM -0600, Arnold Cano wrote: >i have run into a bit of a problem. my acti

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 afte

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

can a ActionForm be ever null in Action class

2001-02-01 Thread Anand Raman
Hi guys I noticed in the struts-example application a check to find whether the ActionForm "form" passed to the perform method of Action class is null or not. Is it really necesarry.. I am not able to come up with a situation like this.. According my knowldge a ActionForm is always populated bef

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

Re: accessing a property of ActionForm

2001-02-01 Thread Anand Raman
do i access the value of a property.. > >Please 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

multiple action forms with one action

2001-01-31 Thread Anand Raman
hi guys How do we associate more than one ActionForm with a Action Thanks for your help Anand

suggestion for searchable list archive..

2001-01-30 Thread Anand Raman
submission 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.

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

Re: ActionForm in this case

2001-01-29 Thread Anand Raman
Hi Hunt Sorry for the late response but i just managed doing something very similar.. its quite easy to do and can be comfortably accomplished using struts.. The link which leads to ur edit page will have the action mapping and also a requestParameter to identify the operation that needs to be p

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 strut

Re: Null pointer exception..

2001-01-27 Thread Anand Raman
) >method 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 Acti

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 n

Re: unable to view jsp

2001-01-24 Thread Anand Raman
ork fine? >When you look at the source, what do you see? Also, >what server are you running under? > >Do you have your tags defined at the top of the page? > ><%@ taglib uri="/WEB-INF/struts-bean.tld" >prefix="bean" %> > > >David > >--- An

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 see

Re: No mapping available for path /jsp/logonForm

2000-10-23 Thread anand . raman
orm.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 > > > > - > Get personalized e-mail and a web address or your > own f

No mapping available for path /jsp/logonForm

2000-10-23 Thread anand . raman
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 - Get personalized e-mail and a web address or your

Re: xml exception on context startup [solved]

2000-10-22 Thread anand . raman
hi guys I managed to solve the problem.. I dont where the problem was but i deleted the entire application and created it again.. Things have started rolling again.. Thanx for ur time and patience Anand Raman On Sun, 22 October 2000, [EMAIL PROTECTED] wrote: > > Hi craig > I jus

Re: xml exception on context startup

2000-10-22 Thread anand . raman
ache.org/struts/dtds/struts-config_1_0.dtd"> I am still stuck at it and need ur help.. Thanx Anand Raman ps : can i attach the web.xml and struts-config.xml in question to this list.. On Sun, 22 October 2000, "Craig R. McClanahan" wrote: > > Anand Raman wrote: > >

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 a

not forwarding to the submit page

2000-10-20 Thread Anand Raman
hi guys I have just started out with struts so bear this naive question I haev configured all the xml files in WEB-INF directory to appropriatly forqard requests to the necessary action classes.. However whenever i am hitting the submit button on myform the server throws a 404 error Not Found T