Has anyone successfully been able to integrate OAuth2 to authorize calls
made to an API built using Struts 1.3? I haven't seen any examples of this
online. Any help would be appreciated. Thanks.
Hello. Has anyone been able to successfully use to pass a value
to a Struts Action with Internet Explorer? I am using Struts 1.3.8 and the
following line of code does not work in Internet Explorer but does work in
Firefox:
Hello. I am using Struts 1.3.8. The issue is not one of making the
Javascript work (it is working correctly), but rather preventing a
Struts action from being called. Is this possible given that the
action of a form is a Struts action?
- Asad
On Sat, Mar 29, 2008 at 6:44 AM, Lukasz Lenart
<[EMA
Hello. I am validating data on the client-side using the Javascript
onsubmit event handler and this is working just fine. The problem I am
having is with trying to prevent the action from being called after
the alert window is closed. Is it possible to do this? If so, how?
Also, for client side val
How do I hide the path of links in Struts? Should I use the action
attribute of for this or is there a better way to
accomplish this?
- Asad
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
Is there a way to use Struts tags only to determine which page a user
is currently on? I know this can be done using the JSP request object
but I'd rather use Struts tags if possible. Thank you.
- Asad
-
To unsubscribe, e-mail: [
Hello. Where can I find these files for Struts 1.3.8?
- Asad
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> > default tag library.
> >
> > Sorry, I don't know the answer for Struts 1.x
> >
> > Asad Habib wrote:
> >> Hello Jeromy. What tag library are you using for this?
> >>
> >> - Asad
> >>
> >>
> >>
> >> On F
Hello Jeromy. What tag library are you using for this?
- Asad
On Feb 19, 2008 11:19 PM, Jeromy Evans <[EMAIL PROTECTED]> wrote:
> You may be able to do it with s:property, disabling escaping of the html:
>
>
>
>
> Asad Habib wrote:
> > Hello. How do I repres
Hello. How do I represent the following in a message resources file?
Representing a string literal is easy but the following string
contains a link. Can this even be done? I have used variables with the
validator before but there is no validator involved in this case.
Thank you.
Please click here
Hello Antonio. Do you have access to any examples that I could look at? Thanks.
- Asad
On Feb 12, 2008 4:27 AM, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
> 2008/2/12, Asad Habib <[EMAIL PROTECTED]>:
> >
> > Hello Antonio. Are you saying that multiple level nesti
help. Thank you.
- Asad
On Feb 12, 2008 3:10 AM, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
> 2008/2/12, Asad Habib <[EMAIL PROTECTED]>:
> >
> > Hello. I have the following definitions in place in my tiles-def.xml file:
> > ...
> > There are several laye
Hello. I have the following definitions in place in my tiles-def.xml file:
Is their a way to do this?
I have the following code but it does not work as expected:
Also, using the html:img tag like instead of
does not make a difference.
Any help would be appreciated. Thanks.
- Asad
-
To un
Hello. I have a question concerning transfer objects. If a transfer object
contains another object represented by a POJO, is this contained object
also considered a transfer object or simply an entity bean? Is their any
literature that discusses this? Any help would be appreciated. Thank you.
I know the following is not possible because the put tag does not have a
key attribute but can the same result be achieved in another way?
Any help would be greatly appreciated. Thank you.
-Asad
-
To unsubscribe, e-ma
, you 'd enable SSL.
On 10/31/06, Asad Habib <[EMAIL PROTECTED]> wrote:
What is the best way to authenticate a user with Struts? I have a table in
my database which holds the credentials for valid users and this table
needs to be checked when a user trys to log in via a form. I am
What is the best way to authenticate a user with Struts? I have a table in
my database which holds the credentials for valid users and this table
needs to be checked when a user trys to log in via a form. I am also using
Hibernate as an ORM. Any help would be appreciated. Thanks.
- Asad
-
Andreas, the second method is definitely better from the perspective of
long-term maintainence. You really need just 1 jsp to achieve the task at
hand. Also, using tags should not make the code unreadable since tags were
developed for exactly that purpose. They embed nicely with markup. If you
test would pass in known values, while Struts would pass in values
from the request.
-- HTH, Ted.
* http://www.husted.com/struts/
On 10/4/06, Asad Habib <[EMAIL PROTECTED]> wrote:
I have a Struts action which extracts field values from the request
object
and then uses these values to set th
I have a Struts action which extracts field values from the request object
and then uses these values to set the name of a file which the application
reads from. The code responsible for forming the file name currently
resides in the action. Is this the best place to put it? This code cannot
be
Hi Laurie. Actually, I am not using any method to determine the path of
the file. Should I be doing that? In general, where should one place files
used for I/O within the WAR structure? Thanks for your help.
- Asad
On Thu, 7 Sep 2006, Laurie Harper wrote:
Asad Habib wrote:
I am trying to
I am trying to read from a file using a utility class that I invoke from
an action. However, my application is unable to find the file and a
java.io.FileNotFoundException is thrown. I have tried placing the file in
/WEB-INF/classes as well as the root directory of the application however
the er
the error messages in the session.
Paul
--- Asad Habib <[EMAIL PROTECTED]> wrote:
Okay, I've finally got this working except for one piece. I use
form.validate in my action to retrieve errors placed by the Struts
Validator in the ActionErrors object. Depending on the type of error in
Ac
Okay, I've finally got this working except for one piece. I use
form.validate in my action to retrieve errors placed by the Struts
Validator in the ActionErrors object. Depending on the type of error in
ActionErrors, my action throws an exception and this in turn triggers
forwarding to a partic
Has anyone successfully used declarative exception handling with Struts?
For some reason, my application always forwards to the input attribute of
the action element instead of the path element of the exception element as
defined in my struts configuration file. I have confirmed that the error
Hello Rick. Great! Thank you for the URL. This site has a wealth of
information on it!
- Asad
On Thu, 27 Apr 2006, Rick Reumann wrote:
Asad Habib wrote:
How do I access errors that the Validator places in the ActionErrors object
instance within a Struts action? I need to do this in my
How do I access errors that the Validator places in the ActionErrors
object instance within a Struts action? I need to do this in my action
code so I can throw the appropriate kind of exception. Thanks.
- Asad
-
To unsubscribe
Does DynaValidatorForm have to be explicitly instantiated in an action?
Thanks.
- Asad
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
When using declarative exception handling, where do you create the
exception instances? In the action itself? I would like to use the
ModuleException class and pass a resource key to the constructor but
don't know where this should be accomplished. On another note, are there
any resources onlin
Yes, you're right. It is the regular expressions API originally developed
by ORO Inc. and then donated to ASF.
- Asad
On Tue, 18 Apr 2006, Dave Newton wrote:
[EMAIL PROTECTED] wrote:
Have you placed the validator jar (jakarta-oro- (somethinf).jar ) in
WEB-INF/lib?
Just for completeness
Hello. The following statement in one of my views is generating an error
at runtime:
" />
The error is as follows:
org.apache.jasper.JasperException: /test.jsp(4,54) equal symbol expected
Is it not possible to embedd tags in Struts? Any help would be
appreciated. Thank you.
- Asad
---
I ported my Struts application from Tomcat 5.5.9 to Tomcat 5.5.16. When I
ran the application, I got the following error:
org.apache.jasper.JasperException: Failed to load or instantiate
TagExtraInfo class: org.apache.struts.taglib.tiles.UseAttributeTei
org.apache.jasper.servlet.JspServletWrapp
Is there a way to associate multiple messages with a single validation
rule? In particular, I would like to associate multiple messages with the
required rule so that I can have a different message displayed depending
on the field being validated. Thanks.
- Asad
Does Struts 1.2.9 come bundled with the latest version of the validator?
- Asad
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Well, it depends on what you need to do. Struts 1.x is NOT inferior to any
other framework out there. In fact, it does what it was designed to do
perfectly. I would caution against listening to people on this list who
tell you otherwise because they dislike Struts because it does not fit all
th
Do WE think that Dakota has said his fair share and that his ideas are
STALE? Do WE think that Dakota should stop harassing others on this list?
Do WE think that too much Dakota talk is bad? Do WE think that Dakota is
talking nonsense?
Yes, indeed, WE do! Paul, I, and lots of others on this lis
On Mon, 27 Mar 2006, Dave Newton wrote:
Asad Habib wrote:
Well, your right since the date will be shared by all sessions.
However, if I go this route I will need a method to update the date
every time it changes.
You need that anyway, as a user might be on the site over the midnight hour
On Mon, 27 Mar 2006, Dave Newton wrote:
Asad Habib wrote:
What is the best way to use result beans with Struts (i.e. beans that
are not associated with a form). In particular, I have a plugin class
that's called by the Struts action servlet upon startup and this class
calculates the cu
What is the best way to use result beans with Struts (i.e. beans that are
not associated with a form). In particular, I have a plugin class that's
called by the Struts action servlet upon startup and this class calculates
the current date. This date needs to be stored in a bean having session
s
Jack, I think folks on this list have heard enough complaining and
whinning by you and others. You claim that your right of free speech is
being violated, but all I have heard from you is insults. This is a list
for professional developers, not gangsters!
Also, how are contributing by claiming
Hello everyone. This thread has gone on way too long and quite honestly
most of us are just basic Struts users who are still learning the
framework. Various points have been made and all have their merits. Is it
worth it to butcher each other over petty differences or to use our time
wisely to
Hello. Has anyone had experience integrating Swingweb or WebOnSwing with
Struts. I have a Swing application that I want to web enable and if
possible, I would like to use Struts for the controller framework. Thanks.
- Asad
-
T
What are the different ways in designing the persistence layer so that it
works with a Struts application? I am looking for a simple way to access a
database. Should I use hibernate? Are there any articles online that
discuss these alternatives and their tradeoffs? Thanks.
- Asad
Hello. I am using the select and options tags in one of my JSP pages. My
first option has the value attribute set to an empty string (i.e.
value='') and the second option has the value attribute equal to 0 (i.e.
value="0"). For some reason, when the page is accessed the first time by a
user, th
Hello. I am receiving the following error when trying to use the Struts
HTML tag library. Has anyone experienced something similar? I have
provided the stack trace below. Thanks.
- Asad
Dec 14, 2005 7:21:17 AM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Servlet.service() fo
Hello. I just wanted to let all of you that I figured this out. I had to
flush the compiled files in the Eclipse work directory and then everything
worked. Thanks.
- Asad
On Fri, 25 Nov 2005, Asad Habib wrote:
Hello. I have a web application in which I am only using the Tiles component
of
Hello. I have a web application in which I am only using the Tiles
component of Struts. Up until recently this application was running
without any errors. However, after incorporation of JNDI into this project
I get the following error:
org.apache.jasper.JasperException: Unresolved compilation
Hello Michael. Thanks for your input. Doesn't this approach defeat the
purpose of using Struts though? Simplicity is achieved but then the web
app can no longer be considered a standard Struts app, can it?
- Asad
On Wed, 16 Nov 2005, Michael Jouravlev wrote:
On 11/16/05, Asad Habib &l
Hello. I am new to Struts and would like some advice. Is it better to use
one form bean to capture data from several forms that are being submitted
in succession or to use one form bean per form (i.e. multiple form beans)?
What are the advantages or disadvantages of either approach? Also, I woul
es your testForm has a getter/setter for zipCode.
Hope this helps.
ATTA
On 10/24/05, Asad Habib <[EMAIL PROTECTED]> wrote:
Hello. I am new to Struts and currently developing a Struts application.
For some reason, form variables are not being transmitted upon form
submission and at the sam
Hello. I am new to Struts and currently developing a Struts application.
For some reason, form variables are not being transmitted upon form
submission and at the same time there is no error or stack trace that I
can reference to diagnose the error. I am not able to access the form
variables in
52 matches
Mail list logo