2010/1/13 Stephen Ince :
> WEB-INF/classes/struts.xml
> value="org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequestx"
> />
Take a look on struts-default.xml, you have to define bean and then constant
Regards
--
Lukasz
Kapituła Javarsovia 2010
http://javarsovia.pl
---
Hi,
I am using struts2 version 2.1.8.1 and I am trying to set the
struts.multipart.parser property. I can't seem to set it. I have tried
every where, one place at a time.
This is what I have tried.
WEB-INF/classes/struts.xml
WEB-INF/classes/struts.properties
struts.multipart.parser=or
I've had quite a few issues with EL moving from Servlet 2.3 to 2.4 (JBOSS
4.0 to 4.2). I have worked out my straight JSTL issues by changing my
taglib definitions, but my struts tags that use EL are not working
correctly. This project started out using Struts 1.1 then I added the
struts-el.jar to
Implement interface ParameterAware: if the "resource" key is not in
the parameter map, then the variable was set by other means than input
parameters.
2010/1/12 JOSE L MARTINEZ-AVIAL :
> Distinguish between request parameters and struts.xml parameters in Struts2
>
> Hi all,
> I'm trying to disti
Distinguish between request parameters and struts.xml parameters in Struts2
Hi all,
I'm trying to distinguish the parameters that come from the request from
those that come from the params defined in the struts.xml. For example, I
have the following mapping in my struts.xml
http://struts.apache.org/2.1.8.1/docs/optgroup.html
2010/1/12 Emi Lu :
> Good afternoon,
>
> Could someone tell me how struts2 support "optgroup" please?
>
> Thanks a lot!
> --
> Lu Ying
>
>
>
>
> Sydney
> Melbourne
>
>
> Cromwell
> Queenstown
>
>
>
>
Seems it is not S2 related. This exception is raised when some
dependency is not found by the JVM. Note that in addition to be
available in your build path, the dependency must be available at
runtime too (usually inside the WEB-INF/lib folder)
2010/1/12 fireapple :
>
> In project1, I include proj
Hi folks,
I'm just having a review of ZK framework and I want to know if there is a
tip, tutorial, etc about how to integrate Struts 2 with ZK.
Thanks in advance
--
Rafael Taboada
Software Engineer
Cell : +511-992741026
"No creo en el destino pues no me gusta tener la idea de controlar mi vid
Good afternoon,
Could someone tell me how struts2 support "optgroup" please?
Thanks a lot!
--
Lu Ying
Sydney
Melbourne
Cromwell
Queenstown
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional comm
I am retrieving images from Action class onto jsp using
img src=">
I have to pass imageid, which should be used in the Action class to return a
particular book. I am able to retrieve images but not able to pass this
value to Action class. How can I achieve this?I do not have any forms in my
JSP.
In project1, I include project2 in order to use interfaces (interface A, B,
C, D.) of project2.
However, the system always claim java.lang.NoClassDefFoundError for
interface of project2.
I also exported project2 to a JAR and include it in project1's build path,
still no luck.
I tried 3 of my
Is your custom interceptor _before_ the exception interceptor in your
interceptor stack? If that's the case, then the exception interceptor
is not "catching" exceptions from your interceptor because it executes
after.
2010/1/12 :
> Hello,
>
> I've defined a global exception mapping and global res
Hello,
I've defined a global exception mapping and global result, when Exception
happen it will go to my custom error page. It work fine in Action if Action
throw any exception. But if my interceptor throw exception, it won't go to my
error page.
Is there anyway to make it work?
Thanks
LV
You can create a class that implements HttpSessionListener [1] and
there register active user session in some global variable (bad idea).
Or create custom interceptor that will all the time verify if given
user is locked and forward him to appropriated page.
[1]
http://java.sun.com/j2ee/sdk_1.3/t
Hello All,
I have a Web application where I handle the logged in status with some
variable in the session. I have some actions for the Administrator where we
can control if a particular user account is locked or not. My problem is
that if a user loges in and after that the admin locks the accou
I don't know if you can make this work.
IIRC, interceptor instances are created one by interceptor stack, so
the same instance is shared by all requests that go through that
stack. This makes the interceptor (at best) serialize all requests in
its wait-notify cycle. However, I think it is buggy si
I have seen this syntax, I am not sure how to use it for my purpose. I get
id's from an sql query. I am retrieving them in a list and need to pass them
one by one to the action class. How to set them so that I can pass them as
params to the Action class? Also my code is like
"
style="margin-right
Hi,
I can´t change the Tomcat, and i don´t think that change the Tomcat will
help me to accomplish the feature that i want.
My action does several call's to a external API, and i want to ensure
that all the call's won't exceed the time that i defined in the timeout.
Changing the Tomcat, will
en
English
Aruna Ponaka wrote:
>
> what is the correct syntax to provide in the VALUE?
>
>
>
--
View this message in context:
http://old.nabble.com/How-to-use-%3Cs%3Aparam%3E-tag-tp27117122p27125733.html
Sent from the Struts - User mailing list archive
19 matches
Mail list logo