junit test for database service classes

2005-10-02 Thread rahul
Hi all, In my struts application I am using JNDI for fetching database connections. I did this by defining a context in META-INF/context.xml of my application. Here is what lies in my context.xml file: And this is the code I use to get a connection : Context ctx = (Context) new InitialC

RE: form bean population confusion

2005-10-02 Thread rahul
see inline comments # > -Original Message- > From: croffman rhenv [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 01, 2005 8:41 PM > To: user@struts.apache.org > Subject: RE: form bean population confusion > > > Thanks for the reply. > > 1. Looks like I got into the problem, becaus

RE: [Hibernate] Who owns the problem?

2005-10-02 Thread Murray Collingwood
Thanks David I made the change as you suggested but this reported an error, you can only specify servlet-name or url-pattern. I removed the url-pattern and set the servlet-name appropriately. It now seems to be working much better. Thanks again. Kind regards mc On 3 Oct 2005 at 0:11, Davi

RE: [Hibernate] Who owns the problem?

2005-10-02 Thread David G. Friedman
Murray, Is your included code 100% accurate? I saw this listing in your posted web.xml which makes no sense to me: HibernateFilter *.do Shouldn't that be: HibernateFilter action *.do There is no servlet named "*.do". Your url pattern would probably be the "*.do"

[Hibernate] Who owns the problem?

2005-10-02 Thread Murray Collingwood
Hi guys I'm getting exceptions with some Hibernate code and when I post on the Hibernate forum they are claiming it is a Struts issue. I've read lots of stuff from almost everywhere and continue to struggle with this implementation. Please check out the background (and config/code) at: http

multiple modules/ forward prefix module name

2005-10-02 Thread sseong
Hello, I need help with struts forward with contextRelative set to false. Whan ran, the struts prefixes module name in front of the path before forwarding to a jsp page. struts-test.xml (test submodule) When /test.do is ran, the /test/root/test.jsp is accessed instead of /root/test.jsp.

Re: question regarding ActionForm

2005-10-02 Thread Niall Pemberton
Firstly what version of Struts are you using? It probably doesn't make a difference, but its always useful to know. Could that call (or anything else) be affecting the attribute under which the ActionForm is stored in the request? What happens if you retrieve the ActionForm from the request after

question regarding ActionForm

2005-10-02 Thread Vince Law
I am having a problem with ActionForm. Please help me out, because I have been trying to resolve this problem for the past 4 days without getting any solution for it. Thank you so much! I defined the form in the struts-config.xml as: The 3 actions that use the form-bean are:

Re: [OT]which web log hoster (provider ) to use ?

2005-10-02 Thread Niall Pemberton
David Geary seems to be able to post images using jroller... http://jroller.com/page/dgeary Niall - Original Message - From: "Legolas Woodland" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, October 02, 2005 6:47 PM Subject: [OT]which web log hoster (provider ) to us

Re: need help with "java.lang.IllegalArgumentException: No bean specified"

2005-10-02 Thread José Martínez Benavides
I'll answer myself :p I've found the problem. My ActionForm class has an object type field, and I dont't initialize it with an instance. 2005/10/2, José Martínez Benavides <[EMAIL PROTECTED]>: > I'm getting this error message while doing the submit of a form with > java script. I use a tag, and d

[OT]which web log hoster (provider ) to use ?

2005-10-02 Thread Legolas Woodland
Hi Thank you for reading my post Where does usually Java developer make thier Blog ? I want to make a web log for myself and i want it to let me post blog entry which may contain images I checked te jroller and it has not possibility to add images to blog entry Which of blog hoster provide this cap

Re: i need struts api, please help me

2005-10-02 Thread rama gmail
Hello Ravi, You can follow this link http://struts.apache.org/api/index.html Cheers Rama Krishna Kakarla - Original Message - From: "ravikumar maddi" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, October 02, 2005 4:33 AM Subject: i need struts api, please help me

RE: i need struts api, please help me

2005-10-02 Thread Michael Oliver
Ravikumar, You found this mailing list on the http://struts.apache.org site, so how did you find this without finding the guides, javadoc, etc.? You really should try a little harder before you ask the list, you should have read the mail list guidelines before posting to the list as well. You wi

Re: i need struts api, please help me

2005-10-02 Thread Phlip
ravikumar maddi wrote: > i am ravikumar. i need struts API please give me > proper link to get struts API. What did www.google.com tell you about struts jar ? -- Phlip http://www.greencheese.org/ZeekLand <-- NOT a blog!! -

need help with "java.lang.IllegalArgumentException: No bean specified"

2005-10-02 Thread José Martínez Benavides
I'm getting this error message while doing the submit of a form with java script. I use a tag, and define the onclick event doing something like this: form.action=anAction; form.submit(); - anAction is a string indicating the action. - form is the one I indicate in the styleId property of the t

i need struts api, please help me

2005-10-02 Thread ravikumar maddi
hai, i am ravikumar. i need struts API please give me proper link to get struts API. thank you very much, regards, ravikumar.m __ Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com