Hi Yaroslav:
In case you cannot or don't want to do pagination in the db, follow Axel's
advice and use the display tag. I used it for the first time two days ago and
it is *sweet*! Plus the docs are chock full of examples..:)
Cheers,
Geeta
-Original Message-
From: news [mailto:[EMAIL P
Hi, take a look at:
http://struts.apache.org/userGuide/installation.html
the " Install A Struts Binary Distribution" bit is what you are looking
for.
Hth,
Geeta
-Original Message-
From: CCNY [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 9:55 AM
To: Struts Users Mailing L
Hi Zoran, not directly helpful, but here's a link which will enable you
to search the archives:
http://marc.theaimsgroup.com/?l=struts-user
Geeta
-Original Message-
From: Zoran Avtarovski [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 9:12 AM
To: Struts Users Mailing List
Hi Alex, this question was asked before, so I searched the archives and
found the following threads:
http://marc.theaimsgroup.com/?l=struts-user&m=99851089726272&w=2
and
http://marc.theaimsgroup.com/?l=struts-user&m=99307752323367&w=2
and
http://marc.theaimsgroup.com/?l=struts-user&m=984674127
Hi Nick/all:
This may be relevant to this topic, but the "Search" feature for the
Struts archives seems to be broken..? I just get a "Text search not
available for this list" regardless of what I do/how I search. I used
this link:
http://mail-archives.apache.org/eyebrowse/[EMAIL PROTECTED]
s.apac
Thanks for your note, Subramaniam. I went with K.Citron's suggestion of getting the
sessionId from the session and that seems to work great too. It seems (for whatever
reason) session.getId() works fine after the session is invalidated though
session.getAttribute() bombs...
Regards,
Geeta
> -
Hi Carl:
Look at this link and follow it to the letter - and you should be fine.. :)
http://struts.apache.org/faqs/database.html
Good luck,
Geeta
> -Original Message-
> From: Carl T. Dreher [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 30, 2004 10:38 AM
> To: [EMAIL PROTECTED]
> Subject
Well, you could put in a check for whether they are already in the login page. You
could use methods like getRequestURI() on the request object or something like:
if ((request.getParameter("username") != null) && (request.getParameter("passowrd") !=
null) ) {
return true; //ie normal proc
Or you could write a RequestProcessor and override the processPreprocess method with
something like this:
HttpSession session = request.getSession();
if ( (session == null) || (session.getFavouriteObjectInSession == null) ) {
//use Response object to redirect to login page with error set;
Ah. You mean session.getId() would not bomb on me after the session is invalidated, is
that right? In which case, that's a good idea too.. Thanks!
Geeta
> -Original Message-
> From: K. Citron [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 30, 2004 10:57 AM
> To: Struts Users Mailing List
You mean something like this?
http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html
Geeta
> -Original Message-
> From: Bussie, Andre D [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 30, 2004 10:48 AM
> To: [EMAIL PROTECTED]
> Subject: DAO Resource Suggestions
>
ahh, wait. You are using tomcat 5 which implements servlet 2.4 and the javadocs for
2.4 says under sessionDestroyed() the following:
Notification that a session is **about to be** invalidated.
They changed the tense on us!! :) ..Explains why your code is working just fine! Also
gives me hope th
able to trap the attribute which are
> associated with the session.
> It just work fine for us.
>
> -Jignesh
>
>
>
> On Fri, 2004-07-30 at 10:00, Geeta Ramani wrote:
> > Hi everyone:
> >
> > I would like some clarification regarding the
> HttpSessionLis
Thank you, Sahil. This error kind of threw me - two days ago i would have sworn I knew
all I needed to know about the HttpSessionlistener (teach me to be to so sanguine!) -
so I am glad to hear confirmation about my proposed solution.
Thanks again!
Geeta
> -Original Message-
> From: G
Hi everyone:
I would like some clarification regarding the HttpSessionListener. (We are using
servlet spec 2.3)
Here's what I want to do: When a session expires, either when a user uses the "logout"
feature or due to time-out, I want to delete a certain row from the database. The
specifics of
it, not proficient in it
> (yet), and have to have a darn good reason before I go there,
> kind of a
> last resort.
>
>
> Geeta Ramani wrote:
>
> >ps. But if you know what's good for you you will stay right
> away from javascript..
> >
> >
>
ps. But if you know what's good for you you will stay right away from javascript..
> -Original Message-
> From: Brett Connor [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 4:47 PM
> To: Struts Users Mailing List
> Subject: Re: Not Logged in with the same loggin-password if it i
Yes but wont the container "know" when a user closes his/her window? Are you saying
this isn't something that a container will be notified about..?/ ..hmm... maybe not...
ok, Robert scratch my earlier note..(like I said i ought to go home..)
> -Original Message-
> From: Brett Connor [mai
The HttpSessionlistener interface is your friend ..;)
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSessionListener.html
All you do is write a class which implements it and overwrite the
sessionDestroyed(HttpSessionEvent) method and bob's your uncle.. (Note that
HttpSessi
Exactly! Or use HttpSessionlistener and database solution (that jim outlined)
simultaneously..
(We are doing almost this except as a solution to a kind of "opposite" problem - when
a user logs off we need to do soem work so.. this seems to work nicely)
> -Original Message-
> From: news
technically, it (the session) could be
> shared across
> computers if cookies were turned off and they had the same
> jsessionid (at
> least in Tomcat 4 & 5).
>
> Regards,
> David
>
> -Original Message-
> From: Geeta Ramani [mailto:[EMAIL PROTECTED]
> Sent: W
> Ivan Vasquez
> (Compatriota :-)
>
> -Original Message-
> From: Geeta Ramani [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 4:05 PM
> To: Struts Users Mailing List
> Subject: RE: Not Logged in with the same loggin-password if
> it is already regis
Ricardo:
Not sure where you are having problems..? Why wouldn't something like this
(pseudocode) work?
if (isLoggedIn(user)) {
session.invalidate();
}
//now proceed normally with login with un/pw...
Regards,
Geeta
> -Original Message-
> From: Ricardo Andres Quintero [mailto:[
+1 on this.. Actually make that a +100..:)
> -Original Message-
> From: Michael McGrady [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 12:44 PM
> To: Struts Users Mailing List
> Subject: Re: Re: Why does work differently than
> action="">?
>
>
> At 09:39 AM 7/28/2004,
*Thanks* for posting the code! I meant to look into the link you posted earlier, since
I want such a capability, but didn't get to it.. Always knew it would profit to
procrastinate..;)
Thanks again,
Geeta
> -Original Message-
> From: Doug [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 2
Reddy:
Thank you for your reply. I like your second idea better and unless I hear objections
from the list, shall go with that solution, which I certainly like better than my
original one..:)
Thank you again,
Geeta
> -Original Message-
> From: Pingili, Madhupal [mailto:[EMAIL PROTECTED
This may be classified as OT, and if so, please ignore it or reply to me personally.
Also if this question has already been answered I would appreciate it very much if
anyone could send me a link: I can't come up with a good search criterion to
google/search for.
I wrote a HttpSessionListener f
P.S. here you go:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html
Enjoy! :)
Geeta
> -Original Message-
> From: Koon Yue Lam [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 19, 2004 12:46 PM
> To: Struts Users Mailing List
> Subject: Datasource problem again..
>
>
> -Original Message-
> From: Koon Yue Lam [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 19, 2004 12:46 PM
> To: Struts Users Mailing List
> Subject: Datasource problem again..
>
> >
> Do I need to modify the web.xml under $Tomcat/conf ??
You have to add a "Resource" element in your co
Sure Craig, I guess it's a good idea to look beyond the weekend..;)
Thanks for the advice!
Geeta
> -Original Message-
> From: Craig McClanahan [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 16, 2004 12:16 PM
> To: Struts Users Mailing List
> Subject: Re: About data
Ganesh:
Try something like this:
response.setHeader("Content-Disposition", "inline;filename=myfilename.xyz");
I believe if the extension ("xyz") is "unknown" then a "file save as" dialog will
always occur.
Also, and I mean this in the kindliest way, maybe you should be a bit more careful
when
Hi Alvin:
This question has appeared a few times, so you may benefit from searching the
archives. Short answer(s): either use tokens (like you suggested) or use a redirect
instead of a forward.
Regards,
Geeta
> -Original Message-
> From: Alvin Antony [mailto:[EMAIL PROTECTED]
> Sent:
Hi:
I think this is the sort of thing you may be looking for:
Context ctx = new InitialContext();
org.apache.commons.dbcp.BasicDataSource ds =
(org.apache.commons.dbcp.BasicDataSource)ctx.lookup("java:comp/env/jdbc/yourDB"));
Regards,
Geeta
> -Original Message-
> -Original Message-
> From: Jim Barrows [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 15, 2004 3:35 PM
> To: Struts Users Mailing List
> Subject: RE: Configuring plug-ins using struts-config.xml)
>
> > >
> > P.S> I can see now why writing to the list before googling is
> > so tempti
Jim:
Yes that worked. I actually read ".. which will all have been called
before the init() method is invoked." as "which will have to be called before the
init() method is invoked." and got stumped..
Thank you so much!
Geeta
P.S> I can see now why writing to the list before googling is so t
Hi all:
I have a question regarding the use of plug-ins. According to the docs,
"For PlugIns that require configuration themselves, the nested element
is available."
My question is simply this: how do I retrieve the value that I set in a set-property
tag? I am sure this is dead simple to most
Hi Ding Lei:
Use a redirect instead of a forward and that will solve your problem..
Geeta
> -Original Message-
> From: Ding Lei [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 12, 2004 9:38 AM
> To: Struts Users Mailing List
> Subject: Browser's refresh problem
>
>
> Hi all,
>
> Ther
Andy:
Short answer(s): No, the values on each form get submitted to just that Action class.
And if you want the values of the other form to be submitted too, then won't it be a
good idea to add those as fields of the first form in the first place? If you can't do
that for some reason, you will
Kailash:
I don't think this is the case... I believe if you implement the Plugin interface and
override the init() method, you will be ok..
Geeta
> -Original Message-
> From: Kailash Vasani [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 08, 2004 8:45 AM
> To: 'Struts Users Mailing Lis
Viral: Look at "Struts Tips" by Ted Husted on the struts home page. I am pretty
certain he discusses this very issue in detail. (I can't seem to get to that link
right now hence cannot verify..)
hth,
Geeta
> -Original Message-
> From: Andrew Hill [mailto:[EMAIL PROTECTED]
> Sent: Thursd
Just a couple of small notes here though, (added for the Struts beginner): you will be
setting and getting a "attribute" not a "parameter". Also you will need to set/get it
as an Integer not an int..
Geeta
> -Original Message-
> From: Kailash Vasani [mailto:[EMAIL PROTECTED]
> Sent: Thu
Sorry Erik, prematurely hit some contrl key..
So, to continue, in your success.jsp add:
But to display your error, do:
Hth,
Geeta
> -Original Message-
> From: Erik Weber [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 06, 2004
Erik: Here's an example:
In your Action class do:
try {
service.insertEmployee( employeeDTO );
ActionMessages messages = new ActionMessages();
ActionMessage message = new
ActionMessage("message.employee.insert.success",employeeDTO.getName() );
messa
I think the problem is that you are mixing java code illegally with jstl. For example,
when you say
try{
something;
}
catch etc. the "something" better be java code..
hth,
Geeta
-
To unsubscribe, e-mail: [EMAIL PROTECTE
Hey Keith:
Try instead:
String ss = "/MRA/ModelEdit.do?action=edit¤tModelNum=" + model.getModelNum();
Regards,
Geeta
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 01, 2004 2:26 PM
> To: [EMAIL PROTECTED]
> Subject: Scriptlet Params in f
uh oh.. you're spamming again..!
> -Original Message-
> From: Ricardo Andres Quintero [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 24, 2004 12:48 PM
> To: Struts Users Mailing List
> Subject: Re: R: R: R: Back Browser Button After Logout and Reload so
> that continue working
>
>
--
Hi Manoj:
Does your getElement() method depend on the individual request? If not you could
declare it as a static method and then simply access it using
MyXMLParserServlet.getElement(). Otherwise that method may need a request parameter in
its signature or something else - depending on your nee
Hi Xinhua:
Here's a link explaining what you want to know:
http://jakarta.apache.org/struts/faqs/database.html
regards,
Geeta
> -Original Message-
> From: Lin, Xinhua [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 24, 2004 9:05 AM
> To: [EMAIL PROTECTED]
> Subject: JDBC connection
>
>
oh ok. Just use Javascript:confirm(..)
Geeta
> -Original Message-
> From: Julia Weaver [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 23, 2004 11:42 AM
> To: Struts Users Mailing List
> Subject: RE: delete a record
>
>
> Thank you Geeta,
>
> What I want to do is when user click DELET
Julia:
I think your question may not be too clear. First what do you mean by "delete a record
in struts"? Strictly speaking, I believe Struts does not (should not) have code which
properly belongs the business/database layer. So assuming that you want to show a
confirmation page when your appli
Chris, i think what David is trying to say is that such a test of authorization does
not belong in a tag (because of the nesting problem). An easy and (non-javascript!)
way of dealing with this is to in the Action *before* the jsp is shown, determine what
the authority of the user is and then di
Pavlikus, the error message you posted was:
> >> But when jsp compiles - it show following error:
> >> -- The end tag " -Original Message-
> From: Pavlikus [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 22, 2004 2:22 PM
> To: Struts Users Mailing List
> Subject: Re[2]: Different form tags
Hi Pavlikus :
I think you may just have a typo:
<-- don't end tag here..
Regards,
Geeta
> -Original Message-
> From: Pavlikus [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 22, 2004 1:53 PM
> To: Struts Users Mailing List
> Subject: Different form tags on same jsp
>
>
> Hi all.
> I
f I create an ActionForward on the fly in
> my Action class, can I also create or acquire the corresponding
> ActionForm to prepopulate it before returning the ActionForward?
>
>
> --- In [EMAIL PROTECTED], "Geeta Ramani" <[EMAIL PROTECTED]> wrote:
> &g
ps.s just noticed your subject line: If you want to create an ActionForward on the fly
in your CAtion class, that's ok too. Just create a new ActionForward, set its path and
return that in your perform/execute method.
Regards,
Geeta
> -Original Message-
> From: bmcgovern2004 [mailto:[EM
Hi bmcgovern2004:
I'm not sure I entirely understand what you want to do, but here's one answer anyway:
> In an action class, is it possible to switch gears, populate a new
> form type with some acquired values, and forward to a different
> action mapping that uses the new form?
Yes. Nothing
,
new ActionMessage( "msg.warning" ) );
request.setAttribute("warnings", am);
and in your page:
Sorry for wasting your time!
Geeta
> -Original Message-----
> From: Geeta Ramani
> Sent: Friday, June 18, 2004 10:44 AM
> To: Struts Users Maili
Hi all:
I have been looking into ActionErrors vs. ActionMessages and found the following two
links:
http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsDeprecatedActionErrors
and
http://www.husted.com/struts/tips/017.html
The first link suggests that ActionError will be deprecated starting 1.2
Hi Berger:
Take a look at org.apache.struts.action.RequestProcessor. I haven't used it myself,
but I think something like processMapping(..) or processPath(..) should work..
Regards,
Geeta
> -Original Message-
> From: Albrecht Berger [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 18, 20
Anjali:
Here are two links that you may find useful:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
http://www.mail-archive.com/[EMAIL PROTECTED]/msg06123.html
Regards,
Geeta
> -Original Message-
> From: gitanjali [mailto:[EMAIL PROTECTED]
> Sent: Th
Ciaran:
Try specifically adding "validate=false" and see what happens..?
Geeta
> -Original Message-
> From: Ciaran Hanley [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 15, 2004 11:28 AM
> To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
> Subject: RE: Form Validation Before Submit
>
Tim:
Have you thought about using anchor tags..? May not be a pretty solution, but could be
made to work i think..?
Geeta
> -Original Message-
> From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 15, 2004 11:25 AM
> To: Struts User List ([EMAIL PROTECTED])
> Subje
ah, in that case does the page render ok if you take out the iterate tag entirely?
> -Original Message-
> From: Geoff Simonds [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 15, 2004 9:32 AM
> To: Struts Users Mailing List
> Subject: RE: Accessing Array element while iterating through Map
oh, wait a minute. When you said "When the page is rendered, it draws a bit of the
page", what exactly did you mean? Did you mean *none* of the iterate bit was rendered?
I thought otherwise (and was hoping it was a problem with data rather than syntax..)
> -Original Message-
> From: Geof
Hi Geoff:
Did you take a look at the rendered page source?
Geeta
> -Original Message-
> From: Geoff Simonds [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 15, 2004 8:57 AM
> To: Struts Users Mailing List
> Subject: Re: Accessing Array element while iterating through Map
>
> >
> Whe th
Yes, quick, where did I misplace my medication..? ;)
>
> Now that I've opened a theological nightmare here... ;)
>
> Frank
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Ken:
<2 p>
Multiple actions pointing to the same action and form is valid and will work.
-Original Message-
> From: Linck, Ken [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 04, 2004 11:36 AM
> To: '[EMAIL PROTECTED]'
> Subject: Alias names that can be used in javascript to reference
>
Frank:
I know better than to join in these (un)holy wars, but I don't know anything about
ultra-edit so am curious: ultra-edit doesn't have command completion, does it? That's
almost the only thing I have found I like about an IDE, and feel I can't do without..
..but i agree with you: ultimatel
Plus isn't it true that whether or not a new session is created on opening a new
window is browser dependent (I think..?).. I vaguely remember a discussion about this
a while ago. If this is the case, then this will impact how your application is
coded...
Geeta
> -Original Message-
> F
Mike:
My guess: Look at your Action class. Do you have database statements, result sets,
connections that aren't getting closed in a finally block?
Regards,
Geeta
> It isn't consistent, sometimes it happens, most of the time
> it doesn't.
> The one constant is that when it happens, I have to
Shiva:
Just guessing here: your trace shows you are requesting this path:
"/countryWiseDetailsInput". Maybe you want something like /countryWiseReport.do?
Regards,
Geeta
> -Original Message-
> From: Hammer [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 19, 2004 2:29 PM
> To: [EMAIL PR
Vishal:
If you are using tomcat, then I believe you can use dbcp. (I think that's what Riyad
Kalla was talking about too..) We use dbcp but only for connecting to one pool (and
this turned out to be quite simple: just configure the server.xml), but I think I read
that you can create multiple po
let 2.2/JSP 1.1 spec compatibility
>
>
> Geeta:
>
> I can't seem to locate v1.02 via google search. I couldn't
> find it at
> http://apache.mirrors.pair.com/jakarta/struts/struts-legacy/ either.
> Any idea where I can get a copy of the struts 1.02 bin
Dan:
Struts 1.1 requires at least Tomcat 4.0. You will have to stick with Struts 1.02.
Regards,
Geeta
> -Original Message-
> From: Dan Tarkenton [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 19, 2004 2:20 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat 3.3.1 and Servlet 2.2/JSP 1.1 spec
Julio:
Look at Riyad Kalla's answer to this question under the thread:
Accessing ResourceBundle items from Action class
Geeta
> -Original Message-
> From: Julio Cesar De Salvo [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 18, 2004 9:42 AM
> To: 'Struts Users Mailing List'
> Subject: how
Hi Vetri:
I don't know the solution to your problem, but I remember not too long ago somebody
else had a similar problem with his/her page being submitting twice. I believe that
problem was in fact solved. So maybe you could search the archives..?
Regards,
Geeta
> -Original Message-
>
Hmm.. Ok, look at the source code of the page you get.. anything there?
Geeta
> -Original Message-
> From: Samuel Rochas [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 13, 2004 6:42 PM
> To: Struts Users Mailing List
> Subject: Re: Server side validation
>
>
> Hello Geeta,
>
> > "login
Samuel:
> > input="/myDir/myForm.jsp"
> If the page is under /web (root of the application), then a
> "/page.jsp"
> is ok?
Yes, that should be ok.
> Why in the login example there is only a input="login"
> without a page name?
"login" must have been defined as a global-forward ..?
>
>
Samuel:
> -Original Message-
> From: Samuel Rochas [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 13, 2004 4:20 PM
> To: Struts Users Mailing List
> Subject: Re: forward request parameter
>
>
> Hello Geeta,
>
> Thanks.
>
> It means I'll have to process it again, and put again in the
Nestor:
Add an "input" attribute in, something like this:
this way when validation fails control will go back to login/login.jsp
Geeta
> My struts-config looks like this:
>
> type="com.tcs.reclamos.struts.action.LoginAction"
> name="loginForm" scope="request">
>redirect="true"/
Samuel:
The "input" field is the path to the jsp where your form resides, something like:
input="/myDir/myForm.jsp"
..and you may want to check on the "scope=session" bit. Are you using session scope?
Geeta
> -Original Message-
> From: Samuel Rochas [mailto:[EMAIL PROTECTED]
Sameul:
You will have to put the data again in the request scope in your second action..
Geeta
> -Original Message-
> From: Samuel Rochas [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 13, 2004 11:43 AM
> To: Struts Users Mailing List
> Subject: forward request parameter
>
>
> Hello,
Exception: Configuration is frozen
> at
> org.apache.struts.config.ForwardConfig.setPath(ForwardConfig.java:208)
>
> at
> com.sbec.folderview.po.actions.UploadPoDocument.perform(Upload
> PoDocument.jav
> a:80)
>
> -Original Message-
> From: Geeta Ramani [mailto:[EMAIL PROTECTED]
> S
I think you can do this: get the ActionForward object as usual. Then use the
ActionForward's getPath and setPath methods to add the rest of your params as query
string parameters to the original path. This I am pretty sure will work.
But if you want to look at a nicer solution, maybe the Request
You know, isn't the RequestProcessor supposed to be used for just this kind of thing?
You know, when you get a request, massage it so it is just as you'd like (in this case
maybe change the case of the mapping to all lower case) and then adding just the
lower-case to the struts-config.xml should
uts Users Mailing List
> Subject: RE: ApplicationResource.properties reload
>
>
> Hi,
>
> Those links were informative.
> But i want to reload only my ApplicationResource.properties.
> Any hints on how to tweak this ?
>
> Regards,
> Janarthan S
>
> -Origin
Janarthan:
Take a look at this link:
http://www.scioworks.net/devnews/strutsDistilled/updates/update-020811/reload.html
and at:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg22743.html
However:
http://jakarta.apache.org/struts/faqs/newbie.html#reload
Regards,
Geeta
> -Original Message--
Ganesh:
For some reason we are receiving four copies of each note that you write.. Would you
please see what's up? Thanks!
Geeta
> -Original Message-
> From: ganesh g [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 12, 2004 8:38 AM
> To: Struts Users Mailing List
> Subject: convert loc
jfreechart *rocks*!! (http://www.jfree.org/jfreechart/)
> -Original Message-
> From: as as [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 10, 2004 4:02 PM
> To: Struts Users Mailing List
> Subject: Re: Reports In Struts Frame work
>
>
> did u try jfree.org
> have a look at jchart.org also
Kevich: make sure you don't have a "redirect=true" in your add configuration in
struts-config file. If that looks ok, post the relevant portions of the
struts-config.xml and someone could maybe spot the problem..
Regards,
Geeta
> -Original Message-
> From: Kevich Gan [mailto:[EMAIL PROT
Yes, somebody did indeed answer better.. Please see Manfred Wolff's earlier response
in this thread. :)
> -Original Message-
> From: Ludovic Maitre [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 10, 2004 9:08 AM
> To: Struts Users Mailing List
> Subject: Re: concurrency in struts
>
>
> H
Jignesh:
Trust me on this, you *don't* want to avoid concurrent requests: Struts takes care of
that bit for you. As long as the variables in the execute method of your action
classes are all method variables and you stay away from class variables, you will be
ok. Really. :)
As for why your to
Jignesh:
The "execute" method of the Action class includes (among others) as params the
request, response objects of each user.. That I believe is the key..:)
Regards,
Geeta
> -Original Message-
> From: Jignesh Patel [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 10, 2004 8:54 AM
> To: S
this figured out :)
>
> That didn't seem to help either... I actually thought of that
> previously, I
> figured at some point there has to be some code casting an
> Object to a File
> object, otherwise certainly the getName() method call is
> going to fail. I
>
None None: (or Someone Someone..;))
In fact maybe just adding the "type" attribute to your orignal iterate will work I
think:
Regards,
Geeta
> -Original Message-
> From: Solley, Tim [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 06, 2004 3:31 PM
> To: Struts Users Mailing List
Michael:
I think "forms" stands for the list (array?) of all forms in that document. So the
form which appears (physically) first on the document has index 0, the next one has 1,
etc. Is this what you are asking..?
Geeta
> -Original Message-
> From: Michael McGrady [mailto:[EMAIL PROT
ant
> to come back. So I cannot set this in the struts-config.xml, but maybe
> there's some way to recall the url of the action or jsp inside the
> action that process the request and then come back to the
> caller action.
>
> Is that clear?
>
> Thanks again.
>
>
M
> To: 'Struts Users Mailing List'
> Subject: RE: is this posible? return to the same page after being
> executed
>
>
> Yeah... :) what I was trying to ask is what the best way to get in the
> action the path to the page that originally called the action.
>
&g
Yes, this will work: try it! :)
Geeta
> -Original Message-
> From: Julio Cesar De Salvo [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 05, 2004 11:06 AM
> To: 'Struts Users Mailing List'
> Subject: is this posible? return to the same page after being executed
>
>
> Is there some way t
Mike, Colin, Hubert:
Thanks very much for your replies! I now have my struts app log4j integrated into
eclipse. :))
To help eliminate future headaches, here's a link that helped me:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg01266.html
i added the Log4jInit servlet, updated web.xml, rebu
1 - 100 of 126 matches
Mail list logo