[ot] Convert Html files to PDF

2007-06-14 Thread jalal udeen
Hi all , sorry , this is not related to struts but this is an urgent requirement for me can any one pls send the code to convert the Html files to Pdf file. pls thanks Jalaludeen

Re: [ot] Convert Html files to PDF

2007-06-14 Thread Peter Valencic
Look here: http://www.javaworld.com/javaworld/jw-04-2006/jw-0410-html.html jalal udeen pravi: Hi all , sorry , this is not related to struts but this is an urgent requirement for me can any one pls send the code to convert the Html files to Pdf file. pls thanks Jalaludeen

Re: [ot] Convert Html files to PDF

2007-06-14 Thread Antonio Petrelli
2007/6/14, Peter Valencic <[EMAIL PROTECTED]>: Look here: http://www.javaworld.com/javaworld/jw-04-2006/jw-0410-html.html You googled "html to pdf java" right? :-) Jalal, learn using Google, take Peter as example :-) Antonio

Re: [ot] Convert Html files to PDF

2007-06-14 Thread Peter Valencic
yes.. sometimes (90%) google give you the right answer ;) Antonio Petrelli pravi: 2007/6/14, Peter Valencic <[EMAIL PROTECTED]>: Look here: http://www.javaworld.com/javaworld/jw-04-2006/jw-0410-html.html You googled "html to pdf java" right? :-) Jalal, learn using Google, take Pe

Re: [S2] Multiple problem

2007-06-14 Thread Wei Xu
Thanks, Laurie. Your OGNL expression does work! In fact, I have been trying in many ways. Here is the most similar expression as yours which seems to be right at all: But it does not work! I quite not understan

Re: Creating actions without context

2007-06-14 Thread Lucas Garcia
Hey Musachy, Thanks a lot for the replying :) Finally I've found a solution through Apache + Tomcat way (rewrite rules). Cheers! On 6/1/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: The url has an 'includeContext' param: http://struts.apache.org/2.x/docs/url.html As for the form, if it fi

Re: avoiding resetting of values

2007-06-14 Thread Paolo Beccari
- Original Message - From: "goodprogram" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 13, 2007 9:37 PM Subject: avoiding resetting of values > > Hi > > I have 7 textbox fields, when i enter the values for all those and submit > the form, the clientside and server side validations are

Re: how to add new tag plugins

2007-06-14 Thread amir nasr
hello all i do what mentioned below but it fails in initialization, and whent i comment <%@ taglib prefix="tt" uri="/tabletags"%> it run correctly , any suggestion. Bye. Mansour <[EMAIL PROTECTED]> wrote: I think you are asking about the taglib difinition so that you can use tabletags. If thi

Page-by-Page Iterator on S2

2007-06-14 Thread Giovanni Azua
Hi all, Can anyone please point me please in the S2 example applications to an implementation of the Page-by-Page Iterator pattern? any ideas otherwise whether there is a reusable interceptor/plugin/etc? TIA, regards, Giovanni

Security issues in Struts

2007-06-14 Thread Prabhakar Natarajan
Hi all, Does any one has list of security issues we have to take while using struts framework. Regards, Prabhakar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-14 Thread Mark P Ashworth
Good Day, I have been trying to use the datetimepicker in 2.0.6 and 2.0.8 to display a field that should display the date and the time. I have tried to do this with the datetimepicker as one field and as two fields (i.e. date field and time field) with no luck. In 2.0.8 I cannot even get the pick

Re: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-14 Thread Jeromy Evans
My question is if the datetimepicker is only going to be ready in 2.1 then how should I implement this in my application? As mentioned previously in this thread, a work-around for the current datetimepicker issues is to convert the date value to and from an RFC3339 string within your actio

Re: how to add new tag plugins

2007-06-14 Thread Mansour
What do you mean by it fails? I need more details. What do you get ? Do you have the jar file in your "WEB-INF/lib" ? amir nasr wrote: hello all i do what mentioned below but it fails in initialization, and whent i comment <%@ taglib prefix="tt" uri="/tabletags"%> it run correctly , any sug

Re: facade stored in Session

2007-06-14 Thread Mansour
Basically, because of the performance issue. It takes a while to initialize the facade with every single request. What's the problem with this ? Frank W. Zammetti wrote: It may be OK, but my experience tells me its atypical... the question I would ask is why you need to cache the reference to

Re: facade stored in Session

2007-06-14 Thread Roger Varley
On 02/06/07, Mansour <[EMAIL PROTECTED]> wrote: Hello every one: I am trying to access my business layer from Actions. However, I need to hold a reference to the business layer facade and access it from any Actions classes. I am saving the reference to servicesFacade in a session and retrieving

Re: Struts validator "maskif"

2007-06-14 Thread ugachaka
What do your log files tell you? It sounds like you've introduced an error in your validation.xml (either a syntax error, or a semantic error such as referencing a class that doesn't exist or specifying the method signature incorrectly). L. So,there is a attribute like "maskif"! Log files

Re: Struts validator "maskif"

2007-06-14 Thread ugachaka
What do your log files tell you? It sounds like you've introduced an error in your validation.xml (either a syntax error, or a semantic error such as referencing a class that doesn't exist or specifying the method signature incorrectly). L. So,there is a attribute like "maskif"! Log files

Re: Struts validator "maskif"

2007-06-14 Thread ugachaka
What do your log files tell you? It sounds like you've introduced an error in your validation.xml (either a syntax error, or a semantic error such as referencing a class that doesn't exist or specifying the method signature incorrectly). L. So,there is a attribute like "maskif"! Log files s

Re: Struts validator "maskif"

2007-06-14 Thread ugachaka
sorry! -- View this message in context: http://www.nabble.com/Struts-validator-%22maskif%22-tf3913144.html#a8601 Sent from the Struts - User mailing list archive at Nabble.com.

Re: [S2] Getting DAO from Spring in Struts Action

2007-06-14 Thread Dave Newton
--- "M. Bitner" <[EMAIL PROTECTED]> wrote: > [...] Spring is picking up the beans defined in > applicationContext and instantiating them. How do I > get them into my actions to use them for data access? Two main ways: 1) Wire them up by hand (define your actions as beans in a Spring context file

RE: [S2] Getting DAO from Spring in Struts Action

2007-06-14 Thread Wesslan
Maybe http://struts.apache.org/2.x/docs/spring-plugin.html can be of some help. Cheers, Peter -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: den 14 juni 2007 13:59 To: Struts Users Mailing List Subject: Re: [S2] Getting DAO from Spring in Struts Action --- "M. Bit

RE: Security issues in Struts

2007-06-14 Thread Bruno Melloni
I know of two general categories of security issues: First, all security issues that apply to Web Applications apply to Struts. Fortunately, there is lots of documentation in the web, a few books, and quite a few tools that test the security of your web application. Second, *use a recent versio

capture multiple parameters

2007-06-14 Thread mwoodpecker
Hello everbody, I'm faciong the following problem. In my OrderForm I have got a list with order items: private List wrappedOrderItemList = new ArrayList(); Now I have got a jsp with a list of all order items. I iterate over the list to display the values: Now I need a textfield where the user

Re: [S2] Could not parse struts.locale setting

2007-06-14 Thread Gabriel Belingueres
I'm getting the same warning setting the constant in the struts.xml file. Didn't test using struts.properties. Upgrading to v2.0.8 didn't solve the problem either. 2007/6/13, Danny Hurlburt <[EMAIL PROTECTED]>: I was getting the same warning. I was able to remove the warning by creating a /WEB-

Re: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-14 Thread Mark P Ashworth
Good Day, Thank you for the help. I found a javascript calendar that has date and time functionality. Is there a way I can use this with a normal s:textfield? http://sourceforge.net/projects/jscalendar/ I want to use the following format in the text field. 2007-06-14 20:41 Must I create a co

Re: Failed while destroying filter during shutdown

2007-06-14 Thread totojack
Updated struts from 2.0.6 to 2.0.8 (that fixed "FilterDispatcher not cleaning up correctly") but nothing changes. Maybe it's not a FilterDispatcher problem... totojack wrote: > > I've deployed a webapp with struts2 on weblogic 8.1/java 1.4.1_02. > It works fine, but when I make a redeploy it t

Re: facade stored in Session

2007-06-14 Thread Daoud Abdelmonem Faleh
On 6/14/07, Roger Varley <[EMAIL PROTECTED]> wrote: On 02/06/07, Mansour <[EMAIL PROTECTED]> wrote: > Hello every one: > I am trying to access my business layer from Actions. However, I need > to hold a reference to the business layer facade and access it from any > Actions classes. I am saving

Re: [S2] Could not parse struts.locale setting

2007-06-14 Thread Torsten Römer
I am a bit confused now: - It seems when the app starts in the course of Tomcat starting up, there is no warning - When the app starts in the course of stopping/starting or reloading in Tomcat Manager, the warning still appears - However my the locale I set as constant in struts.xml seems to apply

Re: [S2] Problem with Date pattern

2007-06-14 Thread Musachy Barroso
Make sure the inputName matches the name of the setter method, I assume you have a getAnuncio() in your action whose result has a setDataInicial() method right? musachy On 6/13/07, Diego Yasuhiko Kurisaki <[EMAIL PROTECTED]> wrote: I'm using saveFormat=rfc and java.util.Date as my object My d

RE: [S2] Tiles plugin on 1.4

2007-06-14 Thread Charbel Abdul-Massih
I upgraded to the latest version of struts 2.0.8 which comes with a newer version of tiles... I am using JDK 1.4, so I had to reto-translate the following jars on top of the struts2 j4 distribution struts2-tiles-plugin-2.0.8.jar tiles-api-2.0.3.jar tiles-core-2.0.3.jar On weblogic 8.1, on start

Re: [S2] Tiles plugin on 1.4

2007-06-14 Thread Antonio Petrelli
2007/6/14, Charbel Abdul-Massih <[EMAIL PROTECTED]>: java.lang.ClassNotFoundException: org.apache.tiles.jsp.context.JspTilesContextFactory Whoops! Maybe we need to add it in the assembly. For the moment, you can add it manually: http://www.apache.org/dyn/closer.cgi/tiles/v2.0.3/ Thanks a lo

No Collection Found problem

2007-06-14 Thread Marianne . Gardes
Hello, I am having some problems with getting a session attribut in my JSP. A have a JSP where the user can make a search based on information he must enter in a form. The result of the search must be displayed in a table. To display the result I do:

Re: [S2] Getting DAO from Spring in Struts Action

2007-06-14 Thread David Durham, Jr.
On 6/14/07, Wesslan <[EMAIL PROTECTED]> wrote: Maybe http://struts.apache.org/2.x/docs/spring-plugin.html can be of some help. You have to give your spring actions (those you want dependency injection for) the same value for the "name" attribute as the value you give for your spring bean's "id"

Re: how to add new tag plugins

2007-06-14 Thread amir nasr
hello all i do what mentioned below but it fails in initialization, and whent i comment <%@ taglib prefix="tt" uri="/tabletags"%> it run correctly , any suggestion. Bye. Mansour <[EMAIL PROTECTED]> wrote: I think you are asking about the taglib difinition so that you can use tabletags. If thi

Help me

2007-06-14 Thread Sachin
Help me on the below error [6/14/07 9:48:11:304 EDT] 152c2ad5 WebGroup E SRVE0026E: [Servlet Error]-[com/opensymphony/oscache/base/NeedsRefreshException]: java.lang.NoClassDefFoundError: com/opensymphony/oscache/base/NeedsRefreshException at java.lang.Class.forName1(Native Method) at java.lang.Cl

Re: Help me

2007-06-14 Thread Musachy Barroso
Seems like you don't have oscache jar on your lib folder. musachy On 6/14/07, Sachin <[EMAIL PROTECTED]> wrote: Help me on the below error [6/14/07 9:48:11:304 EDT] 152c2ad5 WebGroup E SRVE0026E: [Servlet Error]-[com/opensymphony/oscache/base/NeedsRefreshException]: java.lang.NoClassDefFoundE

Re: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-14 Thread Torsten Römer
What concerns me is the loading time of a page that contains one or more datetimepickers. Especially in the company network here (very fast but behind a proxy), it sometimes takes a minute or more to load such a page while my little Linux box here almost freezes. More or less the same happens on th

Re: Help me

2007-06-14 Thread Sachin
Sorry forgot to mention I have oscache-2.1.1.jar inside WEB-INF\Lib which is working fine in windows and failing in unix. I extracted the jar in from my unix server and it contains the jar which fine and having the NeedsRefreshException class. I did check the case sense between windows and unix.

Re: Help me

2007-06-14 Thread Rainer Hermanns
Rename the folder from WEB-INF\Lib to WEB-INF\lib... > Sorry forgot to mention > > I have oscache-2.1.1.jar inside WEB-INF\Lib which is working fine in > windows > and failing in unix. > I extracted the jar in from my unix server and it contains the jar which > fine and having the NeedsRefreshExce

Re: Help me

2007-06-14 Thread Sachin
sorry that is typo error... lib is fine. On 6/14/07, Rainer Hermanns <[EMAIL PROTECTED]> wrote: Rename the folder from WEB-INF\Lib to WEB-INF\lib... > Sorry forgot to mention > > I have oscache-2.1.1.jar inside WEB-INF\Lib which is working fine in > windows > and failing in unix. > I extrac

RE: Struts 2.0.8 upgrade question

2007-06-14 Thread Ray Clough
Sorry for the unjustified criticism. It is going to be difficult for people to get the correct jar, as it is not a link on the Tiles site. I had to guess that the 2.0.3 download url was a mod of the 2.0.4 url, and fortunately, it was. - rc > - Original Message - > From: "Al Sutton" <[E

Re: [S2] Problem with Date pattern

2007-06-14 Thread Diego Yasuhiko Kurisaki
Yes thats right... When i have the following signature for the setter method setDataInicial(java.util.Date data){ } The method is called properly and my date is setted, but it changes dd/MM for MM/dd, so if my date is 01/12 (first of december) in my bean it turns to 12/01 (twelveth of january

[S2] Parameter Interceptor Error

2007-06-14 Thread Hoying, Ken
I am getting the following errors and I am not sure where they are coming from. I do not have any fields on my form named "x" or "y". Any ideas? ERROR - ParametersInterceptor.setParameters(198) | ParametersInterceptor - [setParameters]: Unexpected Exception catched: Error setting expression 'x'

[S1] Properties Argument Question

2007-06-14 Thread Kenton
I'm preparing my Struts app for Internationalization and am moving all strings to .properties files. How do I do this: "/> Obviously, that doesn't work, but you can probably see what I want to do. How do I do that? -- View this message in context: http://www.nabble.com/-S1--Properties-Argumen

RE: [S2] Parameter Interceptor Error

2007-06-14 Thread Hoying, Ken
I added setters for "x" and "y" in my action class. They are set to different integer values each time. I have no idea where this is coming from. Is this some strange bug in Struts 2? -Original Message- From: Hoying, Ken [mailto:[EMAIL PROTECTED] Sent: Thursday, June 14, 2007 1:48 PM

RE: [S2] Parameter Interceptor Error

2007-06-14 Thread Dave Newton
--- "Hoying, Ken" <[EMAIL PROTECTED]> wrote: > I added setters for "x" and "y" in my action class. > They are set to different integer values each time. > I have no idea where this is coming from. Is this > some strange bug in Struts 2? I'll bet if you move your mouse to the right x gets big

RE: [S2] Parameter Interceptor Error

2007-06-14 Thread Hoying, Ken
You appear to be correct. Care to clue me in? -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, June 14, 2007 2:12 PM To: Struts Users Mailing List Subject: RE: [S2] Parameter Interceptor Error --- "Hoying, Ken" <[EMAIL PROTECTED]> wrote: > I added setters

RE: [S2] Parameter Interceptor Error

2007-06-14 Thread Hoying, Ken
I see... Now.. Using -Original Message- From: Hoying, Ken [mailto:[EMAIL PROTECTED] Sent: Thursday, June 14, 2007 2:18 PM To: Struts Users Mailing List Subject: RE: [S2] Parameter Interceptor Error You appear to be correct. Care to clue me in? -Original Message- From: Dave

Re: No Collection Found problem

2007-06-14 Thread Niall Pemberton
On 6/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello, I am having some problems with getting a session attribut in my JSP. A have a JSP where the user can make a search based on information he must enter in a form. The result of the search must be displayed in a table. To display the

[S2] actionmessages not surviving between requests (redirect-after-post)

2007-06-14 Thread Gabriel Belingueres
Hi, I'm trying to develop my app following the redirect-after-post pattern. Of course s:actionmessages do not survive between requests, but this is the main paradigm behind the pattern (showing the page by doing _other_ request). The question is which are my options to make my actionMessages dis

[S2] Validation error messages pile up

2007-06-14 Thread Rafael Dittberner
In one of my forms the validation error messages are piling up every time the submit button is pressed. This only occurs in Firefox and only with this form. I have other form working well both in IE and FF. Anyone can help me? The form: <%@ page language="java" contentType="text/html; charset=UT

Re: Struts2 Not Executing Actions

2007-06-14 Thread Ian Roughley
Can you verify that the struts.xml is in the WAR file, and the location of it? /Ian Danny Hurlburt wrote: Hello, I am new to Struts2 and am running into some problems. I have read much of the documentation on the wiki but I am still stuck. I have added the filter declaration and filter ma

Re: Struts2 Not Executing Actions

2007-06-14 Thread ANIMESH SAXENA
Generally this occurs if there is no method defined for the action...guess struts.xml is missin for indicatin the default method. try addin method="execute()" to the definition..if it works...some problem with struts.xml Animesh On 6/13/07, Danny Hurlburt <[EMAIL PROTECTED]> wro

Re: Struts2 Not Executing Actions

2007-06-14 Thread Danny Hurlburt
Actually I figured it out. I didn't realize that S2 was expecting struts.xml to be on the classpath. I put it in WEB-INF. The wiki page http://cwiki.apache.org/WW/strutsxml.html didn't make it clear that it is required to be on the classpath. It does however state that the struts-plugin.xml need

[S2] Validation

2007-06-14 Thread Hoying, Ken
I am trying to perform validation using an xml file that follows the format Action-method-validation.xml. However, it does not appear that the validation is being executed. I am not sure how to debug this to determine why. Anyone have a good set of steps on how to debug this issue? Thank you.

Re: [S2] Validation error messages pile up

2007-06-14 Thread Musachy Barroso
On which field are they piling up? musachy On 6/14/07, Rafael Dittberner <[EMAIL PROTECTED]> wrote: In one of my forms the validation error messages are piling up every time the submit button is pressed. This only occurs in Firefox and only with this form. I have other form working well both i

Re: [S2] Validation error messages pile up

2007-06-14 Thread Rafael Dittberner
If I uncheck the Tools|Options|Content|Enable Javascript option in FF it works ok. But it does not answer the question why one form works and the other don't. Rafael Dittberner Rafael Dittberner escreveu: In one of my forms the validation error messages are piling up every time the submit bu

Re: [S2] Validation

2007-06-14 Thread Musachy Barroso
One way to know if the validation is detected by struts is using the config browser plugin (http://struts.apache.org/2.x/docs/config-browser-plugin.html), is the "validation" interceptor being applied to your action? In any case, posting the action mapping and the class would help. musachy On 6/

Re: [S2] Validation error messages pile up

2007-06-14 Thread Musachy Barroso
If you have validate="true" on the form, javascript validation will be performed before submitting the form, do you have that in both forms? musachy On 6/14/07, Rafael Dittberner <[EMAIL PROTECTED]> wrote: If I uncheck the Tools|Options|Content|Enable Javascript option in FF it works ok. But i

Re: [S2] Validation error messages pile up

2007-06-14 Thread Rafael Dittberner
The first one. Rafael Dittberner Musachy Barroso escreveu: On which field are they piling up? musachy On 6/14/07, Rafael Dittberner <[EMAIL PROTECTED]> wrote: In one of my forms the validation error messages are piling up every time the submit button is pressed. This only occurs in Firefox

Re: [S2] Validation error messages pile up

2007-06-14 Thread Rafael Dittberner
Yes, both forms have validate="true". required="true" > This is the one that works, it is only a test I did while learning S2, so it is much simplier than the other. Rafael Dittberner Musachy Barroso escreveu: If you have validate="true" on the form, javascript validation will be perfor

RE: [S2] Validation

2007-06-14 Thread Hoying, Ken
Thanks for the pointer on the plugin. My Validation XML file (UploadFile-uploadXls-validation.xml) is as follows: http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd";>

URL Parameters not working in Struts 2.0.6

2007-06-14 Thread Mike Jennings
Can anyone tell me why this is happening to me. I am using jdeveloper 10g as my development platform. I want to call a action with a url parameter. ex: someaction.action?id=123 but in my action where i have a getter and setter for id it is not being picked up. Could this be a issue with oc4j

Struts 2

2007-06-14 Thread l1nk
Hi. I have done a simple application to learn struts2. The user only insert is name and hit "OK" button. The result is the error.jsp or success.jsp with a message that was set on the class. This class have the execute() method and all gets and sets need to capture the values introduce by the use

Cannot pass url parameters with oc4j

2007-06-14 Thread Mike Jennings
I am trying to run the blank-struts application in jdeveloper 10.1.3.1 and the application is not recognizing the url parameters passed to the action. Is anyone else having this issue?

[S2] int validator for longs?

2007-06-14 Thread Jon Wilmoth
I noticed there's only two bundled numeric data type validator (int, double). Is there any reason the S2 "int" validator can't be used for long field validations (or other data types w/out decimals)? p.s. The http://struts.apache.org/2.x/docs/validation.html page is missing a link for the doub

Re: Struts 2

2007-06-14 Thread Jeff Amiel
On 6/14/07, l1nk <[EMAIL PROTECTED]> wrote: Hi. I have done a simple application to learn struts2. The user only insert is name and hit "OK" button. The result is the error.jsp or success.jsp with a message that was set on the class. This class have the execute() method and all gets and sets n

Re: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-14 Thread Torsten Römer
> I'll be replacing that with the one Torsten > emailed about earlier at the first opportunity I get: > > http://www.mattkruse.com/javascript/calendarpopup/ > I just gave that a try myself and I ran into a few issues: - The placement of the popup is not as smart as with datetimepicker, in my c

[S2] validation error message params w/ message key?

2007-06-14 Thread Jon Wilmoth
The DTD (http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd) for the xml validation file definition doesn't appear to support error message parameters. How does one pass msg parameters when using the message key (which I assume is a i18n message file key)? Using the example on http://

Re: Struts2 Not Executing Actions

2007-06-14 Thread Dave Newton
--- Danny Hurlburt <[EMAIL PROTECTED]> wrote: > The wiki page didn't make it clear that it is > required to be on the classpath. Does now :) (Or will once it propagates, anyway.) d. Building a websit

Re: Struts 2

2007-06-14 Thread l1nk
Sure. Here it's the code: ERROR [ParametersInterceptor] ParametersInterceptor - [setParameters]: Unexpected Exception catched: Error setting expression 'age' with value '[Ljava.lang.String;@73327332' ERROR [ParametersInterceptor] ParametersInterceptor - [setParameters]: Unexpected Exception catc

Re: URL Parameters not working in Struts 2.0.6

2007-06-14 Thread tom tom
What exactly the tag you are using, Better to use the url tag with param which does the encoding properly Thanks --- Mike Jennings <[EMAIL PROTECTED]> wrote: > Can anyone tell me why this is happening to me. I > am using jdeveloper 10g > as my development platform. > > I want to call a action w

Re: Cannot pass url parameters with oc4j

2007-06-14 Thread Martin Gainty
Good Evening George or Mike go to 'Project' select 'Run/Debug' Edit Add the necessary Program Arguments Tool Settings/Debugger/Remote Attach to OJVM should be selected Host should be fully qualified dns name Port leave as 4000 unless you changed it verify the 'To Launch A Remote Debugee' (comma

Dynamic image caching

2007-06-14 Thread Paul Benedict
I am following the instructions here: http://www.servlets.com/archive/servlet/ReadMsg?msgId=427231&listName=struts-user But unfortunately I cannot get my browser to send the "If-Modified-Since" header. Instead, I am always receiving the "cache-control=max-age=0" in the request, which HTTP dicta

Re: [S2] Getting DAO from Spring in Struts Action

2007-06-14 Thread M. Bitner
I really appreciate the input - I've been struggling with this for a while. It's still not quite working though, and I'm sure the problem is that there's something fundamental about the process that I don't quite understand yet. My applicationContext.xml looks like this: http://www.springframew

Re: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-14 Thread Jeromy Evans
Torsten Römer wrote: I'll be replacing that with the one Torsten emailed about earlier at the first opportunity I get: http://www.mattkruse.com/javascript/calendarpopup/ I just gave that a try myself and I ran into a few issues: Thanks for this. You've saved me a lot of time! ---

Query on struts application design

2007-06-14 Thread Rakesh Sharma
Dear All, I am new to struts so would need your help here. My client has an enterprise application(struts1.0 based) with : 1 WAR (virtual host www.abc.com) 1 EJB module Now, the client want the same application(almost same business rules..i.e same EJB module) but in different look and feel

In struts 2 can we stop form submiting twice when submit button is pressd more than once

2007-06-14 Thread sudeepj2ee
Hi Is there a way out in struts 2 as in struts1.2 for not submitting the form twice even is the submit button is pressed more than once. Your reply will be welcomed sudeep srivastava [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/In-struts-2-can-we-stop-form-submiti

Forward to remote URL in struts

2007-06-14 Thread SURESH GUDIVADA
Hi, I have tried using request.getRequestDispatcher.forward() and returning the actionforward to null I used the below code String customURL = getcustomURL(); RequestDispatcher req = request.getRequestDispatcher(customURL); req.forward(request, response); But it is not working. it always pre-

Re: Help me

2007-06-14 Thread md . ekbaluddin
the WEB-INF should be in capital letters to run a web application in linux. actually i have faced the same problem . windows in not case sensetive but linux ,it is only for WEB-INF,. Your can mention lib, classes or other folders names in lower case best of luck

get real path of a file from action class

2007-06-14 Thread Ambaris Mohanty
Hi all, Can anybody tell me how to get the real path of a file from an action class? I'm using struts 1.2.9. Thank you, AM

RE: get real path of a file from action class

2007-06-14 Thread Gurram, Srinivas
getServlet.getContextPath.getRealPath(File); Regards Srinivas Gurram IT Consultant LogicaCMG - Releasing your potential Divyasree Technopolis 124 - 125 Yemlur Main Road, Off Airport Road Yemlur P.O Bangalore 560 037 India Tel: +91 80 4194 extn 20195 M: +91 99001

RE: get real path of a file from action class

2007-06-14 Thread Deepak Kumar
Hi, You can get it by using the code: //Get the servers upload directory real path name String filePath = getServlet().getServletContext().getRealPath("/") +"upload"; Have a look at http://www.roseindia.net/struts/strutsfileuploadandsave.shtml. Here you will find the code to save the file

RE: Struts 2.0.8 upgrade question

2007-06-14 Thread Al Sutton
No worries, It's useful to bring issues like this up so that people can search the mailing list archives and get the solution if the hit the same problem. -Original Message- From: Ray Clough [mailto:[EMAIL PROTECTED] Sent: 14 June 2007 17:17 To: Struts Users Mailing List Subject: RE: Str

RE: [S2] actionmessages not surviving between requests (redirect-after-post)

2007-06-14 Thread Al Sutton
You'll need http://struts.apache.org/2.0.8/docs/message-store-interceptor.html Be aware though, if you have the validation interceptor in your stack you will encounter problems if you're redirecting to an action. -Original Message- From: Gabriel Belingueres [mailto:[EMAIL PROTECTED] Sen

Regarding Out of memory error (Java heap space)

2007-06-14 Thread Sid
Hi I have a page that allows users to create 100 records at the same time (100 is the limit that we have set). The screen works this way, the user can upload the information for those hundred rows and then click on "Save" to save all the information. The form has formfile element in it (to enable

Re: In struts 2 can we stop form submiting twice when submit button is pressd more than once

2007-06-14 Thread Strut_developer
Please use TokenInterceptor; you need to configure it in you action configuration. sudeepj2ee wrote: > > Hi > > Is there a way out in struts 2 as in struts1.2 for not submitting the form > twice even is the submit button > is pressed more than once. > > Your reply will be welcomed > > sud

Re: In struts 2 can we stop form submiting twice when submit button is pressd more than once

2007-06-14 Thread sudeepj2ee
Hi Thanks for replying can you send a small sample or a link that would be helpful for me sudeep Strut_developer wrote: > > > Please use TokenInterceptor; you need to configure it in you action > configuration. > > > > sudeepj2ee wrote: >> >> Hi >> >> Is there a way out in struts 2 as in

RE: get real path of a file from action class

2007-06-14 Thread Ambaris Mohanty
Thank you Deepak, It works fine. -Original Message- From: Deepak Kumar [mailto:[EMAIL PROTECTED] Sent: Friday, June 15, 2007 11:22 AM To: Struts Users Mailing List Subject: RE: get real path of a file from action class Hi, You can get it by using the code: //Get the servers upload dir

Re: In struts 2 can we stop form submiting twice when submit button is pressd more than once

2007-06-14 Thread Strut_developer
First of all let me know how to post problems here; I am registered user but when I post problems ; I cant see it in list. I just can see it in my account summary. How can I make sure that my queries listed in list like yours. and ya you can see java doc of that interceport there is example given,