Thanks for you instant reply,
they configured every and told me that try to write
build.xml. really i dont know what is build.xml and i searched on google and
found one bild.xml and i edited that file and saved inmy application. but
still im not confident abt that. now i need
Hi Narasimha,
Theres an Eclipse plugin called Subclipse which you can download from
subclipse.tigris.org. You would need to configure subclipse so that your
workspace points to the SVN repository. With this you can perform all SVN
operations from your eclipse.
Best Regards,
Krishnan Iyer
Busi
hi to all,
i am new to eclipse, my client gave a SVN work bench and told
me to work on for struts application. but i dont know from where i should
start, whre i should add my files. can any one help me regarding this .
waiting for your reply.
--
Regards,
Narasimha Raju.Naidu
Hyd
Hardik Shah wrote:
Jeromy Evans - Blue Sky Minds wrote:
Correct. It's not as bad as it first seems if you manage the entries in
the two tables (for tomcat) yourself.
Otherwise the next step is a third party library like Spring Security.
try to use jdbcrealm but when submit
gives
Hardik Shah wrote:
my first and last goal about that i want to maintain single sign on without
storing user information in session
i have also integrated hibernate with it ,can i use for achieve somthing
like or not?
Do you mean single sign-on as in across multiple domains or webapps? If
Jeromy Evans - Blue Sky Minds wrote:
>
> Correct. It's not as bad as it first seems if you manage the entries in
> the two tables (for tomcat) yourself.
> Otherwise the next step is a third party library like Spring Security.
>
>
>
try to use jdbcrealm but when submit
gives error like
H
Hardik Shah wrote:
Jeromy Evans - Blue Sky Minds wrote:
A better approach is to use the container's authentication as intended
so the remoteUser is managed by it..
i think u are saying about jdbc realm for container's authentication!
Correct. It's not as bad as it first see
my first and last goal about that i want to maintain single sign on without
storing user information in session
i have also integrated hibernate with it ,can i use for achieve somthing
like or not?
-
Java/J2EE developer
India
blogs
http://hardik4u.wordpress.com wordpress blog
--
View
Jeromy Evans - Blue Sky Minds wrote:
>
>
> A better approach is to use the container's authentication as intended
> so the remoteUser is managed by it..
>
>
i think u are saying about jdbc realm for container's authentication!
-
Java/J2EE developer
India
blogs
http://hardik4u.wo
Hardik Shah wrote:
hi
we can get remoteuser using request.getremoteuser() but how we can set it?
-
One approach is to wrap the request object. Create a Filter, decorate
the HttpServletRequest with one the implements setRemoteUser() and
delegates all other methods to the original. Wh
Okay, sorry, I don't remember the original post. My look at the
FailingAction from the last message was what made me point to the docs.
I also vaguely remember what Jeromy was referring to, but a quick search
in JIRA doesn't show it. The code for most of the interceptors,
especially the model dri
2008/8/27 Wes Wannemacher <[EMAIL PROTECTED]>
> this is documented behavior -
> http://struts.apache.org/2.x/docs/model-driven-interceptor.html
>
> see the second note, toward the top of the page.
>
Wes, are you referring to the following note: "The ModelDrivenInterceptor
will only push the mode
hi
we can get remoteuser using request.getremoteuser() but how we can set it?
-
Java/J2EE developer
India
blogs
http://hardik4u.wordpress.com wordpress blog
--
View this message in context:
http://www.nabble.com/how-to-set-remoteuser-tp19174978p19174978.html
Sent from the Struts - Use
i remember some one having the similar issue... and the fix was to use
scriplets
<%= request.getParameter("") %>
or <%= request.getAttribute("") %>
should work
--
ravi
--
View this message in context:
http://www.nabble.com/couldn%27t-access-s%3Ainclude-param-using--parameters-tp19173169p1917
Pierre,
this is documented behavior -
http://struts.apache.org/2.x/docs/model-driven-interceptor.html
see the second note, toward the top of the page.
-Wes
On Wed, 2008-08-27 at 00:18 -0400, Pierre Thibaudeau wrote:
> 2008/8/26 Pierre Thibaudeau <[EMAIL PROTECTED]>
>
> > [...] suddenly, on my
There is something else at play here. If you put a break-point in the
interceptor it should become clear.
I vaguely an update or concern recently relating to automatic refreshing
of the model in the ModelDriven interceptor; the interceptor gets the
model and re sets it on the stack when it th
2008/8/26 Pierre Thibaudeau <[EMAIL PROTECTED]>
> [...] suddenly, on my most recent action, the model does not find its way
> to the top of the stack, and I cannot find where the problem might be.
>
I dug deeper into this issue and found something very surprising. The
strange behaviour centres ar
Hi guys,
Sorry to bring up an old thread but we really should get this patched - I am
testing out the latest struts with rest and this causes quite a-bit of a
head-ache.
I have resorted to extending Struts FilterDispatcher and putting some code
to chain the request if it matches prefixes set via
Thanks guys, that did it. Lukasz, I will look into hibernate. In your
email about hibernate, what did you mean by 'use Database'? I am currently
working on two projects. This one is just a simple tournament tracking
system that will not face a heavy load, so I may just continue with sessions
in
Parameters are passed as request parameters, so use the
${param.ParamName} notation to access them.
musachy
On Tue, Aug 26, 2008 at 9:51 PM, Martin Gainty <[EMAIL PROTECTED]> wrote:
>
> in your struts-default.xml or xwork-default.xml
> can you verify you have implemented ParametersInterceptor
>
in your struts-default.xml or xwork-default.xml
can you verify you have implemented ParametersInterceptor
in your stack
?
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
Okay I have made 2 small jsp. I can't access parameters passed in from
s:include (struts 2.0.11.2) by #parameters. OR
#parameters['']. Am I doing something really wrong?
quicktest.jsp:
<%@ taglib prefix="s" uri="/struts-tags" %>
0
quicktestincluded.jsp:
<%@ taglib prefix="s" uri="/struts
Thanks, Jeromy, that's a very useful example.
Jeromy Evans - Blue Sky Minds wrote:
>
> Ryan Wong wrote:
>> how can I apply the URL http://localhost:3000/ontrack/1/sprints/1 to
>> action
>> to show item with ontract id - 1 and sprints id - 1
>>
> Here's an example using the REST plugin:
> htt
*is *cant
Damn iPhone
Sent from my iPhone
On Aug 26, 2008, at 3:15 PM, Dustin Pearce <[EMAIL PROTECTED]> wrote:
Problem us you can parameterize the actionRedirect vs. a straight
servletRedirect.
Unless that was fixed.
Sent from my iPhone
On Aug 26, 2008, at 3:10 PM, "Musachy Barroso" <[EMAI
Problem us you can parameterize the actionRedirect vs. a straight
servletRedirect.
Unless that was fixed.
Sent from my iPhone
On Aug 26, 2008, at 3:10 PM, "Musachy Barroso" <[EMAIL PROTECTED]> wrote:
On Tue, Aug 26, 2008 at 5:43 PM, stanlick <[EMAIL PROTECTED]> wrote:
I have decided to dive i
On Tue, Aug 26, 2008 at 5:43 PM, stanlick <[EMAIL PROTECTED]> wrote:
>
> I have decided to dive into the beta blue water! I sort of have things
> working, but...
>
> How does the plug-in work when using namespaces? The
> struts2-rest-showcase-2.1.2 uses the default and I am running into weird
> p
Hi,
Using pre-Struts 2, is there a tag that will create a date (month, day, and
year)? What would I need to do in the ActionForm? In other words, it seems
like the ActionForm can only deal with String and boolean member fields.
Thanks, - Dave
--
View this message in context:
http://www.nabbl
--- On Tue, 8/26/08, Dave Newton <[EMAIL PROTECTED]> wrote:
> (And even if you can't or don't want to fix it on the server-side,
> it's a 9-character fix on the JSP side.)
(Although it's not likely to do what you want.)
Dave
-
I have decided to dive into the beta blue water! I sort of have things
working, but...
How does the plug-in work when using namespaces? The
struts2-rest-showcase-2.1.2 uses the default and I am running into weird
problems that I'm not sure how to "fix."
Also, why is this annotation in the Orde
Someone have to work, I spent 12 hours at work today, so than I have
to reset my brain ;-)
With commiserating
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
--- On Tue, 8/26/08, Milan Milanovic <[EMAIL PROTECTED]> wrote:
> Hm...maybe it is a problem beacuse of Set (not List)?
Now, probably, you understand why I didn't think you were providing all the
information necessary to help you.
And you probably solved your own problem, so we're all... set. (A
fortunately (or unfortunately) it is still office hours here :)
-Original Message-
From: Lukasz Lenart [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2008 5:15 PM
To: Struts Users Mailing List
Subject: Re: Using iterator tag to retrieve list from session
2008/8/26 Dasgupta, Ranjan <[
2008/8/26 Dasgupta, Ranjan <[EMAIL PROTECTED]>:
> you are using the same instance of the Round object and adding to the list.
> create a new Round() in your while loop.
Exactly, that's the point, one drink to far ;-)
Regards
--
Lukasz
http://www.lenart.org.pl/
you are using the same instance of the Round object and adding to the list.
create a new Round() in your while loop.
-Original Message-
From: Chriss Nold [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2008 4:26 PM
To: Struts Users Mailing List
Subject: Re: Using iterator tag to retri
Hi,
>most of the java/struts I know I learned while working for a company
> that used sessions, so that's what I used and I have never used Hibernate.
> Do you know of any good resources for this off hand? I have no problem with
> learning new tech, I am the only person on this project, so ha
Thanks Lukasz,
most of the java/struts I know I learned while working for a company
that used sessions, so that's what I used and I have never used Hibernate.
Do you know of any good resources for this off hand? I have no problem with
learning new tech, I am the only person on this project, so
Hi,
I don't know why you use Session to store the list, much more
efficient is to every time use Database, you can use Hibernate also.
Add List getEventList() getter to your action and put your db
code there. On each request you will get fresh list from db. In such
case you don't have to have Ses
Hi,
I prepared blank archetype base on Struts 2.0.11.2, you can try it with
mvn -U archetype:generate -DarchetypeCatalog=http://www.lenart.org.pl/maven
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EM
Thanks, LuKasz, I will look into the SessionAware Interface, I've never used
it before.
The iterator is now displaying the results, but when I added more records to
the database, I found that the session is holding three different records,
but the iterator tag is displaying the last record three ti
Hi Folks,
I have a class, Item, that has a Set of ItemCertifications. I want to
represent ItemCertifications as a select box with the attribute
multiple="true".
Following is the jsp fragment that renders the select box:
The jsp page displays a muti-select field, and the list of certifications i
Thank you very much. I changed the getList to getEventList, and changed the
iterator to #session.eventList and it works fine now.
I knew it had to be something simple that I was missing.
Thanks again for the help.
Chriss
On Tue, Aug 26, 2008 at 12:46 PM, Jim Kiley <[EMAIL PROTECTED]> wrote:
>
Hello,
I want to read a directory. But canRead() gives false. How can I do it?
My code:
[code]
<%
String filename="";
File dir = new File("files");
String[] children = dir.list();
if (children == null) {
System.out.println("ERROR\t can read:"+dir.canRead());
// Either dir does not e
>Map session = (Map)ActionContext.getContext().get("session");
>String userName = String.valueOf(session.get("userName"));
Instead of this implement SessionAware interface [1]
>
use value="eventList", # is not needed
[1] http://struts.apache.org/2.x/docs/servlet-config-intercep
This doesn't directly address your question, but it seems to me that it
isn't a great idea to name your action method getList(). The default
assumption a reader will make is that getList() is a method intended to
return the value of a field called "list". It is not clear to me how this
would inte
Hello All,
I am trying to retreive a list from the session and display that list
on a jsp, but I am not entirely sure of the correct syntax for reading the
list. Any help would be appreciated. Here is the code that I am cuurently
using:
Action class:
package round;
import java.sql.Connectio
Hm...maybe it is a problem beacuse of Set (not List) ?
--
Milan
Milan Milanovic wrote:
>
> I really don't understand what do you need more ?
>
> For this:
>
>
>
> I have:
>
> class Order {
>
> Set orderList = new java.util.TreeSet<
>
> // get/set methods exists for this orderLis
I've run across something confusing to me in getting Dependency Injection with
Spring to work with Type Converters under Struts 2.
I tried creating a StrutsTypeConverter subclass that had a @Transactional
annotation with a @PersistenceContext on an EntityManager property (via the
setter). The Conv
I really don't understand what do you need more ?
For this:
I have:
class Order {
Set orderList = new java.util.TreeSet<
// get/set methods exists for this orderList
}
class OrderElement {
BigDecimal price;
// get/set methods exists for price
}
I have filled this element and
Without knowing what the data is you're using there's no way to be of any
further assistance.
If the backing data is there the syntax provided (and IIRC Stephan was also
able to use), AFAICT, works fine. Without knowing the differences between my
code, which works fine, and yours, there's not m
Dear Dave,
I tried everything nad I always got null values. I think that I have similar
problem as here: http://www.nabble.com/More-OGNL-Woes-td18877994.html
http://www.nabble.com/More-OGNL-Woes-td18877994.html , altough without
importing. I tried all of these syntax and it doesn't work, I tried
O.K. Solved. I added this property in wrong properties file. Sorry.
--
Milan
Milan Milanovic wrote:
>
> I put in my MyActionClass-conversion.properties file like this:
>
> prop = com.myProject.conversions.DoubleConverter
>
> But when user click on the "Delete" link, it is the same, 0 is add
Wow what was I drinking last night? :-P
I extracted some examples from when I had to convert one app from
2.0.9 to 2.0.11:
1) If the variable is in request scope:
From: onclick="this.form.action = '${urlsubmit}';"/>
To: onclick="this.form.action = '%{#request['urlsubmit']}'" />
(or use #attr inst
I put in my MyActionClass-conversion.properties file like this:
prop = com.myProject.conversions.DoubleConverter
But when user click on the "Delete" link, it is the same, 0 is added at the
end of the Double, so I supose that this converter is not called, as prop is
send through params ? It seems
Thanks for your quick response.
I can do this, but problem is that: in my application there 15 - 20 such
beans .
I have used this code only for demo.
Moreover, all these beans come from a jar file generated from clientgen ant
tool from BEA.
basically I am just consuming the web services & creati
--- On Tue, 8/26/08, vics wrote:
> What I can't do in my application is:
> * Can not convert an array of beans into java.util.List
You can, however, convert a list of beans into the array required by your
application; this is probably the approach I'd take for now.
Dave
This mailing list is for discussion about the struts2 framework by
people who are using it. This is not the place to look for employees or
contractors, you need to look for a job agency in order to do that.
You posted your message twice, so hopefully now you will go looking
elsewhere for someo
Hello,
Currently i am working on Struts 2 based application, in which i need to
populate an array of Java beans from the form.
The problem, I am facing is:
Struts 2 is not instantiate an array of beans
I have gone through the Data transfer and Type Conversion of struts of
1.2, but e
Sorry for my bad formulated question.
I refered at the properties file. In my case
AbstractEnvivoActionSupport.properties.
Should there be an interceptor specified in the Struts2 configuration file
in order to use this file (AbstractEnvivoActionSupport.properties)?
But in any case, I don't thin
--- On Tue, 8/26/08, Roger wrote:
> On Monday 25 August 2008 16:48:27 Dave Newton wrote:
> > --- On Mon, 8/25/08, "Stephan Schröder" wrote:
> > > This seems to indicate that all the objects reachable
> > > through this object should be serializable, too?!
> >
> > No, only the ones you want serializ
--- On Tue, 8/26/08, mitroiasi <[EMAIL PROTECTED]> wrote:
> action="Login" validate="true">
>
>
>align="center">
>
>/>
>
>
>
>
>width="50%">
>
--- On Tue, 8/26/08, Lukasz Lenart wrote:
> Could you show some example how you use labels in jsp file?
I'm not sure what you mean; the tag? Or just HTML labels?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
--- On Mon, 8/25/08, crappycrumpet wrote:
> Hence I was wondering how I can work around it.
Modify the TLD.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Monday 25 August 2008 16:48:27 Dave Newton wrote:
> --- On Mon, 8/25/08, "Stephan Schröder" wrote:
> > This seems to indicate that all the objects reachable
> > through this object should be serializable, too?!
>
> No, only the ones you want serialized.
>
I believe Servlet Containers such as To
Try and know yourself who are spammers and help genuine people looking for
information or help.
--- On Tue, 8/26/08, Al Sutton <[EMAIL PROTECTED]> wrote:
From: Al Sutton <[EMAIL PROTECTED]>
Subject: Re: Help Jobs Search Engine Script
To: "Struts Users Mailing List"
Date: Tuesday, August 26, 200
hi
i am trying to use jdbc realm with s2 for that i have configured like that
i am using eclipse ,so i have changed in server project 's server.xml file
like this
(first disable the userdatabase realm)
and then applying
after that i have change in my project's web.xml file like that
---
Yes, I will list beneath some code.
There's a lot of tutorials for building web applications with Eclipse
if you do a google search.
http://www.google.com/search?q=web+development+with+eclipse
Nils-H
On Tue, Aug 26, 2008 at 8:40 AM, Narasimha Raju Naidu
<[EMAIL PROTECTED]> wrote:
> thanks for your reply,
>
>i d
67 matches
Mail list logo