Hi all,
I've configured a data source at struts-config.xml. This data source use oracle
thin jdbc driver. And I've already included the ojdbc.jar. Also, the oracle
database I'm trying to connect is OK. But I just can't make the data source get
the connection. It always throws a SQLException:
What version of struts?
Data-source got deprecated at some point. I forget the version.
On 4/1/08, Chen Chunwei [EMAIL PROTECTED] wrote:
Hi all,
I've configured a data source at struts-config.xml. This data source use
oracle thin jdbc driver. And I've already included the ojdbc.jar. Also,
I'm using struts 1.1
- Original Message -
From: Vinny [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Tuesday, April 01, 2008 2:52 PM
Subject: Re: Help on data-source
What version of struts?
Data-source got deprecated at some point. I forget the version.
Please Chen, the next time you post a question, say that you are using
Struts 1.1 *always*.
See the answers below.
2008/4/1, Chen Chunwei [EMAIL PROTECTED]:
set-property property=minCount value= /
set-property property=maxCount value= /
I think this is the problem: specify a value for
2008/3/31, Ashish Kulkarni [EMAIL PROTECTED]:
org.apache.jasper.JasperException: /pages/index.jsp(125,15) According to
TLD
or attribute directive in tag file, attribute test does not accept any
expressions
You have to import the c_rt.tld file, not the c.tld.
Antonio
Thanks.
I've tried to specify minCount=2 and maxCount=4. But I've encountered a new
exception: The Network Adapter could not establish the connection. Is that mean
something wrong with my network connection?
I'm using Struts 1.1
Talos
- Original Message -
From: Antonio Petrelli
2008/4/1, Chen Chunwei [EMAIL PROTECTED]:
Thanks.
I've tried to specify minCount=2 and maxCount=4. But I've encountered a
new exception: The Network Adapter could not establish the connection. Is
that mean something wrong with my network connection?
Can I see the complete stacktrace?
Hi,
We are starting to use STRUTS 2 and have found that the MailReader demo
app throws an exception. To help us find the root of this problem and to
help us understand xwork better we are looking for the source code for the
release of xwork that struts 2 v2.0.11.1 is built on.
This does not
--- Varun Deep [EMAIL PROTECTED] wrote:
I am using Struts2. In this I am facing the problem in using the
JavaScript with the Struts2 tags. If some has the solution for that
please help me.
That's somewhat nebulous.
It would be more helpful if you could describe what specific issues you're
2008/4/1, Chen Chunwei [EMAIL PROTECTED]:
java.sql.SQLException: Io Exception: The Network Adapter could not
establish the connection
It seems that you cannot reach the Oracle server... can you ping it? Are you
able to see it through a sql client?
Antonio
--- Ian Meikle [EMAIL PROTECTED] wrote:
To help us find the root of this problem and to help us understand
xwork better we are looking for the source code for the release of
xwork that struts 2 v2.0.11.1 is built on. This does not seem to be
included in the STRUTS source zip file.
It's not
Thanks Antonio
Now I can make it connected.
By the way, can I say that, if I use data-source in my struts application,
then the struts servlet manages the connection? That is, when the application
is deployed, the struts servlet will automaticly create connections of numbers
specified by
2008/4/1, Chen Chunwei [EMAIL PROTECTED]:
By the way, can I say that, if I use data-source in my struts
application, then the struts servlet manages the connection? That is, when
the application is deployed, the struts servlet will automaticly create
connections of numbers specified by
2008/4/1, Chen Chunwei [EMAIL PROTECTED]:
Personally, I do wanna use JNDI. But the project I'm going to do is based
on struts 1.1 and using data-source to connect to db. So I have to learn
on these things first and learn the advanced things later after work :-)
Notice that JNDI support
Hi,
I have downloaded what is discribed as the latest best available release
of STRUTS 2.0.11.1 (http://struts.apache.org/downloads.html)
I am following the tutorial Using tags where the example uses a URL tag
with the var attribute.
s:url var=url action=Welcome
However this crashes
The exception is the result of something in your JSP -- probably a bug
in some of the embedded Java code. I would suggest:
1) wrapping the entire JSP with % try{% and %} catch (Throwable t) {
t.printStackTrace(); }% to isolate the problem
2) if that's not enough to solve it, start
There is no shortcut to learning a new framework. I suggest buying a
couple of books and taking your time reading the documentation and
trying out the examples that are available. Search engines is also a
good way to find relevant information. Anything you need to get
started, both for Struts 1
(Quick followup.)
The wiki is a bit tricky when it comes to supplying version-specific
information when the information is added before the new version is released.
Unless editors specifically add version numbers to documentation text there's
no way to know what version something applies to.
Hi All,
I am new to struts and wana to learn it.Any help or suggestion in this
regard is much appriciated.
please help me
Thanks,
Pavan
--
View this message in context:
http://www.nabble.com/New-to-Struts-tp14313460p16417500.html
Sent from the Struts - User mailing list archive at
i am using struts for my front end handling of data. now i wish to go for
validator framework for handling form validation given by user, I have put
the validaton.xml and validaton-rules.xml into web-inf and i hav plugged in
the plugin with className and paramnames as the xml files but when my
With debug=true I receive the message DEBUG: error downloading remote
script
--
View this message in context:
http://www.nabble.com/struts-dojo-plugin-2.1.0-and-googlemaps-tags-tp16395593p16417877.html
Sent from the Struts - User mailing list archive at Nabble.com.
What version of Struts 1 are you using?
Dave
--- balaji.m.cs [EMAIL PROTECTED] wrote:
i am using struts for my front end handling of data. now i wish to go for
validator framework for handling form validation given by user, I have put
the validaton.xml and validaton-rules.xml into web-inf
--- Ian Meikle [EMAIL PROTECTED] wrote:
I am following the tutorial Using tags where the example uses a URL tag
with the var attribute.
s:url var=url action=Welcome
However this crashes since the TLD in the struts2-core-2.0.11.1.jar does
not define the var attribute.
It is
You can't have log4j route exception errors to the log file if you don't
catch the exception and pass it to log4j... If you allow the exception
to propagate all the way up, it will be logged by the container. Short
story: if you want to control where something gets logged to, you need
to
documentation is the best place to get started...
keep one thing do not read only try them side by side.
below are some of the others link which might help you.
http://www.wantii.com/wordpress/?p=9
http://www.roseindia.com
i hope these are the perfect starter.
-aum
On Tue, Apr 1, 2008 at 4:33
Hello everybody,
I have a javascript dropdown calendar on one of my struts2 jsp. I have
bi-lingual application. So I need to read bundle files to switch
language. Please, does someone know how to use these files in
javascript.
Here is my js snippet:
script language=JavaScript
Hi Laurie,
Thanks for the reply! I found the swallowOutput attribute in the
Tomcat context that caused the exceptions to be placed in my application
log. However, I'm now setting up global exception mapping in struts so I
can handle unexpected problems without showing the user a stack trace.
Hi, all.
I'm trying to display a message to the user to confirm that a new user
was created, basic par-for-the-course concept. However, I'm finding that
my s:actionmessage/ tag doesn't render to anything. The first thing I
thought of was that my result for the user creation is an
action-redirect,
actionmessages, actionerrors and fielderrors are all request scope, so
they'll be gone by the time the redirect comes back around. You might
want to look into the scope interceptor, it can help bridge the gap.
(*Chris*)
On Tue, Apr 1, 2008 at 10:50 AM, Allen, Daniel [EMAIL PROTECTED] wrote:
I am trying to implement a pattern so that I can use struts tokens to
help prevent double submission. I seem to be getting a strange
sequence of events that I don't quite follow. Here is what I want to
do at a high level
displayCreateAccount -- forwards to -- CreateAccount.jsp (with form
Hmmm...
How much interfering in the internals do you suppose I'd have to do to
make action errors messages hang around until the corresponding
s:action___/ tag is rendered?
-Original Message-
From: Chris Pratt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2008 1:58 PM
To: Struts
None if you use the store interceptor (sorry, I had the interceptor
name wrong on the last mail).
(*Chris*)
On Tue, Apr 1, 2008 at 11:22 AM, Allen, Daniel [EMAIL PROTECTED] wrote:
Hmmm...
How much interfering in the internals do you suppose I'd have to do to
make action errors messages
Oh. Yeah, that one looks a lot more immediately applicable. :)
Thanks!
~DVA
-Original Message-
From: Chris Pratt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2008 2:45 PM
To: Struts Users Mailing List
Subject: Re: Scope of action messages?
None if you use the store interceptor
Hi
I need to display XML file in JSP page (raw XML file)
in my Action Class i read this XML file, but how do i display in proper
format in JSP, i want the XML file displayed as is.
Regards
Ashish
Hi and thanks in advance!
I've got a struts - spring based application and a declared bean wich
implements both ApplicationContextAware and ServletContextAware. I debug the
code and both setters receive data but when I try to use the servletContext
it spites me this error:
21:15:56,031 ERROR
Have you added the contextLoaderListener in web.xml?
Yayo wrote:
Hi and thanks in advance!
I've got a struts - spring based application and a declared bean wich
implements both ApplicationContextAware and ServletContextAware. I debug the
code and both setters receive data but when I try to use
We have created a custom struts config class which extends
org.apache.struts2.config.DefaultSettings, but struts cannot load it. We are
trying to load it by setting the struts.configuration to our custom class
name in WEB-INF/classes/struts.properties. This is what we see in our logs:
ERROR
Ashish Kulkarni wrote:
Hi
I need to display XML file in JSP page (raw XML file)
in my Action Class i read this XML file, but how do i display in proper
format in JSP, i want the XML file displayed as is.
Regards
Ashish
Don't use a JSP. Either link to the XML file directly (if it's somewhere
I have the following for code in my JSP:
s:optiontransferselect
name=user.groups
list=user.groups
listKey=id
Chen Chunwei schrieb:
Hi all,
Is there any tag can be used to display message icons? I mean icons like alert,
error, info and etc.
Talos
Appfuse has implemented it in a way I think is very nice. Might consider
to check it out.
kropp
Hi
thanks it works
On 4/1/08, Laurie Harper [EMAIL PROTECTED] wrote:
Ashish Kulkarni wrote:
Hi
I need to display XML file in JSP page (raw XML file)
in my Action Class i read this XML file, but how do i display in proper
format in JSP, i want the XML file displayed as is.
Regards
Hi, all.
I have a superclass where almost all of the subclasses will require
several validations for a particular field, but one subclass will use
some but not all of those validations. I know that you can add
@SkipValidation to avoid all validators, but is there something that you
can use to
Hi there,
I created an ajax capability to my form where the user clicks the 'add note'
button -a textarea is shown with a submit button (the textarea is shown just
below the [add note] button) the form works great.
I wonder:
1. When the user clicks submit and the process is over - how can I
yep I did, it's were my context gets started, everything goes fine, actions,
transactions and the like until I try to instantiate this object. I've tried
both lazy-init=false and true but...
On Tue, Apr 1, 2008 at 9:39 PM, Alberto A. Flores [EMAIL PROTECTED]
wrote:
Have you added the
in teh callback of your ajax call add
document.getElementById(divOfYourFormID).innerHTML = new content
your action must have forwarded you to the new content a text with a
message like everything's fine! ^g^
On Tue, Apr 1, 2008 at 11:23 PM, xianwinwin [EMAIL PROTECTED] wrote:
Hi there,
I
Matthew Seaborn wrote:
What I meant was if the following is defined in the struts.xml
constant name=struts.url.includeParams value=none /
How does that make it to the URLTag#setIncludeParams method and how can make
our own constants?
Didn't I answer that? Repeated below
Allen, Daniel wrote:
Hi, all.
I have a superclass where almost all of the subclasses will require
several validations for a particular field, but one subclass will use
some but not all of those validations. I know that you can add
@SkipValidation to avoid all validators, but is there something
Thanks.
I will look at the framework and try some examples.
If any doubt i will ask for help.plz help me
Nils-Helge Garli wrote:
There is no shortcut to learning a new framework. I suggest buying a
couple of books and taking your time reading the documentation and
trying out the examples
ryangr wrote:
With that being said...I can populate the list groups just fine, but when
I try to use user.groups to get the other list it throws an exception that
says: The requested list key 'user.groups' could not be resolved as a
collection/array/map/enumeration/iterator type. What am I
49 matches
Mail list logo