export to excel - displaytag

2010-10-25 Thread Struts User
Hi all, I am trying to export data to excel using diplaytag. I am able to save the excel file but the file is empty. Any help is greatly appreciated. I am setting the export filter and display-tag properties as below. *web.xml:* ResponseOverrideFilter org.displaytag.filter.ResponseOver

redirect with parameter in struts

2010-08-23 Thread Struts User
Hi, Is it possible in struts1 to include a parameter in the action redirection. If I have a web application say, http://www..xyz.com/welcome.do and I want to redirect it to http://www.xyz.com/welcomeredirect.do?cmp=company1 while value of "cmp" will be assigned dynamically. how can I achieve this?

Re: Is there any way in Struts2 to handle session sharing accross browsers

2009-12-29 Thread Struts-User
ay-in-Struts2-to-handle-session-sharing-accross-browsers-tp26964416p26964689.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e

Is there any way in Struts2 to handle session sharing accross browsers

2009-12-29 Thread Struts-User
n, and session data is of admin. This problem is seen only when browser windows are opened by CTRL+N. Please suggest -- View this message in context: http://old.nabble.com/Is-there-any-way-in-Struts2-to-handle-session-sharing-accross-browsers-tp26964416p26964416.html Sent from the Struts - User m

Struts woes

2009-03-31 Thread struts-user
Hi. I am upgrading from Struts 2.0.11 to 2.1.6, which mostly works as it should thanks to the migration guide [1]. A couple of things elude me, though: 1) I am not able to get fetch static files from dojo. They are supposed to be in the classpath per default [2], but the /struts/dojo/str

[EMAIL PROTECTED]

2006-01-14 Thread struts-user

[EMAIL PROTECTED]

2006-01-09 Thread struts-user
[EMAIL PROTECTED]

[EMAIL PROTECTED]

2006-01-08 Thread struts-user
[EMAIL PROTECTED]

Re: [STRUTS] Issues switching context paths

2004-12-10 Thread Chad Lauritsen (Struts User)
In the struts-config.xml, you still leave things as /appEntryPoint, and the same holds true for custom tags e.g. The struts controller and the taglibs will take /appEntryPoint, find matching actions, and translate into /ice/appEntryPoint.do for you. Keep in mind that if you don't use the custo

Re: [STRUTS] Struts or straight HTML button for action w/ no assoc. form?

2004-12-09 Thread Chad Lauritsen (Struts User)
how about Post message for this classmate or perhaps you could create a throw-away DynaActionForm for this action if you really want it to be a button. csl > [ServletException in:/classmateInfoData1.jsp] Cannot retrieve > definition for form bean null' javax.servlet.jsp.JspException: Ca

Re: Struts, file upload, Websphere 5.0.1 'Read timed out'

2004-12-09 Thread Chad Lauritsen (Struts User)
Sean, Is there a proxy server involved in the upload request? csl Sullivan, Sean C - MWT said: > > I am using Struts 1.1 in Websphere 5.0.1 > > I am trying to use Struts' FormFile feature to receive an uploaded file. > > The file upload is failing due to a "Read timed out" error. The error > o

Re: [OT] how do i get context-param

2004-11-24 Thread Struts User
I had the same feeling that servlet spec. should be more specific when I just started working with J2EE:) But, my experience tells me that a specification tells you "What" you need to have in a servlet container and not "How" to implement a servlet container. If I want to learn servlet programmin

Re: Problem downloading file

2004-11-23 Thread Struts User
Here is a good article related to the problem: http://www.javaworld.com/javatips/jw-javatip94_p.html Lee On Tue, 23 Nov 2004 18:38:30 -0500, Erik Weber <[EMAIL PROTECTED]> wrote: > > > Dakota Jack wrote: > > >Weber, you're the best. Thanks a million. > > > >Jack > > > > > > You're quite we

Re: AW: talking about paradigms

2004-11-16 Thread Struts User
I agree with Jack. There are pointers everywhere in Java. Java learns from C++ mistake by "hiding" error prone functionality such as pointers. Joshua Block's book is not a Java Book for beginner. It is target for experience developer. Probably you should look into Bruce Eckel's on-line book for mo

Re: contrib/struts-shale-mailreader

2004-11-14 Thread Struts User
Thanks for the great explaination, Batien! It certainly makes sense to have tiles to work with any JSF implementation! Lee On Sun, 14 Nov 2004 10:37:27 -0700, BaTien Duong <[EMAIL PROTECTED]> wrote: > Struts User wrote: > > > > >>Having said all this, th

Re: contrib/struts-shale-mailreader

2004-11-13 Thread Struts User
> Having said all this, the framework is powerful for sophisticated web > production side, where all fragments of each page are completely dynamic > based on built-in backend intelligence. Tiles is appropriate for such > page, rather than each page need a backing bean. Hi Batien, I am running th

Re: contrib/struts-shale-mailreader

2004-11-12 Thread Struts User
On Thu, 11 Nov 2004 14:42:30 -0800, Craig McClanahan <[EMAIL PROTECTED]> wrote: > There's another dependency when you try to compile > struts-shale-mailreader ... you have to have run the "dist" target on > the shared database code in "struts-examples/mailreader" first (along > with "struts-contrib

Re: VO usage

2004-11-09 Thread Struts User
On Tue, 9 Nov 2004 12:45:48 -0500, Robert Taylor <[EMAIL PROTECTED]> wrote: > Yes. Wendy is absolutely correct. > Although the I described will work technically, > you will run into issues as Wendy already mentioned. I use Robert's approach and make my VO as a JavaBean which only accepts String an

Re: Display message beside input field using struts validator

2004-11-08 Thread Struts User
Thanks, Joe and Erik. I got it to work using the following code: Struts validator returns error object instead of message object. Thanks! Lee On Mon, 8 Nov 2004 16:08:26 -0600, Joe Germuska <[EMAIL PROTECTED]> wrote: > At 3:49 PM -0600 11/8/04, Struts User wrote: >

Display message beside input field using struts validator

2004-11-08 Thread Struts User
Hello, Currently, I am using struts validator to validate the fields in my ActionForm. Before I updated to struts 1.2.4, I could add an error this way - errors.add( "username", new ActionError("error.username.required")); If the validation failed, the error message for username will be displaye