) {
System.err.println(== Error in getting the connection: +
e.getMessage());
---end of code --
--
Rajat Pandit | [EMAIL PROTECTED]
System Analyst
Manchitra Services Pvt. Ltd (www.manchitra.com)
Tel: 011-26232696 / 26232798
Cellphone: 9818247126
B231 / C GK I
New Delhi
in the data source definition.
Chris McCormack
-Original Message-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent: 25 March 2004 11:01
To: Struts Users Mailing List
Subject: db error
Hello All,
i am trying to connect a oracle database, and i get this stack trace, can
someone please tell me what
connection.
Chris McCormack
-Original Message-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent: 25 March 2004 11:11
To: Struts Users Mailing List
Subject: Re: db error
Thanks chris,
so this is not because of any missing classes or jar files? is this a
connectivity issue? the database
i shall my two cents to this, do read the article on onlamp.com and go
though the source code as well. i just had to do the same this morning to
refresh my log4j skills.
- Original Message -
From: Van Riper, Mike [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent:
Hello,
I know this could be a dumb question, but how do access the objects stored in the
ServletContext object using bean:write
a quick answer would help!!
this.
Thanks in advance.
--
Rajat Pandit | [EMAIL PROTECTED]
System Analyst
Manchitra Services Pvt. Ltd (www.manchitra.com)
Tel: 011-26232696 / 26232798
Cellphone: 9818247126
B231 / C GK I
New Delhi
Hello All,
we have a product which was built on an inhouse developed controller, and we are
currently planning to port the application on struts. This application was built on
the MVC architecture with a central controller as the application entry point.
for phase I we have to make additional
Hello All,
we have a product which was built on an inhouse developed controller, and we are
currently planning to port the application on struts. This application was built on
the MVC architecture with a central controller as the application entry point.
for phase I we have to make additional
:) thanks a lot everyone for ur valuable inputs!!! in case anyone forsees
any possible bottlenecks, please do let me know!
rajat
- Original Message -
From: Geeta Ramani [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 6:45 PM
Subject: Re:
,value);
}
--
Rajat Pandit | [EMAIL PROTECTED]
IT Consultant
Phone: +91 612 3117606
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
for hours.
Regards,
David
-Original Message-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 29, 2003 12:44 PM
To: Struts Users Mailing List
Subject: org.apache.struts.legacy.GenericDataSource
hello gurus,
i have an terrible terrible problem with my application, after hosting
and returns 1 row
testWhileIdle set to true
timeBetweenEvictionRunsMillis set to 180 (1000 miliseconds * 60
seconds * 30 minutes)
testOnBorrow set to true
minIdle set to 2 (or higher)
Regards,
David
-Original Message-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 29
rajat
--
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
in the db.
but when i retrive it back, it comes out escaped HTML like br would
become lt; br gt; i wonder if anyone has had this problem. i am
desperately hunting for a solution(i am beginning to say this quite
often now).
anyone?
thanks in advance.
--
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
'org.apache.struts.upload.FormFile'
kindly help me in this regard.
Sunny.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
-Original Message-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 5:58 AM
To: Struts Users Mailing List
Subject: HTML content
hello,
i was wondering if the javax.sql.* packages (executeQuery(String sql))
does some kind of manipulation to the content of text areas
: [EMAIL PROTECTED]
--
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
!--redirection tag goes here --
/logic:notPresent
is there something like jsp:forward in the struts beans!. i tried
using jsp:forward page=bean:rewrite forward=/signin / / but the
internal tag didnt evaluate.
i figured out use jscript as one way. but its UGH!! ugly. anybetter ideas?
thanks
--
Rajat
to share (a part of)
of the struts-config.xml /web.xml with me.
thanks everone.
--
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being]
-
To unsubscribe, e-mail: [EMAIL PROTECTED
same. if the size happens to be less than the minicapacity (in your
case), the error will occurs. If you check the size value, I bet it will
less than index+1 in your case.
Jack
-Original Message-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2003 8:45 PM
To: Struts
hello
can someone please explain me the format attribute of the bean:write
tag..and can i use it to round off numbers in the presentation layer to
the number of significant digits i want?
thanks in advance.
rajat
--
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time
=false/
so when there is a error it will be forwarded to page1.jsp
-yoga
-Original Message-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2003 11:40 AM
To: [EMAIL PROTECTED]
Subject: validation not working
hello all,
i have a form, which inputs a number of units
hello,
i am looking for some documentation on the validation(Client end) for
struts. there are so many of them, date, creditcard etc, and i am still
using my own regex for making them work. i would be glad if someone
could give me pointers for tutorials/documentation etc.
thanks
--
Rajat
.
moreover it seems like an overkill, if you actually required just one
method and u have 10 methods tagging along with it?
can someone shed some light on this?
thanks
--
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being
PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
http://www.mail-archive.com/[EMAIL PROTECTED]/msg48219.html
pls have a look at this, i am facing a similar problem. can someone pls
help me with this?
--
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being
.
aused by: java.lang.IndexOutOfBoundsException: Index: 2, Size: 1
at java.util.ArrayList.add(ArrayList.java:367)
at
com.hedging.admin.productmanagement.StateForm.setStartValue(StateForm.java:91)
... 43 more
i would be reaslly thankful in someone could suggest me something.
--
Rajat Pandit
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being
and delete the original. Any other use of the email by you is prohibited.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer
of collection, not the collection object.
How should I go about it.
Help please. thanx a lot
Imran.
Imran
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Rajat Pandit | [EMAIL
: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being
or something.
any help / suggestion would be appreciated.
rajatp.
--
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
ActionError(errors.toManyStates));
}
return errors;
}
!-- end of validation method --
--
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being]
-
To unsubscribe, e-mail: [EMAIL
struts-config
message-resources parameter=ApplicationResources.properties/
/struts-config
According to your struts config, the path for the res. File should be
something like this.
/WEB-INF/classes/ApplicationResources/properties.properties
The res file being named properties.properties
Use index properties. That's the way to go!!
-Original Message-
From: Nathan Pitts [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 1:56 PM
To: Struts Users Mailing List
Subject: how to design for multiple records to be inserted from one
screen?
I'm hoping someone can help
+]%' styleClass=flat size=3 /
If someone can reply to this asap, I would be really happy. I wnt the
damn checkboxes to retain their state. Any other idea or suggestion
would be really helpful!
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being
=myprop
html:text name=prop property=foo indexed=true /
/logic:iterate
I guess you could apply the same principles using non dynamic action
form. I imagine that using an array rather than arrayList should work
too.
Cheers Mark
On Tuesday, October 28, 2003, at 02:31 AM, Rajat Pandit
)
Can someone explain why I got this and how to fix it.
Thanks.
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
mark! Thanks for all the kick in
the butt!! Helped me think rationally :D
-Original Message-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 26, 2003 9:39 PM
To: [EMAIL PROTECTED]
Subject: Index properties (once again)
Hello sorry for posting the same question again
The solution also depends on the fact that you want to explore a
remote file or a local file. For local files, I belive using the DOM is
the best option to solve the problem. (see javascript for more info).
-Original Message-
From: Dinh Nguyen [mailto:[EMAIL PROTECTED]
Sent: Monday,
said.
Is there really no way to do a client-side validation using validator
framework?
- Original Message -
From: Rajat Pandit [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Sunday, October 26, 2003 1:37 PM
Subject: RE: How to validate html:radio is selected
Hi,
Can someone help me with this. I want to iterate though form field
values, something like this org.apache.struts.taglib.html.BEAN[0].mode,
mode being one of the field values of the form
Thanks
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being
and just think about getting your form properties into your action.
is the form property an indexed property? How are they defined
(actionForm or dynaactionform?)
On Sunday, October 26, 2003, at 05:30 AM, Rajat Pandit wrote:
Hello,
I am still stuck with the multiple parameter problem. I
method of the form :
signals = new ArrayList().
The setter and getter methods of the indexed property perform so-clled
lazy-initialization so you do not have to worry about the siez of the
array list.
Hope this helps.
Fred
Le dim 26/10/2003 à 16:54, Rajat Pandit a écrit :
Hello,
I am pasting
into trouble.
If you took a proper look at the responses instead of wetting your
pants you might make some progress.
http://jakarta.apache.org/struts/
I agree, you have issues.. Bye..
On Sunday, October 26, 2003, at 03:56 PM, Rajat Pandit wrote:
I seriously have other issues right now! But I guess
the property be declared in the the actionForm if it has to
receive an array of information.
thanks
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being]
-
To unsubscribe, e-mail: [EMAIL
Mailing List
Subject: Re: Multiple parameters
Are you sure you can use float arrays in an ActionForm.
I think ActionForm beans accept only String values. It's up to you to do
conversion from/to Float.
Rajat Pandit wrote:
Hello mark,
This is my situtation
This is an extract from my action form
by posting again
and again, but this is my last hope!!
Hope someone helps!
(ps: once I am through with this, I shall write my own HOW TO for the
indexed properties and its use)
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being
with visibility hidden and visibility
visible. Only, the submit buttons that come afterwards, remain in the
same location. That is, when the questions are hidden, the buttons are
a far below in the page.
Regards, Jan
-Mensaje original-
De: Rajat Pandit [mailto:[EMAIL PROTECTED]
Enviado
I had a similar problem, you might want to confirm the same with ur host
if he has made the required entry in the jkmount file which maps the
request and sends them to the servlet container instead of being
processed by apaches' mods.
-Original Message-
From: todd thorner [mailto:[EMAIL
: RE: [OT] Db usage in bean [design issue]
That's what the DAO design pattern will do for you.
Look at Hibernate or iBatis or any other DAO project or implement your
own using JDBC. -Tim
-Original Message-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 1:36 PM
in an array but in this case I cant control
that.
Thanks again in adv for rescuing me.
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
data as hidden type
B. how do I iterate though the data in my action class
Pls help me with this :(( I am not going nuts!! With the ever changing
specs :((
-Original Message-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 25, 2003 11:23 AM
To: [EMAIL PROTECTED
html:cancel.. Should do the job. However you could use do different
forwards in ur action class. Depending on the value of submit clicked
on.
Also to keep it simple, just javascript on the onClick even on the
cancel button and use the actual submit button for sending the content
to the action
will be implemented. But how do you do
that? Can you give me example? how do I use the forward in my
action class?
Thanks,
Dinh nguyen
--- In [EMAIL PROTECTED], Rajat Pandit [EMAIL PROTECTED] wrote:
html:cancel.. Should do the job. However you could use do different
forwards in ur action class
using html:radio indexed=true which seems to work, but I
still cant figure out how to iterate though it as I will need to do that
in the validate() and execute() method.
Pls gimme some pointers or help :(((
Really really stuck!
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer
I couldn't find a workaround for that so far. I use the validate()
method of the actionform. Pretty lame! Eh!
-Original Message-
From: ZYD [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 25, 2003 10:33 AM
To: Struts Users Mailing List
Subject: How to validate html:radio is selected on
Thoug a non struts related question, you might want to consider layers
(DHTML) and make them visible or invisible. Try using dreamweaver. It
has a good tool for making layers
-Original Message-
From: Jan Kester [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 12:59 AM
To: Struts
on
the floodlights ;) )
Also any pointers on design patterns...
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Muhahhahahahh!!hhehehh!heeh (hope I didn't wake everyone with my
loud laugh!!) hehe
I didn't know struts would be all this fun!! Cheers!! geetha
-Original Message-
From: Geeta Ramani [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 10:27 AM
To: Struts Users Mailing List
: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 1:36 PM
To: [EMAIL PROTECTED]
Subject: Db usage in bean [design issue]
Hello all,
I am new to servlets development as such. And have this design issue. I
want to ensure that the applications that I build can be used with other
.
Rajat Pandit wrote:
Hello all,
I am new to servlets development as such. And have this design issue.
I want to ensure that the applications that I build can be used with
other databases, which might have different tables or column names or
different structures on the whole.
I mean the basic
Hehe, this was the funniest thread I have ever read in my life. I
believe the western equivalent of diwali is guy fox day! Correct me if
I am wrong!!! But ok, as long as it's a day off from work and lots of
sweets and candies to eat :{
-Original Message-
From: Prasenjit Narwade
Yay! I get to see craig!! Yeehaw!
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 10:58 PM
To: Struts Users Mailing List
Cc: 'Ruth, Brice'
Subject: Re: [ANN] Struts and JavaServer Faces talk by Craig McClanahan
on 11/5
Van Riper,
Huh?
-Original Message-
From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 3:46 AM
To: Struts Users Mailing List; WebSphere User Group Tech Q A Forum
Subject: Re: Help needed on Iterate Tag
Aapko Naye Saal me...
Chandragupt
.
Second part: cant someone give me a quick example (descriptive) of how
to upload a file and move it to a particular place on the server.
Thanks in advance
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being
the countries from a checkbox
(could be possibly multiple countries) if possible please give me a
sample code to learn as well.
My project deadline is coming close and I am stuck with conceptual
problems. Please consider this as urgent call for help.
Thanks in advance.
Rajat Pandit | [EMAIL
Hi there, this errors looks familiar to me as a one time struts newbie,
you need to a file called struts-legacy.jar to help you. This is if ur
using the generic data source. I still havent been able to figure out
how to get org.apache.commons.dbcp.BasicDataSource to work fr me.
Any pointers
to $500 is the name represented state.name ie.
pls consider this is imp. it would be really nice if u could mail me a
possible solution for this asap.
thanks in advance
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being
Hello,
A little off the topic though, but it this has always intrigued me about
building a multilingual website. I mean using the resources bundle u
could provide a translations from the labels but in case of building a
CMS (content management system) how would one enter the content in the
native
Hello,
Well I am a newbie myself but I had a similar problem where I didn't
want to hard code that fact that a particular module required a person
to be logged in or not. Maybe you could make some use of this.
You need to extend the ActionMapping first. To a custom action mapping.
And then define
-Original Message-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent: Monday, October 20, 2003 7:54 AM
To: Apani Hiren
Subject: help needed yet again!!
hello,
yet another problem, pls ahve a look at the code segment, and if u could
suggest a solution or suggestion it would gr8
this as urgent call for help.
Thanks in advance.
Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
hello,
i am using multiple forms in one page which are
attached to the same form bean. now the problem is
that when there is an validation error and the page is
returned back to INPUT all the forms in the page are
prefilled with the same value. i am giving the
struture of my jsp pls help as this
hello,
my question in one line.. how do u handle multiple
forms attached to the same form bean in one bean?
longer question --
say i have a list of products and each product has a
list of states. i store all the states in an ArrayList
and add that as a property of product and then add all
the
hello,
i am using mysql as a datasource in the app,everything
is working fine but when make changes in the class
files and reload the application the application
ceazes to work and i got the followng messages in my
log file. can some one help me figure out where am i
going wrong. am a newbie.
79 matches
Mail list logo