-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
Peter L. Berghold wrote:
>
Oh, and make sure that your file gets put into WEB-INF/classes (or some
subdirectory thereof), or by some other means into the classpath. I
don't think it'll work if it's just in WEB-INF.
- -chris
-BEGIN PGP S
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
Peter L. Berghold wrote:
>
Hmm... I don't usually put stuff like this in "packages" but you might
want to use slashes instead of dots. Give it a try and see...
> When the form is submitted completely blank (which should generate an
> error..
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
OK,
I've been hacking around some more on this validation stuff and while
some of the suggestions I've been given have been a HUGE help I'm still
stuck.
Re-distilling the problem a bit I think I may have stumbled on something
but I'm not quite sure w
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Joel,
Joel Espinosa wrote:
> 1.- Is a good practice to save HTML code in the database?
Not really. But, if you save XML in the database, you could transform it
using XSLT into HTML. XML is a much better storage format than HTML. You
could also use a
On 1/5/07, Eric Rank <[EMAIL PROTECTED]> wrote:
I'm interested in using the Restful2ActionMapper, but I'm unclear
about how to specify it's usage.
1. I'm assuming that I'll need to modify the "struts.mapper.class"
struts property. Is that right?
Yep.
2. In the struts-default.xml file that sh
Hi, I hope this question doesnt botter anyone, its a friday one.
I'm using Struts 1.2 and I want to make a simple contracts system. The
user will be able to capture a bounce of fields in order to store it to
a database, then a HTML page is going to be generated showing a
contract. This contrac
Have the sessionListener track the session duration and on timeout remove
attributes from session.
Also, On each struts view, before displaying check for a session attribute,
if not present redirect to session timeout page using logic:forward
/S
On 1/5/07, fea jabi <[EMAIL PROTECTED]> wrote:
Thanks Nate, that's what I needed to know
Eric Rank
On Jan 5, 2007, at 11:44 AM, Nate Drake wrote:
Eric Rank lo-fi.net> writes:
2. In the struts-default.xml file that ships with Struts2, there's a
line, which names the class to "restful2":
So, assuming that I need to modify the struts.map
Yes, I have one
Thanks,
Rodrigo Pereira
On 1/5/07, Craig McClanahan <[EMAIL PROTECTED]> wrote:
On 1/5/07, Rodrigo Pereira <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I am new to JSF and Struts-Faces integration library. I am facing a
> problem
> but I did not find any docume
Hi All,
I dont know exactly why but when I use Acegi Security with Spring
AOP Interceptors that transforms the class with CGLib the Struts 2
creates the Action, calls the class constructor two times...
I think that this effect is associated with the fact that the of the
class changes after
Yeah, and like Gareth said, it's pretty easy to make a mock jndi
container for your tests.
Larry
On 1/5/07, Wesley Wannemacher <[EMAIL PROTECTED]> wrote:
>
>
> There's one additional advantage to using JNDI for this ...
> in many shops
> you have two or even three environments to worry about
On 1/5/07, Christopher Schultz <[EMAIL PROTECTED] > wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Wesley,
(Sorry, I accidentally sent my previous message before I was finished
writing).
Wesley Wannemacher wrote:
> The main reason that I am currently leaning toward the iBATIS solution
>
Eric Rank lo-fi.net> writes:
> 2. In the struts-default.xml file that ships with Struts2, there's a
> line, which names the class to "restful2":
>
> name="restful2"
> class="org.apache.struts2.dispatcher.mapper.Restful2ActionMapper" />
>
> So, assuming that I need to modify the struts.mappe
>
>
> There's one additional advantage to using JNDI for this ...
> in many shops
> you have two or even three environments to worry about (development,
> staging, production), each with its own database instance. Having the
> database configuration for each instance in its own server
> mean
On 1/5/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Wesley,
Wesley Wannemacher wrote:
> When configuring the database connections, where do you tend to put
> them?
Without question: have your container create the connection pool and
make it
I originally posted this question on the new XWork user forums [1], but it
doesn't seem to be frequented very much. I apologize in advance if this is bad
form.
We've created a custom ResourceBundle subclass that gets messages from a
database for our Struts2 application. When using Struts 2.0.1 (X
I'm interested in using the Restful2ActionMapper, but I'm unclear
about how to specify it's usage.
1. I'm assuming that I'll need to modify the "struts.mapper.class"
struts property. Is that right?
2. In the struts-default.xml file that ships with Struts2, there's a
line, which names the cl
On 1/5/07, Rodrigo Pereira <[EMAIL PROTECTED]> wrote:
Hi,
I am new to JSF and Struts-Faces integration library. I am facing a
problem
but I did not find any documentation about this.
That's the error I am getting:
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.IllegalArgum
I am working on an application that uses the Struts
framework at the web tier. The application has many
function like: place purchasing orders and take
inventories functions.
We do not have the ability to bring in SAP.
What are the alternatives? Has anybody used the
Apache's OFBiz? Is it eas
When the session times out want to redirect to a session time out page.
Is there an easier way to do this in struts?
How can this be done?
Thanks.
_
Find sales, coupons, and free shipping, all in one place! MSN Shopping
Sales &
There is not a formal "stable" release of Struts 2 at this time. The
latest Struts 2 beta is Struts 2.0.1.
* http://struts.apache.org/download.cgi#struts201
We did roll a test build of Struts 2.0.2 the other day, but we
probably won't announce it as a formal release, unless it looks like
Struts
The only way, il you really want to make it, is to generate a form to
the client with an action that post it automatically on load
Mike
Information Guzzler a écrit :
Yep, Is there a workaround?
On 1/5/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
Information Guzzler ha scritto
On 1/5/07, Information Guzzler <[EMAIL PROTECTED]> wrote:
Hi,
Is there a way to use ActionRedirect(Struts 1.2.7 & later) with POST
parameters and not GET.
No. Currently Struts 1.x is able either to forward (in-server) or to
redirect (through browser) a request based on "redirect" flag. Settin
Yep, Is there a workaround?
On 1/5/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
Information Guzzler ha scritto:
> Hi,
>
> Is there a way to use ActionRedirect(Struts 1.2.7 & later) with POST
> parameters and not GET.
Errr... no, it is an HTTP limitation.
Antonio
Hi. I just converted from 2.0.1 to 2.0.2. I have not changed my
struts.xml or struts-lists2.xml file. These config files worked in
2.0.1. However, a package that is defined in struts.xml and referenced
in struts-X.xml cannot be found in 2.0.2. Has something changed in the
configuration?
Information Guzzler ha scritto:
Hi,
Is there a way to use ActionRedirect(Struts 1.2.7 & later) with POST
parameters and not GET.
Errr... no, it is an HTTP limitation.
Antonio
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi,
Is there a way to use ActionRedirect(Struts 1.2.7 & later) with POST
parameters and not GET.
/S
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Wesley,
(Sorry, I accidentally sent my previous message before I was finished
writing).
Wesley Wannemacher wrote:
> The main reason that I am currently leaning toward the iBATIS solution
> is that I am finding jUnit tests difficult to write for my pe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Wesley,
Wesley Wannemacher wrote:
> When configuring the database connections, where do you tend to put
> them?
Without question: have your container create the connection pool and
make it available via JNDI. This is the most portable configuration y
> -Original Message-
> From: Gareth Evans [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 05, 2007 11:39 AM
> To: Struts Users Mailing List
> Subject: Re: [FRIDAY] DBCP configuration
>
> Hi,
>
> I had a very similar problem using hibernate and a jndi
> datasource, the way I got around
Hi,
I had a very similar problem using hibernate and a jndi datasource, the way I got around this for
unit testing was to create the jndi datasource within my unittest setup method, it's a little messy
but works for me (tihs class also loads the spring configuration files too):
import java.ut
Hello, I have a Lazy Friday question for everyone...
When configuring the database connections, where do you tend to put
them?
In my situation, I usually configure the connection pool in the web-app
context and find them with JNDI. However, I am moving to iBATIS for my
most recent project and iBA
Thanks again Leon :)
2007/1/4, Leon Rosenberg <[EMAIL PROTECTED]>:
there are 4 scopes or visibilities/lifecycles of attributes in the
servlet/jsp world.
page : the jsp page, same as local variable in a class.
request: the duration of the request over multiple pages
session: the duration of the
Hi all
Where can i find a somewhat stable built for s2.0.2. I'm not talking about the
current snapshots, but some built which is tagged as quiet stable. Please help
me on that. Also is there any way from where i can directly get the Struts
2.0.2 distribution (even with lesser features would do)
Hi,
I am new to JSF and Struts-Faces integration library. I am facing a problem
but I did not find any documentation about this.
That's the error I am getting:
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.IllegalArgumentException: Cannot find action '/login.do'
configurati
Googling I've found this one:
http://forum.java.sun.com/thread.jspa?threadID=789652&messageID=4487444
Leon Rosenberg wrote:
Thanx for enlightening :-)
Now, when do you actually intend to serialize servlets? :-)
Leon
On 1/5/07, fausto mancini <[EMAIL PROTECTED]> wrote:
From Serializable int
Thanx for enlightening :-)
Now, when do you actually intend to serialize servlets? :-)
Leon
On 1/5/07, fausto mancini <[EMAIL PROTECTED]> wrote:
From Serializable interface javadoc:
The serialization runtime associates with each serializable class a
version number, called a serialVersionUID,
From Serializable interface javadoc:
The serialization runtime associates with each serializable class a
version number, called a serialVersionUID, which is used during
deserialization to verify that the sender and receiver of a serialized
object have loaded classes for that object that are co
Leon Rosenberg ha scritto:
Hi Antonio,
looking at your example app I have a rather side-question:
Why do you add serialUid to your servlets?
Because Eclipse gives me a warning, and I generated a serialVersionUID.
Yes, I know it is not a good point :-)
Antonio
---
Hi Antonio,
looking at your example app I have a rather side-question:
Why do you add serialUid to your servlets?
public class WindowScopeTestServlet extends HttpServlet {
/**
*
*/
private static final long serialVersionUID = 8996558090818213997L;
...
Leon
On 1/5/
Thanks much appreciated
-Original Message-
From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
Sent: 04 January 2007 19:47
To: Struts Users Mailing List
Subject: Re: html:select and sorting
On 1/4/07, Bolutiwi, Olu <[EMAIL PROTECTED]> wrote:
>
> Hi all, I have the same issue.
>
> I am select
Hello,
I'm using Struts 1.3.5. My application use struts modules. I'd like to put
my JSPs under /WEB-INF/pages, so I've set forwardPattern to
"/WEB-INF/pages$M$P". That works for JSP, but when I use a redirect forward
to a ".do" (for postback actions) the action URI also is converted to
"/WEB-INF
Right, request parameters are String/value pairs, but because Struts2 can
convert these parameters to the right type through the getters/setters
described in the action, I was wondering if this could be possible to do the
same for the Map of parameters that I get through getParameters(). In this
c
43 matches
Mail list logo