Tiles are not frames! The runtime part of Tiles composes pages according
to your Tiles definition. That means that if you define an extended tile
definition, is just like defining another page! (obviously I am talking
about tile definitions of pages, not sub-tiles).
It is a normal behaviour.
If you
Use an Action as you use a servlet. That is, in the "execute" method there
is the parameter "HttpServletResponse response". Use it and render you
HTML page. You can then "return null;" (it means "forward to nowhere") so
your HTTP response will be made only of your text built inside the Action.
But
Hi,
Download the sources from this site
http://horstmann.com/corejsf/
In ch12 you can find examples for generating the client side javascript
code for performing the client side validations.
Regards,
KP
-Original Message-
From: babloosony [mailto:[EMAIL PROTECTED]
Sent: Wednesday, Sept
Hi All,
There is a pure web application that uses only jsf as model, view,
controller. How do we achieve a reusable client-side validations
framework likes Struts's validator framework ?
Any ideas on how we do a clientside validation in a pure jsf application ?
Thanks & Regards,
Kumar.
---
hi, for deeper coverage of what is happening behind the sceens, look
for "Struts in Action" Manning Book
On Tue, 28 Sep 2004 22:08:25 -0700, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> On Tue, 28 Sep 2004 20:12:58 -0700, Michael McGrady
> <[EMAIL PROTECTED]> wrote:
> >
> > I know what you are s
Return Receipt
Your Maven with Struts
document
:
On Tue, 28 Sep 2004 20:12:58 -0700, Michael McGrady
<[EMAIL PROTECTED]> wrote:
>
> I know what you are saying, Langdon, but warn you that a lot of those
> solutions on the Googling are really poor solutions. I am sure you know
> that already.
>
Your definition of "a lot" must be quite different
Two books I know of are pretty good...
"Struts Survival Guide"
http://www.amazon.com/exec/obidos/tg/detail/-/0974848808/qid=1096432379/sr=1-1/ref=sr_1_1/002-6689712-8125649?v=glance&s=books
and
"Programming Jakarta Struts"
http://www.amazon.com/exec/obidos/ASIN/0596003285/qid=1096432414/sr=ka-1/ref
Hi
I am in a pretty similar position to you in that I am now to Struts
(also new to Java).
I downloaded the Jakata Struts Live PDF document and worked through
the tutorials there in.
See:
http://www.theserverside.com/books/sourcebeat/JakartaStrutsLive/index.tss
Others in my team have the book
Helo all,
can anyone explain the overall flow of a struts appliction?. It should include how a
request comes frm the browser, how it frwded to the form, how it further forwarded to
the action etc. also if there is only an action and no forms how the request is
processed.
thanks
use http://google.co.in";>Google
On Tue, 28 Sep 2004 Caroline Jen wrote :
>I am working on one of my Struts JSPs. I am trying to
>put a link (not a link to invoke an action); something
>equivalent to:
>
>http://www.google.com";>Google
>
>I want user to be at the Google's web site when they
Hi,
I am using tiles in my project .I am using classic layout
my" tiles-defs.xml " which i made have one definition tag like this
now I am extending this definition tag with another definition
Now when in my first definition i have one menu.jsp on clicking on that
menu i call ext
hi,
Anybody please explain me or give me some links for using Maven along with Struts
Project.
regards,
Bharathiraja.T
Chain-sys(India)pvt Ltd.
You might also want to take a look at something closer to our (Apache) home:
http://xml.apache.org/xindice/
Craig
On Tue, 28 Sep 2004 20:35:29 -0400, David G. Friedman
<[EMAIL PROTECTED]> wrote:
> Maybe, maybe not.. How about an XML database in Java? Open source even. :)
>
> http://exist.sou
Langdon Stevenson wrote:
Hi
I am in a pretty similar position to you in that I am now to Struts
(also new to Java).
I downloaded the Jakata Struts Live PDF document and worked through
the tutorials there in.
See:
http://www.theserverside.com/books/sourcebeat/JakartaStrutsLive/index.tss
Others
There is, I understand, a challenge on the Internet to get code to allow
the use of images with , or the famous "browse"
button. I don't know if this is true, but, if it is, there is a
solution at www.michaelmcgrady.com under "coding ideas". Any feedback
would be appreciated.
There is some
Hi,
validate=true forces Struts to call the validate method in the
ActionForm (or DynaValidatorForm) you wrote when your form is
submitted. Make sure what you put there are simple input validation
NOT business logic.
You set validate=false when you dont want the validate method to be called.
Reg
Hi
I am in a pretty similar position to you in that I am now to Struts
(also new to Java).
I downloaded the Jakata Struts Live PDF document and worked through the
tutorials there in.
See:
http://www.theserverside.com/books/sourcebeat/JakartaStrutsLive/index.tss
Others in my team have the book
struts Dude wrote:
Hello,
Just want to get some advice on buying a book.
I have the book 'Struts in Action' already, thinking of buying the
other book
'Programming Jakarta Struts' 2nd editn to complement it.
Now is this a waste of $ ?? What does someone who have both books
think. BTW,
I am not e
- Original Message -
From: "Jason Lea" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, September 29, 2004 1:09 PM
Subject: Re: Can I detect file size without uploading?
struts Dude wrote:
Cool! I was told 'detect file size without uploading' is im
Hello,
Just want to get some advice on buying a book.
I have the book 'Struts in Action' already, thinking of buying the other
book
'Programming Jakarta Struts' 2nd editn to complement it.
Now is this a waste of $ ?? What does someone who have both books think.
BTW,
I am not experienced Struts d
struts Dude wrote:
Cool! I was told 'detect file size without uploading' is impossible.
But you said 'might work' above, have you or anyone actually tried this??
OK, I am lazy to try this myself, but hey programmers are lazy.
Well, I'm lazy too :) I just came up with the idea. Whether it works
Shilpa,
If you are only using a maximum of 5 possible database connections and you
are receiving that kind of SQLNestException error, I recommend you check
your methods to ensure you are releasing the connections back into the pool
when you are finished with them. I've seen plenty of posts where
Maybe, maybe not.. How about an XML database in Java? Open source even. :)
http://exist.sourceforge.net/
Search engines are a wonderful thing. Open Source projects are surprising,
aren't they?
I almost want to try this. :)
-David
-Original Message-
From: struts Dude [mailto:[EMAIL PRO
- Original Message -
From: "Jason Lea" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, September 29, 2004 8:57 AM
Subject: Re: Can I detect file size without uploading?
You could shortcut the process using a filter.
You create a filter that checks
- Original Message -
From: "struts Dude" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, September 29, 2004 10:14 AM
Subject: Xml files as backend database question?
Hi,
Just want some thought on this question.
Nobody in their right mind wud use x
However, I can't click on any of the .war files that come with 1.2.4 and
launch WinZip. It says, "Failed to load Main-Class manifest attribute from
c:\jakarta\jakarta-struts-1.2.4\lib\commons-validator.jar". Every one of
them does the same thing.
This part here just sounds like Windows is trying
From: "Wendy Smoak" <[EMAIL PROTECTED]>
> Today I tried to deploy a .war file to my production web server which runs
> HP-UX. When it unpacks the war and tries to deploy the webapp, it
> complains:
I dropped back to 1.2.0 and HP-UX is happy again.
Never mind about not being able to open the .jar
An HttpSession for the user exists before authentication. Store the URL
of the last request as a session attribute. After authentication, read
the session attribute to determine where to forward or redirect.
As far as I know JAAS doesn't deal with this concept. As was suggested,
you could use c
Hello,
I'm new to struts. I have added the following string
to teh ApplicationResources.propertiesfile :
topic.label=Topic
I am trying to display this label on the page without
very much success. My page looks like this:
<%@ page contentType="text/html;charset=UTF-8"
language="java"%>
<%@ tagl
Hi,
Just want some thought on this question.
Nobody in their right mind wud use xml files as backend database in
production system right?
I ask this because I was wandering whether one can get away with a DB in a
production site.
Well, I rememebered reading some discussion of
how someone read i
(Resending from a subscribed address...)
Today I tried to deploy a .war file to my production web server which runs
HP-UX. When it unpacks the war and tries to deploy the webapp, it
complains:
13:29:34,070 - ERROR org.apache.struts.validator.ValidatorPlugIn - JAR entry
org/apache/commons/validat
I dont use the html:link tags.. But you're right it needs more thought..
mod_rewrite is an apache filter.. I have a few rules set up at the
moment that do some of what you're saying..
You can map regular expression to urls and rewrite it..
so if a webapp have links thats look like
/app/action.do?
You could shortcut the process using a filter.
You create a filter that checks the content length of a request, if it
is above the threshold intead of passing the request through the normal
path, you forward the request onto another action that writes out an
error message without consuming the w
Anna:
You can dig in any of the struts sample applications (*.war) that are
shipped with the binary distribution of Struts. The "most pure form" of
this file should be in struts-blank.war
Regards,
Carlos
- Original Message -
From: "Anna Kerekes" <[EMAIL PROTECTED]>
To: "Struts Users
http://groups.yahoo.com/group/njmvcopensource/
We plan to meet once a month in Morristown NJ starting in October (Oct
10th). We will be using the JSF In Action book as our textbook. Currently
you can get an ebook version at Manning's MEAP site - it's best to have
textbook for course.
New Member
On Tue, 2004-09-28 at 15:05, Wendy Smoak wrote:
> From: "Anna Kerekes" <[EMAIL PROTECTED]>
> Does anyone know where I can get a copy of this file? In its default form?
>
> Yes, we do. ;)
>
> (There's one in the 'lib' directory of the Struts 1.2.4 distribution.)
>
> --
> Wendy Smoak
Or, if you
Mark,
But it would be more than just having a filter. You would need to extend the
html:link functionality, for example. And whatever else there is in Struts
that generates links with parameters.
BTW, what do you mean when you say "get mod_rewrite"?
-Original Message-
From: Mark Lowe [ma
Find where struts is installed. Go into the webapp directory. You
should be able to unzip one of the example war files and then under the
WEB-INF directory of whichever example you pick you will find a pristine
validator-rules.xml file. I unzipped the examples.war file and found it
np.
-josh
Gabriel,
I'm not sure how Beanutils handles java.util.Date, but I have had this
problem when trying to convert to java.sql.Date when the source value
(in my form) was null. Now I call a method like this before a call to
copyProperties():
public static void overrideConverters() {
//
If it is urgent, you may find my copy in the
attachment.
--- Anna Kerekes <[EMAIL PROTECTED]> wrote:
> Does anyone know where I can get a copy of this
> file? In its default form?
>
> thanks,
> Anna
>
>
-
> To unsubscribe, e-m
While its true that most search engines deal with this sort of thing, i
think its also still true that you get more pages indexed if you avoid
request parameters..
I was trying to get mod_rewrite playing ball the other day with some
success.
I'd try a filter (i'm going to when i get a chance..
From: "Anna Kerekes" <[EMAIL PROTECTED]>
Does anyone know where I can get a copy of this file? In its default form?
Yes, we do. ;)
(There's one in the 'lib' directory of the Struts 1.2.4 distribution.)
--
Wendy Smoak
-
To uns
Hmmm... I don't know how THAT works. However, I have read in a couple of
places about this and found a few sites that you can't find anything on
because of this. It would be interesting to find out how those sites with
"?" get indexed.
Anyone? What am I missing here?
-Original Message-
F
I have a drop-down menu like this:
-Select-
Once a user makes a selection in the menu and click on
the Submit button, the action servlet will know what
is selected:
String selectedPage = request.getParameter(
"document" );
The PageBeans object is a Collection; a Collection o
Does anyone know where I can get a copy of this file? In its default form?
thanks,
Anna
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm guessing David has seen this: http://homepages.tesco.net/~J.deBoynePollard/FGA/questions-with-yes-or-no-answers.html
which is refrenced by http://www.catb.org/~esr/faqs/smart-questions.html
Michael McGrady <[EMAIL PROTECTED]>
09/28/2004 03:33 PM
Please respond to
"Struts Users Maili
You could try passing parameters via the URL then using Struts'
wildcard action mapping to pull them out. I use it to support a
ReST-style web service interface to my application.
Don
On Tue, 28 Sep 2004 12:31:14 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "Chaikin, Yaakov Y." <[EMAIL
David Stevenson wrote:
On 28/9/04 19:15, "joe a." <[EMAIL PROTECTED]> wrote:
Is there a reason why Resin runs on port 8080 by default?
Yes.
The hive responds. LOL No Buddhists here.
-
To unsubscribe, e-mail: [EMAIL PROTEC
joe a. wrote:
How about ANSWERING the question instead of HINTING at it and wasting
my time. Or maybe go get laid, that would probably help too
-Joe
Welcome to the lists, Joe. 8080 is used for development. You can
change the port to 80 or whatever you want. Check out servlet.xml and
the relat
From: "Chaikin, Yaakov Y." <[EMAIL PROTECTED]>
> When designing a web application, as a lot of people know, it is no longer
a
> good idea to use (or let your framework use) a "?" to append parameters to
> the URL. The reason is that Google, being the dominating search engine,
> ignores everything p
Go Jason Wooo hooo!!!
The real reason it is 8080 and not 8143 or 2957 could be due to that
"monkeys in a cage" theory. Not sure, I should google it and see.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
I think I know why it doesn't get it right.
My template file is:
And was placed in header.jsp
What should I do?
Thanks,
Phong.
On Tue, 28 Sep 2004, James Mitchell wrote:
That's correct. You cannot nest custom taglibs.
Try separating them:
if 'step' was set to "/images/myI
http://www.javamug.org/mainpages/2004Meetings.html#Oct
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Jason King wrote:
unix-like (linux,*BSD) environment
only the root user (think administrator if you're from a windows
environment) can use ports under 1024.
if I can add to that in produciton one should not run or install
anything as root, especialy not Tomcat or Apache. This ability makes
Another question,
When designing a web application, as a lot of people know, it is no longer a
good idea to use (or let your framework use) a "?" to append parameters to
the URL. The reason is that Google, being the dominating search engine,
ignores everything past the "?", thus making the rest of
Thanks for the answer Jason, you are awesome. I feel, enlightened.
-joe
On Tue, 28 Sep 2004 13:59:27 -0500, Jason King <[EMAIL PROTECTED]> wrote:
> Joe,
> Please remember this is all volunteer effort. None of us are your paid
> support staff so its not your perogative to bad-mouth us.
> That hav
> > > Is there a reason why Resin runs on port 8080 by default? Just
curious.
Someone forgot the annoying yet perfect answer for all "why" questions.
"Why not?"
On 28 Sep 2004, at 21:02, Bill Siggelkow wrote:
Odd ... I was able to find this link in a little under 10 seconds ...
http://www.onjava
It runs on 8080 by default in order so that non-root users on Unix can run
it. On Unix, port #'s up to and including 1024 are reserved and can only be
used by applications run by root.
Rgds,
Richard
-Original Message-
From: joe a. [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2
Hi,
I followed your suggestion
In mainfile:
In a layout file:
But I got following generated:
What could be wrong?
Thanks,
Phong.
On Tue, 28 Sep 2004, James Mitchell wrote:
That's correct. You cannot nest custom taglibs.
Try separating them:
if 'step' was
Odd ... I was able to find this link in a little under 10 seconds ...
http://www.onjava.com/pub/a/onjava/2002/09/18/resin.html
joe a. wrote:
Yes I tried google, and yes this question isnt about struts
specifically but it is a struts RELATED question that should be
allowed on the list (you can't use
Struts is known as a friendly place. Not today ;-o
Most containers run on 8080, since on Windows IIS runs on port 80 and in
Linux Apache runs on port 80 as default.
Newbies have problems starting containers if they default to 80.
"pros" know to stop the IIS/Apache and switch "Tomcat" to 80.
.V
j
Joe,
Please remember this is all volunteer effort. None of us are your paid
support staff so its not your perogative to bad-mouth us.
That having been said, the reason why appservers default to some high
port numbers is because in a unix or unix-like (linux,*BSD) environment
only the root user (
Entry: pompous
Function: adjective
Definition: arrogant
Synonyms: affected, bloated, boastful, bombastic, conceited,
egotistic, flatulent, flaunting, flowery, fustian, grandiloquent,
grandiose, high-flown, highfalutin, hoity-toity, imperious, important,
inflated, magisteria
Yes I tried google, and yes this question isnt about struts
specifically but it is a struts RELATED question that should be
allowed on the list (you can't use struts without an application
server). I know I'm on your "kill list" dgraham (btw, what is more
lame, me asking a question, or you braggin
Vic,
I think you misunderstood what I am asking. I already have a form that has a
lot of other elements. One of its elements is a collection of items with
properties. I need to be able to display the collection of items with its
properties and let the user change those properties on the SAME page
...sorry, result should have been:
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "James Mitchell" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 28,
That's correct. You cannot nest custom taglibs.
Try separating them:
if 'step' was set to "/images/myImage.gif", and your app was "myApp", you
would get:
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message
On 28/9/04 19:15, "joe a." <[EMAIL PROTECTED]> wrote:
> Is there a reason why Resin runs on port 8080 by default?
Yes.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I think you're confused about who is
wasting who's time. And in case you're still confused, your simple
(and extremely LAME) question is wasting the time of EVERY person on this
list. What you failed to glean from the previous answer is that you
are obviously too dumb (or too lazy) to find the
Hi,
I want to do something like this
step will represent some images that is dynamically put into using
tiles:put. But what I got is
i.e. is not get expanded.
Can I do the above and how?
Thank you very much.
Kind regards,
Phong.
-
LOLsorry for the brevity.
Did you google?
Have you ever tried to run tomcat or resin on a linux box when you are not
logged in as root?
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "joe a." <[EMAIL
How about asking this question on a Resin list?
> -Original Message-
> From: joe a. [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 28, 2004 1:37 PM
> To: Struts Users Mailing List
> Subject: Re: Why does Resin run on port 8080?
>
>
> How about ANSWERING the question instead of HINT
How about ANSWERING the question instead of HINTING at it and wasting
my time. Or maybe go get laid, that would probably help too
-Joe
On Tue, 28 Sep 2004 14:19:35 -0400, James Mitchell <[EMAIL PROTECTED]> wrote:
> The same reason Tomcat does.
>
> --
> James Mitchell
> Software Engineer / Open
MyForm extends ActionForm implements Collection
.V
Chaikin, Yaakov Y. wrote:
Hi,
I have a form that has a collection of VOs. I am outputting those VOs using
the logic:iterate. Each VO has a number of elements in them. All this is
happening within an html:form.
User is supposed to be able to upda
Hi,
I have a form that has a collection of VOs. I am outputting those VOs using
the logic:iterate. Each VO has a number of elements in them. All this is
happening within an html:form.
User is supposed to be able to update different things on that form. It is
also a requirement that the user be a
The same reason Tomcat does.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "joe a." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 28, 2004 2:15 PM
Subject: Why does Resin run on p
Is there a reason why Resin runs on port 8080 by default? Just curious.
Thanks,
Joe
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Yves, I found out what the problem is. There was an error in my page
where it lists this other path/file. I was intrigued by your statement
about the validate=true. So, I started out with a much simpler page to
experiment with your statement. In that situation I made some simple
pahes t
Oops, forgot the closing quotation mark...
http://www.google.com";>
Google
TR
Terry Roe wrote:
Caroline,
You should be able to use the href attribute of html:link, like this:
http://www.google.com>
Google
This will render the href unchanged.
TR
Caroline Jen wrote:
I am working on one of my St
Caroline,
You should be able to use the href attribute of html:link, like this:
http://www.google.com>
Google
This will render the href unchanged.
TR
Caroline Jen wrote:
I am working on one of my Struts JSPs. I am trying to
put a link (not a link to invoke an action); something
equivalent to:
h
On Tue, 28 Sep 2004 09:07:02 -0700, Don Brown <[EMAIL PROTECTED]> wrote:
> http://blogs.sun.com/roller/page/craigmcc/20040927#struts_or_jsf_struts_and
Yep, that's me ... after endless arm twisting from my colleagues at
Sun and elsewhere, I figured it was finally time to start blogging,
and my fi
I'd start with the servlet spec.
Paul
> -Original Message-
> From: Mark Benussi [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 28, 2004 4:45 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Storing the last request - JAAS?
>
>
> OK... good to know it can be done, how (In a nutshell do I
The adapter pattern is *definitely* a good way to use Struts Action
classes. In particular, you are adapting the use of servlet API
things like HttpServletRequest and HttpSession into calls on model
tier methods that should be independent of the presentation tier API
(so that those model tier clas
http://blogs.sun.com/roller/page/craigmcc/20040927#struts_or_jsf_struts_and
On Tue, 28 Sep 2004 11:03:28 -0500, ajTreece <[EMAIL PROTECTED]> wrote:
> Morning Folks...
>
> The group I'm with is being pushed to migrate from Struts to JSF.
> Whether that is good or bad move is not up for debate...
Your JSP is too big. You'll either need to break it up into smaller
compilation units (i.e. multiple JSPs) or move to Tomcat 4.1 or later,
which can handle this type of problem.
--
Martin Cooper
On Tue, 28 Sep 2004 12:09:33 -, Zakaria kHABOT
<[EMAIL PROTECTED]> wrote:
> Hi all,
> When I try
Morning Folks...
The group I'm with is being pushed to migrate from Struts to JSF.
Whether that is good or bad move is not up for debate... It's just a
design decision that we have to live with.
I've seen random emails on this alias dealing with Struts / JSF issues
and questions. What is Struts
From: "Caroline Jen" <[EMAIL PROTECTED]>
> I am working on one of my Struts JSPs. I am trying to
> put a link (not a link to invoke an action); something
> equivalent to:
> http://www.google.com";>Google
> I want user to be at the Google's web site when they
> click on 'Google' in my JSP. The abo
OK... good to know it can be done, how (In a nutshell do I enable this) and
then access it via my action? Do you have a link to doc I can read?
Original Message Follows
From: Paul McCulloch <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: 'Struts Users Mai
I am working on one of my Struts JSPs. I am trying to
put a link (not a link to invoke an action); something
equivalent to:
http://www.google.com";>Google
I want user to be at the Google's web site when they
click on 'Google' in my JSP. The above HTML tag gives
me a problem. I tried to use the
This will be done for you if you enable container managed security for your
web container.
Paul
> -Original Message-
> From: Mark Benussi [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 28, 2004 4:32 PM
> To: [EMAIL PROTECTED]
> Subject: Storing the last request - JAAS?
>
>
> I nee
I need to store the last request so that if a user requests a page that
requires authentication etc it can be processed and then the user can be
redirected to the last request. I am going to be integrating with JAAS this
week so maybe there is something built in already (Which would make sense).
Howdy,
Some article say that in struts web applications, our actions
(say: MyLoginAction extends Action) connect controller(C)
and model(M), make them work together:
Controller <==> Action <==> Model
Therefore, can we say precisely our actions play a adapter role
and we are applying "Adapt
Hi, I am getting the timeout exception for connection pooling, i am using
Tomca 4.1 and datasource to retrieve connections.
I am attaching all the soure code and configuration files used in my
application, please suggest where iam doing wrong...
SEVERE: getConnection()--SQLException
org.apache.
1. You should use the Container (Tomat and not Struts) data source and
not use connection pool, rather the DataSourcePool that comes with JDBC
drivers. Connections are more for clients and PooledDataSource is for
servers, so use that part of any JDBC driver.
2. You should write a helo world ser
Hi folks,
I'd like know how copy fields that not String, of my DynaForm to my
bean, I'm use the commos beanutils, but when this read one field the
type java.util.Date one exception is created...How i do?
Thanks,
--
Gabriel França Campolina
Tel: 9202-8320
---
>First, "The first time" that the form is displayed (a
>blank form), all the validation warning messages are
>on the top of the web page.
>Can anybody tell what went wrong? Because validation
>warning messages are supposed to be shown "after" the
>form is submitted (if there are errors).
Proba
I think if you think of writing your custom validation mathods, you
should try flat ActionForm than DynaActionForm or use validator plug
in.
On Tue, 28 Sep 2004 15:36:46 +0100, Marco Mistroni
<[EMAIL PROTECTED]> wrote:
> Hello,
> Although u r using a dynaactionform, you could still write
Hello,
Although u r using a dynaactionform, you could still write your
javaclass that extends dynaactionform, and write only the validate
method that checks which 'mehtod' you have just called
Or you can go for the Validator.
Regards
marco
-Original Message-
From: Gab
I am not running PostgreSQL on my Windows box. The connection string in
the Data Source config section is pointing to the SuSE box. I am using
pgAdmin III on my Windows box to manage the database without error, so
I can connect to my SuSE box and PostgreSQL without issue.
I launch Tomcat from with
1 - 100 of 137 matches
Mail list logo