Re: Integrating struts 2 with Classic JSP SERVLET /JSTL webapp

2015-05-27 Thread Kiran Badi
Hi All, I was able to integrate Struts 2 with Classic web application. Actually It took sometime for me to understand that struts ui tags gets activated only when request flows through struts filter.My bad stack trace was showing it all the time, but I never took a look at it. :( Now I have anot

Re: Integrating struts 2 with Classic JSP SERVLET /JSTL webapp

2015-05-11 Thread Kiran Badi
No Luck.It loads the page but straight away goes to error page. Let me prepare a simple use case and upload it to some public folder.Use case will have just 2 links, one with struts and another simple servlet. I cannot use exclude param constant since I have lot of servlets using annotations. On M

Re: Integrating struts 2 with Classic JSP SERVLET /JSTL webapp

2015-05-11 Thread Chris Pratt
Try adding namespace="/"to your s:url tag. (*Chris*) On May 11, 2015 10:06 AM, "Kiran Badi" wrote: > Hi Chris, it load app with welcome page with *.action mapping,but seems > like url mapping gets messed up,I get below now. > > ">Test Page > 164: > 165: > 166: > > > S

Re: Integrating struts 2 with Classic JSP SERVLET /JSTL webapp

2015-05-11 Thread Kiran Badi
Hi Chris, it load app with welcome page with *.action mapping,but seems like url mapping gets messed up,I get below now. ">Test Page 164: 165: 166: Stacktrace:] with root cause The Struts dispatcher cannot be found. This is usually caused by using Struts tags without

Re: Integrating struts 2 with Classic JSP SERVLET /JSTL webapp

2015-05-11 Thread Kiran Badi
checking chris. I think that should work.Let me check. On Mon, May 11, 2015 at 12:51 PM, Chris Pratt wrote: > If all your URLs aren't at the root (which they probably aren't), you'll > want to change your url-pattern to just *.action > (*Chris*) > On May 11, 2015 9:46 AM, "Kiran Badi" wrote:

Re: Integrating struts 2 with Classic JSP SERVLET /JSTL webapp

2015-05-11 Thread Kiran Badi
Sorry mail got send before I could complete. I have UI Tag lib on top of the page ">Test Page When i try to deploy, it fails to deploy,I am on struts 2.20 and tomcat 7.0.27 and servlet spec is 3.0 and on windows machines. SEVERE: ContainerBase.addChild: start: org.apache.catalina.LifecycleExcep

Re: Integrating struts 2 with Classic JSP SERVLET /JSTL webapp

2015-05-11 Thread Chris Pratt
If all your URLs aren't at the root (which they probably aren't), you'll want to change your url-pattern to just *.action (*Chris*) On May 11, 2015 9:46 AM, "Kiran Badi" wrote: > Hi Chris, > > Here is Struts 2 filter in web xml, > > > Struts 2 Filter > struts2 > > > org.apach

Re: Integrating struts 2 with Classic JSP SERVLET /JSTL webapp

2015-05-11 Thread Kiran Badi
Hi Chris, Here is Struts 2 filter in web xml, Struts 2 Filter struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter struts2 /*.action REQUEST Here is test sample with struts.xml which is web-inf/classes folder htt

Re: Integrating struts 2 with Classic JSP SERVLET /JSTL webapp

2015-05-11 Thread Christoph Nenning
> I already tried that and it's not working and it fails to deploy to tomcat. > Well, then please give us more details. You may want to have a look here: http://struts.apache.org/docs/home.html Regards, Christoph > On Monday, May 11, 2015, Christoph Nenning > wrote: > > > > Hi, > >

Re: Integrating struts 2 with Classic JSP SERVLET /JSTL webapp

2015-05-11 Thread Kiran Badi
I already tried that and it's not working and it fails to deploy to tomcat. On Monday, May 11, 2015, Christoph Nenning wrote: > > Hi, > > > > I need to integrate struts 2 with my classic web application based on > > servlet. > > > > How do I tell struts 2 intercept only requests coming from spec

Re: Integrating struts 2 with Classic JSP SERVLET /JSTL webapp

2015-05-11 Thread Christoph Nenning
> Hi, > > I need to integrate struts 2 with my classic web application based on > servlet. > > How do I tell struts 2 intercept only requests coming from specific folder > like > > com.mysite.app.xx.yy where I will placing all struts related source files ? > > Here is the link what I started

Integrating struts 2 with Classic JSP SERVLET /JSTL webapp

2015-05-10 Thread Kiran Badi
Hi, I need to integrate struts 2 with my classic web application based on servlet. How do I tell struts 2 intercept only requests coming from specific folder like com.mysite.app.xx.yy where I will placing all struts related source files ? Here is the link what I started at stackoverflow, http:

Re: Struts 2 Access messages with JSTL instead of s:text

2014-06-02 Thread Alireza Fattahi
As mentioned the ${action.getText('sample')} will work, but this is JSTL method invocation and you need JSTL 2.2 (ex: tomcat 7)   ~Regards, ~~Alireza Fattahi On Friday, 30 May 2014, 16:20, Yaragalla Muralidhar wrote: you have to use fmt tags in jstl. Using jstl is a good idea

Re: Struts 2 Access messages with JSTL instead of s:text

2014-05-30 Thread Yaragalla Muralidhar
you have to use fmt tags in jstl. Using jstl is a good idea. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Wed, May 28, 2014 at 10:04 AM, Alireza Fattahi wrote: > In struts 2 the > > > > (is equivalen

Re: Struts 2 Access messages with JSTL instead of s:text

2014-05-27 Thread Lukasz Lenart
t namespace is not specified > > Is it a correct approach?! I'm not sure if this will ever work - ${provider.text("label.password")} calls function not a property and JSTL uses special prefix to indicates if expressions is a function call - ${fn:length(string1)} I cannot find

Struts 2 Access messages with JSTL instead of s:text

2014-05-27 Thread Alireza Fattahi
In struts 2 the      (is equivalent to...)     JSTL: ${pageTitle} I use JSTL version which is more compact. Can we do the same thing with application messages?! To get text from message resources we do as below:     Now, is there any JSTL version insteadof `` ?  -- Meanwhile

Access messages with JSTL instead of s:text

2014-05-24 Thread Alireza Fattahi
In struts 2 the (is equivalent to...) JSTL:${pageTitle} I use JSTL version which is more compact. Can we do the same thing with application messages?! To get text from message resources we do as below: Now, is there any JSTL version instead of  ? Meanwhile, I

Re: "jstl.jar vs. jstl-api.jar" for struts2.2.3

2011-07-18 Thread Emi Lu
Hi Dave, One's an implementation, one's the api (I assume). http://jstl.java.net/ provides two jars: . jstl-api.jar . jstl-implementation.jar I thought jstl-api is the newer version of jstl.jar, no? Neither is related to Struts 2. Some app servers provide JSTL out-of-the-box, s

Re: "jstl.jar vs. jstl-api.jar" for struts2.2.3

2011-07-18 Thread Dave Newton
One's an implementation, one's the api (I assume). Neither is related to Struts 2. Some app servers provide JSTL out-of-the-box, some you'll need to deploy, you shouldn't need to deploy the API jar, just the implementation. (There's also standard.jar, but I can never remem

"jstl.jar vs. jstl-api.jar" for struts2.2.3

2011-07-18 Thread Emi Lu
Hello, Could someone tell me the differences between "jstl.jar vs. jstl-api.jar"? It seems that "jstl-api.jar" cannot find: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %> But from "http://jstl.java.net/";, t

RE: error JSTL

2011-05-16 Thread Ilya Kazakevich
http://java.sun.com/jstl/core is JSTL 1.0 namespace http://java.sun.com/jsp/jstl/core is JSTL 1.1 namespace :) Ilya Kazakevich, Developer JetBrains Inc http://www.jetbrains.com "Develop with pleasure!" -Original Message- From: Mohamed SIDI [mailto:mhm.s...@gmail.com] Sent: M

Re: error JSTL

2011-05-16 Thread Mohamed SIDI
I have resolved the problem by changing the URI, the one witch I was using is : <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %>, or the good one would be : <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %> th

RE: error JSTL

2011-05-16 Thread Ilya Kazakevich
You use JSTL 1.0 and EL is not allowed in properties there. Try to use newer version of JSTL. Ilya Kazakevich, Developer JetBrains Inc http://www.jetbrains.com "Develop with pleasure!" -Original Message- From: Mohamed SIDI [mailto:mhm.s...@gmail.com] Sent: Monday, May 16, 20

[OT] Re: error JSTL

2011-05-16 Thread Dave Newton
On Mon, May 16, 2011 at 8:14 AM, Mohamed SIDI wrote: > Static attribute must be a String literal, its illegal to specify an > expression Did you try searching the web for an answer? Sometimes just copying an error message verbatim is enough. Dave

error JSTL

2011-05-16 Thread Mohamed SIDI
Hi there, I'm using JSTL (I'm sorry if this issue is not about struts), and I have a JSP page witch contains a JSTL code : Name: ${name} Value: ${requestScope[name]} but when I want to call this page from my browser, I'

JSTL fmt:message and Struts 2 Tags Handling of MessageProperties

2010-11-23 Thread Nenad Kovacevic
I am using both JSTL (reference implementation of 1.2 spec) and struts 2.2.1 in my Web application, and I am noting incompatibilities in the way JSTL's fmt:message tag and corresponding Struts tags handle i18n. I have all i18n messages in MessageResources_.property files. Both JSTL fmt tag

Re: [S2]Accessing value stack with jstl

2009-07-01 Thread Dave Newton
nable it ? updates on this one! I debugged into org.apache.struts2.dispatcher.StrutsRequestWrapper.getAttribute(String) And the Action itself is not on the value Stack when the RequestWrapper is invoked. That's why access to the value stack with JSTL returns no Objects. I have to find

Re: [S2]Accessing value stack with jstl

2009-07-01 Thread Volker Krebs
x27;t seem to work. How can I enable it ? Hi, updates on this one! I debugged into org.apache.struts2.dispatcher.StrutsRequestWrapper.getAttribute(String) And the Action itself is not on the value Stack when the RequestWrapper is invoked. That's why access to the value stack with JSTL

Re: [S2]Accessing value stack with jstl

2009-07-01 Thread Volker Krebs
w can I enable it ? Hi, updates on this one! I debugged into org.apache.struts2.dispatcher.StrutsRequestWrapper.getAttribute(String) And the Action itself is not on the value Stack when the RequestWrapper is invoked. That's why access to the value stack with JSTL returns no Objects. I ha

Accessing value stack with jstl

2009-06-30 Thread Volker Krebs
Hello, we recently update from struts 2.0.14 to struts 2.1.6 In struts 2.0.14 org.apache.struts2.dispatcher.StrutsRequestWrapper was delegating to the Value Stack. This meant that in my JSP Page: was the same as ${foo} With struts 2.1.6 this doesn't seem to work. How can I enable it ? Any help

Re: S2.1 - struts tags vs jstl expression language

2009-01-16 Thread Norris Shelton
That works. Thanks. From: Dave Newton To: Struts Users Mailing List Sent: Friday, January 16, 2009 3:09:31 PM Subject: Re: S2.1 - struts tags vs jstl expression language Norris Shelton wrote: > I assumed that I had to use the struts tags. I noticed t

Re: S2.1 - struts tags vs jstl expression language

2009-01-16 Thread Dave Newton
Norris Shelton wrote: I assumed that I had to use the struts tags. I noticed that my > older ${} worked for my objects. Is there a compelling reason > to use the longer struts tags instead of JSTL EL? Typing practice for the angle brackets? The S2 request wrapper will map the EL reque

S2.1 - struts tags vs jstl expression language

2009-01-16 Thread Norris Shelton
I assumed that I had to use the struts tags. I noticed that my older ${} worked for my objects. Is there a compelling reason to use the longer struts tags instead of JSTL EL? Norris Shelton Software Engineer Sun Certified Java 1.1 Programmer Shelton Consulting, LLC ICQ# 26487421 AIM

[OT][JSTL] Re: value from varstatus

2008-08-16 Thread Dave Newton
${varStatus.count} (or index) or something. See the JSTL documentation [1,2]. Searching the fine web may also be of assistance [3]. Dave [1] forEach docs http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html [2] LoopTagStatus docs http://java.sun.com/products/jsp/jstl/1.1/docs

Re: Struts 2.1 tags + JSTL EL?

2008-07-15 Thread Chris Pratt
The Struts 2 Tag Libraries are completely written around OGNL and FreeMarker, which makes it hard to remove either of those technologies from the stack. I have written some tags, not based on the Struts 2 component support, that safely allow both JSTL and OGNL EL's and don't rely on

Re: Struts 2.1 tags + JSTL EL?

2008-07-15 Thread Oleg Mikheev
Chris Pratt wrote: I proposed a method of enabling JSTL EL safely a while ago, but I haven't heard anything (or had any time to actually do anything about it myself). But if they had to get rid of one of two ELs why did they decide to keep OGNL? Isn't JSTL more popular and more stand

Re: Struts 2.1 tags + JSTL EL?

2008-07-15 Thread Jeromy Evans
Oleg Mikheev wrote: Hi And, where can I find the changes between Struts 2 and 2.1? http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html Release notes and migration guides are also a good start: 2.1.2: http://struts.apache.org/2.1.2/docs/version-notes-21

Re: Struts 2.1 tags + JSTL EL?

2008-07-15 Thread Chris Pratt
I proposed a method of enabling JSTL EL safely a while ago, but I haven't heard anything (or had any time to actually do anything about it myself). As far as the documentation, there is only one set of documentation in the Wiki and it always covers the latest version, so all the document

Struts 2.1 tags + JSTL EL?

2008-07-15 Thread Oleg Mikheev
Hi Are there any plans to re-enable JSTL EL in custom tags which was disabled starting from Struts 2.0.10? And, where can I find the changes between Struts 2 and 2.1? Any 2.1 documentation available yet? Thanks, Oleg - To

Re: how to use contains function with arraylist in jstl tags

2007-11-12 Thread Wes Wannemacher
rraylist contains a particular value or not, > > i dont want to use scriplets , how it can be done using JSTL/struts tags. > > > > Thanks > > Ashish > > > > - > > To unsubscribe, e-mail: [EMAIL

Re: how to use contains function with arraylist in jstl tags

2007-11-12 Thread Wes Wannemacher
That should work. -Wes On 11/12/07, ashish shrivastava <[EMAIL PROTECTED]> wrote: > i want to check whether my arraylist contains a particular value or not, > i dont want to use scriplets , how it can be done using JSTL/struts tags. > &g

how to use contains function with arraylist in jstl tags

2007-11-12 Thread ashish shrivastava
i want to check whether my arraylist contains a particular value or not, i dont want to use scriplets , how it can be done using JSTL/struts tags. Thanks Ashish - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: Jstl and struts

2007-10-26 Thread Laurie Harper
Zhang, Larry (L.) wrote: This might be an old topic, but should we completely rule out using struts tag and move to jstl tag? JSTL is preferred over Struts1's tags where there is overlap (mostly for the logic: taglib). For Struts 1 and 2, though, there is lots of functinoality in the ta

Re: Struts 2 - compatibility between JSTL xml tags and Struts 2

2007-10-26 Thread Igor Vlasov
va:880) > > > at com.evermind[Oracle Containers for J2EE 10g > (10.1.3.3.0) > ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor > .java:303) > > at java.lang.Thread.run(Thread.java:595) > > > --- Don Brown <[E

Jstl and struts

2007-10-18 Thread Zhang, Larry (L.)
This might be an old topic, but should we completely rule out using struts tag and move to jstl tag? If not, does struts have a tag that will do anything if the filed is equal (1 or 2 or 3 or 4)? Thanks. - To unsubscribe, e-mail

Re: Struts 2 - incompatibility between JSTL xml taglibs and Struts 2 ?????

2007-09-07 Thread Don Brown
<[EMAIL PROTECTED]> ha scritto: > > > look like struts taglibs cause the NPE. unknown > > property name? > > > > > > On 9/7/07, Riccardo Mollame <[EMAIL PROTECTED]> > > wrote: > > > > > > Could any one explain why thi

Re: Struts 2 - incompatibility between JSTL xml taglibs and Struts 2 ?????

2007-09-07 Thread Riccardo Mollame
libs cause the NPE. unknown > property name? > > > On 9/7/07, Riccardo Mollame <[EMAIL PROTECTED]> > wrote: > > > > Could any one explain why this piece of code works > > fine: > > > > <%@ taglib prefix="c" > > uri="http:/

Re: Struts 2 - incompatibility between JSTL xml taglibs and Struts 2 ?????

2007-09-07 Thread MK Tan
look like struts taglibs cause the NPE. unknown property name? On 9/7/07, Riccardo Mollame <[EMAIL PROTECTED]> wrote: > > Could any one explain why this piece of code works > fine: > > <%@ taglib prefix="c" > uri="http://java.sun.com/jsp/jstl/c

Struts 2 - incompatibility between JSTL xml taglibs and Struts 2 ?????

2007-09-07 Thread Riccardo Mollame
Could any one explain why this piece of code works fine: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml"%> <%@ taglib prefix="s" uri="/struts-tags&qu

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-06 Thread Zoran Avtarovski
improved as we are using technologies we are familiar with without having to think how is this done using this particular technology We decided on JSTL, JSP EL and velocity for the display technologies as these covered every project we were working on. And we thought we were covered on the struts

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-06 Thread Ray Clough
NO! > - Original Message - > From: "Adam Hardy" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Subject: Re: Using JSTL Expression Language with Struts 2 tags > Date: Fri, 07 Sep 2007 00:42:11 +0100 > > > Is OGNL a standard

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-06 Thread Adam Hardy
Chris Pratt on 07/09/07 00:45, wrote: On 9/6/07, Adam Hardy <[EMAIL PROTECTED]> wrote: Is OGNL a standard as well as JSTL? Depends what you mean by a standard? It comes standard with Struts 2, but it was not defined by some standards organization. Sorry, for the bad question. I&#x

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-06 Thread Chris Pratt
On 9/6/07, Adam Hardy <[EMAIL PROTECTED]> wrote: > Is OGNL a standard as well as JSTL? > Depends what you mean by a standard? It comes standard with Struts 2, but it was not defined by some standards organizatio

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-06 Thread Adam Hardy
Is OGNL a standard as well as JSTL? Ray Clough on 06/09/07 23:43, wrote: My rule is: don't use the S2 tags unless I have to. Typically, if I need something from the value stack, I use an s:set tag to bring it down into the page scope, and then use JSTL and EL. Or on some pages I can us

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-06 Thread Ray Clough
My rule is: don't use the S2 tags unless I have to. Typically, if I need something from the value stack, I use an s:set tag to bring it down into the page scope, and then use JSTL and EL. Or on some pages I can use JSF tags and get rid of the problem completely. Having said that, t

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-06 Thread Kevin Lawrence
, use OGNL - else use EL If I had known that I could use EL in a struts tag, I would have... but - given the start of this thread - I am glad I did not. I use the struts tags exclusively because they are easier to use with than the JSTL tags. I would use EL exclusively (if I could) for the same

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-06 Thread Adam Hardy
Zoran, what do you want to script in the tags? I would be interested in a small example, only because I often find my use of JSTL is restricted to situations where I am not using taglibs. Which leads me to ask, if you rely on JSTL anyway, surely you use the Standard taglib tags? Adam

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-05 Thread Zoran Avtarovski
t; https://issues.apache.org/struts/browse/WW-2107 > > James > > > On Wed Sep 5 11:31 , Néstor Boscán <[EMAIL PROTECTED]> sent: > >> Hi >> >> >> >> Is there a way to use the JSTL Expression Language with Struts 2

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-05 Thread James Holmes
TED]> sent: >Hi > > > >Is there a way to use the JSTL Expression Language with Struts 2 tags > >instead of OGNL? > > > >Regards, > > > >Néstor Boscán > - To unsubscribe, e-m

Using JSTL Expression Language with Struts 2 tags

2007-09-05 Thread Néstor Boscán
Hi Is there a way to use the JSTL Expression Language with Struts 2 tags instead of OGNL? Regards, Néstor Boscán

Re: Struts 2 - compatibility between JSTL xml tags and Struts 2

2007-09-05 Thread Riccardo Mollame
te: > > Has anyone ever experienced compatibility issues > > between JSTL xml tags (i.e. and the > like) > > and Struts 2? > > I've isolated, with no ambiguity, a weird case in > a > > web application where the usual combination of > > and to load and acce

Re: Struts 2 - compatibility between JSTL xml tags and Struts 2

2007-09-05 Thread Don Brown
Could you provide the stacktrace? Don On 9/5/07, Riccardo Mollame <[EMAIL PROTECTED]> wrote: > Has anyone ever experienced compatibility issues > between JSTL xml tags (i.e. and the like) > and Struts 2? > I've isolated, with no ambiguity, a weird case in a > web a

Struts 2 - compatibility between JSTL xml tags and Struts 2

2007-09-05 Thread Riccardo Mollame
Has anyone ever experienced compatibility issues between JSTL xml tags (i.e. and the like) and Struts 2? I've isolated, with no ambiguity, a weird case in a web application where the usual combination of and to load and access an xml file in the WEB-INF directory, when invoked in a

Re: S2 substitute for jstl empty operator

2007-06-18 Thread Zoran Avtarovski
The point being empty covers all the issues (null, empty string, empty list or array). Too much sugar in our diet is my guess. Z. > --- Roberto Nunnari <[EMAIL PROTECTED]> wrote: >> ..and how's about empty strings? > > test='stringVar.length() > 0' > > d. > > > > > _

Re: S2 substitute for jstl empty operator

2007-06-18 Thread Dave Newton
--- Roberto Nunnari <[EMAIL PROTECTED]> wrote: > ..and how's about empty strings? test='stringVar.length() > 0' d. Building a website is a piece of cake. Yahoo! Small Business gives you all the tools

Re: S2 substitute for jstl empty operator

2007-06-18 Thread Roberto Nunnari
Hello Guillame. That is intended to check a List is empty, but it doesn quite substitute the empty operator.. The empty operator tests for null, empty strings and empty arrays.. I must then assume there's no single substitute? ..and how's about empty strings? Best regards. Guillaume Carré wr

Re: S2 substitute for jstl empty operator

2007-06-18 Thread Guillaume Carré
2007/6/16, Roberto Nunnari <[EMAIL PROTECTED]>: humm... it seams that: suffices for testing null.. is that the correct usage? Best practices for the original problem? have you tried this? -- Guillaume Carré - To unsubscribe

Re: S2 substitute for jstl empty operator

2007-06-16 Thread Roberto Nunnari
Roberto Nunnari wrote: Hello again.. Another question.. in JSTL I can write: ... The empty operator tests for null, empty strings and empty arrays.. if in S2 I type: ... it doesn't work. humm... it seams that: suffices for testing null.. is that the correct usage? Best practices fo

S2 substitute for jstl empty operator

2007-06-16 Thread Roberto Nunnari
Hello again.. Another question.. in JSTL I can write: ... The empty operator tests for null, empty strings and empty arrays.. if in S2 I type: ... it doesn't work. Is there in S2 a substitute for the JSTL EL operator empty? And for the ! operator? Sorry for all the questions, but I cou

RE: using jstl sql tags for displaying date from database

2007-06-05 Thread Al Sutton
2007 13:19 To: 'Struts Users Mailing List' Subject: RE: using jstl sql tags for displaying date from database Ok thanks for your reply n showing me the way. It seems you didn't get my question write. Let me explain it to you... When I query the database normally using tag I get a

RE: using jstl sql tags for displaying date from database

2007-06-05 Thread Ambaris Mohanty
ct sysdate from dual"? The whole application is based upon struts framework. I have used struts 1.2.9. I thought jstl sql tag would be a better option to execute such small query since it's very simple. So, I'm trying to get it done using jstl. Can u help? AM -Original Mes

[OT] Re: using jstl sql tags for displaying date from database

2007-06-05 Thread Oguz Kologlu
On 05/06/2007, at 9:46 PM, Ambaris Mohanty wrote: Do u have the solution or just wasting my time??? -Original Message- From: Al Sutton [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 05, 2007 5:09 PM To: 'Struts Users Mailing List' Subject: RE: using jstl sql tags for displaying

[OT] RE: using jstl sql tags for displaying date from database

2007-06-05 Thread Dave Newton
--- Ambaris Mohanty wrote: > Do u have the solution or just wasting my time??? The irony here is thick enough to slice. d. Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel a

RE: using jstl sql tags for displaying date from database

2007-06-05 Thread Al Sutton
with students when I worked at a university). -Original Message- From: Ambaris Mohanty [mailto:[EMAIL PROTECTED] Sent: 05 June 2007 12:47 To: 'Struts Users Mailing List' Subject: RE: using jstl sql tags for displaying date from database Do u have the solution or just wasting my

RE: using jstl sql tags for displaying date from database

2007-06-05 Thread Ambaris Mohanty
Do u have the solution or just wasting my time??? -Original Message- From: Al Sutton [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 05, 2007 5:09 PM To: 'Struts Users Mailing List' Subject: RE: using jstl sql tags for displaying date from database And the reason these aren'

RE: using jstl sql tags for displaying date from database

2007-06-05 Thread Al Sutton
And the reason these aren't synchronized using NTP or a similar protocol would be...? -Original Message- From: Ambaris Mohanty [mailto:[EMAIL PROTECTED] Sent: 05 June 2007 12:33 To: 'Struts Users Mailing List' Subject: RE: using jstl sql tags for displaying dat

RE: using jstl sql tags for displaying date from database

2007-06-05 Thread Ambaris Mohanty
4:54 PM To: 'Struts Users Mailing List' Subject: RE: using jstl sql tags for displaying date from database And the reason for not using the server time would be..? -Original Message- From: Ambaris Mohanty [mailto:[EMAIL PROTECTED] Sent: 05 June 2007 12:21 To: 'Strut

RE: using jstl sql tags for displaying date from database

2007-06-05 Thread Al Sutton
And the reason for not using the server time would be..? -Original Message- From: Ambaris Mohanty [mailto:[EMAIL PROTECTED] Sent: 05 June 2007 12:21 To: 'Struts Users Mailing List' Subject: RE: using jstl sql tags for displaying date from database I want to display the sa

RE: using jstl sql tags for displaying date from database

2007-06-05 Thread Ambaris Mohanty
I want to display the same time in all the client machines irrespective of their location. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 05, 2007 4:34 PM To: Struts Users Mailing List Subject: Re: using jstl sql tags for displaying date from database

Re: using jstl sql tags for displaying date from database

2007-06-05 Thread Dave Newton
--- Ambaris Mohanty wrote: > And I want that the date should come from the database. Why would you want the current date to come from the database? d. Got a little couch potato? Check out fun summer a

FW: using jstl sql tags for displaying date from database

2007-06-05 Thread Ambaris Mohanty
_ From: Ambaris Mohanty [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 05, 2007 3:16 PM To: 'user@struts.apache.org' Subject: using jstl sql tags for displaying date from database Hi all, In my web application I want to put current date into the header segment of each

using jstl sql tags for displaying date from database

2007-06-05 Thread Ambaris Mohanty
Hi all, In my web application I want to put current date into the header segment of each page. And I want that the date should come from the database. How can I achieve this using jstl 1.1 sql tags. Can anybody provide me a code snippet that I can put in my jsp page? Thank you.

Re: [S2] JSTL Advice Experience

2007-06-01 Thread John M Flinchbaugh
On Sat, Jun 02, 2007 at 12:41:28AM +1000, Zoran Avtarovski wrote: > I was wondering what people's experience has been with using JSTL as > opposed > to OGNL with regards to performance. I saw the Wiki entry for the > ActionPropertyExportInterceptor but I'm concerne

Re: [S2] JSTL Advice Experience

2007-06-01 Thread Niall Pemberton
On 6/1/07, Zoran Avtarovski <[EMAIL PROTECTED]> wrote: I was wondering what people's experience has been with using JSTL as opposed to OGNL with regards to performance. I saw the Wiki entry for the ActionPropertyExportInterceptor but I'm concerned it may have to big a

[S2] JSTL Advice Experience

2007-06-01 Thread Zoran Avtarovski
I was wondering what people's experience has been with using JSTL as opposed to OGNL with regards to performance. I saw the Wiki entry for the ActionPropertyExportInterceptor but I'm concerned it may have to big a performance hit, essentially copying the value stack elements to the req

Re: pb with struts and jstl

2007-05-28 Thread Dave Newton
--- horri khalid <[EMAIL PROTECTED]> wrote: > property="customers" > value="" > /> > so i want to know where is the problem ? It's where you nest XML, which isn't allowed. If you're in a JSP 2+ container you can use straight JSP EL, if JSP <2 you can the use the html-el tags. d.

pb with struts and jstl

2007-05-28 Thread horri khalid
Hi I use for list of checkbox with the customer ID as value. but in the output i have this so i want to know where is the problem ? Any idea is appreciated.

Re: JSTL Integration fails - S2

2007-05-22 Thread tom tom
eclise Editor still gives a warning as Unknown tag c:out also at runtime the expression is not getting evaluated. I got jstl.jar and standard.jar in the WEB-INF/lib and got the following in the top part of the jsp <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/co

Re: JSTL Integration fails - S2

2007-05-22 Thread Musachy Barroso
you also need standard.jar: http://jakarta.apache.org/site/downloads/downloads_taglibs-standard.cgi musachy On 5/22/07, tom tom <[EMAIL PROTECTED]> wrote: Hi, I just wanted to integrate some JSTL features to my existing S2 application, I followed the following steps 1)copied jstl

JSTL Integration fails - S2

2007-05-22 Thread tom tom
Hi, I just wanted to integrate some JSTL features to my existing S2 application, I followed the following steps 1)copied jstl-1.1.2.jar to WEB-INF lib directory 2)had following in the jsp <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %> <%@

RE: [S1] Is JSTL 1.1 compatible with Struts 1.2.9?

2007-04-23 Thread Crawford, Preston
Thanks! That helped. Preston -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Friday, April 20, 2007 12:24 PM To: Struts Users Mailing List Subject: Re: [S1] Is JSTL 1.1 compatible with Struts 1.2.9? On 4/19/07, Crawford, Preston <[EMAIL PROTECTED]>

Re: [S1] Is JSTL 1.1 compatible with Struts 1.2.9?

2007-04-20 Thread Wendy Smoak
On 4/19/07, Crawford, Preston <[EMAIL PROTECTED]> wrote: Anyone know? I know Struts 1.2 comes with JSTL 1.0. I read somewhere that you have to use JSTL 1.1 with a 2.4 container, which is what we have. I just need to figure out what version of JSTL we can/should run. The combinatio

Re: [S1] Is JSTL 1.1 compatible with Struts 1.2.9?

2007-04-20 Thread Niall Pemberton
On 4/20/07, Crawford, Preston <[EMAIL PROTECTED]> wrote: Anyone know? I know Struts 1.2 comes with JSTL 1.0. I read somewhere that you have to use JSTL 1.1 with a 2.4 container, which is what we have. I just need to figure out what version of JSTL we can/should run. Struts ships w

Re: [S1] Is JSTL 1.1 compatible with Struts 1.2.9?

2007-04-20 Thread Henri Yandell
ers Mailing List' Subject: [S1] Is JSTL 1.1 compatible with Struts 1.2.9? Anyone know? I know Struts 1.2 comes with JSTL 1.0. I read somewhere that you have to use JSTL 1.1 with a 2.4 container, which is what we have. I just need to figure out what version of JSTL we can/should run. Preston CONFIDE

RE: [S1] Is JSTL 1.1 compatible with Struts 1.2.9?

2007-04-20 Thread Crawford, Preston
Anyone know? Preston -Original Message- From: Crawford, Preston [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 6:39 PM To: 'Struts Users Mailing List' Subject: [S1] Is JSTL 1.1 compatible with Struts 1.2.9? Anyone know? I know Struts 1.2 comes with JSTL 1.0. I read

[S1] Is JSTL 1.1 compatible with Struts 1.2.9?

2007-04-19 Thread Crawford, Preston
Anyone know? I know Struts 1.2 comes with JSTL 1.0. I read somewhere that you have to use JSTL 1.1 with a 2.4 container, which is what we have. I just need to figure out what version of JSTL we can/should run. Preston CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for

Re: JSTL versus Struts tags

2007-04-18 Thread Laurie Harper
It's not a case of 'which is better'; they aren't directly equivalent. Some of the functionality in the Struts 1 tag libs overlaps some of the functionality in the JSTL tag libs. Both sets of tags have capabilities that are not available in the other. In general, it'

Re: JSTL versus Struts

2007-04-18 Thread Dave Newton
--- Heidy Gutiérrez Guzmán <[EMAIL PROTECTED]> wrote: > When I search information about the best practice > for programing in Struts. I find: You should to use > JSTL before the struts tags. Why? For S1, because JSTL is "more standard" and duplicates functionality fo

JSTL versus Struts

2007-04-18 Thread Heidy Gutiérrez Guzmán
When I search information about the best practice for programing in Struts. I find: You should to use JSTL before the struts tags.Why?

Re: JSTL versus Struts tags

2007-04-18 Thread Caroline Jen
In comparison of the two; namely, JSTL and Struts2 tags, which one is better? In between JSTL and Struts1 tags, I prefer JSTL. When using JSTL, I feel that I am programming. I would like to gather some opinions. Thank you. --- Dave Newton <[EMAIL PROTECTED]> wrote: > --- Heidy

  1   2   3   4   5   6   7   8   9   10   >