I want to create a three tab in jsp using struts 2 and
call 3 separate jsp for each tab any one give the example
Thanks and Regards,
Karthick G
Mobile:8971318927
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any at
Any One tell me how to do field validation in struts 2,
i need to show the error message on top of the each field not in top of the
screen.
Thanks and Regards,
Karthick G
Mobile:9911597083
Please do not print this email unless it is absolutely necessary.
The information contained in this elect
How can I set session timeout at runtime for struts 2. Does
HttpSession.setMaxInactiveInterval work? If yes ,where do I need to set it?
Thanks
Ashutosh
can you show the generated html file?
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Hello Dave, Tito; thanks for answering
Apparently there was a problem for the file extensions; I attach
the example
code.
I hope this information serve to you can help me identify the problem.
Thanks in advance,
2010/12/27 tito
> You forgot to attach the code.
>
> On 12/28/10,
You forgot to attach the code.
On 12/28/10, Dave Newton wrote:
> No code, no help. Struts doesn't know about HTML, so a property's location
> in the DOM is unlikely to be the problem-but we have zero clue regarding
> your implementation, so I'm not sure what kind of help you expect.
>
> Dave
> O
No code, no help. Struts doesn't know about HTML, so a property's location
in the DOM is unlikely to be the problem-but we have zero clue regarding
your implementation, so I'm not sure what kind of help you expect.
Dave
On Dec 27, 2010 4:28 PM, "developer researcher" <
java.developer.researc...@g
Hello,
I have problems to map fields value when the fields are within elements
. As example attached an JSP page, this jsp have three fields
(campo1,campo2 and campo3). When I trying of print the values of these
fields from the corresponding action, the following is displayed: "Campo1:
n
Yes, there's a default package, and its value is shown in the documentation
for the Convention plugin IIRC (which I may very well not, and I'm
struggling w/ limited Verizon connectivity on my Google CR-48 laptop at the
moment.)
Dave
(Like I how I just snuck in that part about the Google laptop? M
On Mon, Dec 27, 2010 at 1:05 PM, Dave Newton wrote:
> It *is* the default namespace, but almost always ends up being confusing at
> some point. The minimal namespace I recommend is "/".
OK.. that makes sense.
> There's no direct relationship between package and namespace other than a
> package h
It *is* the default namespace, but almost always ends up being confusing at
some point. The minimal namespace I recommend is "/".
There's no direct relationship between package and namespace other than a
package has a namespace--I always figured it was to allow decoupling of
paths and packages.
D
On Mon, Dec 27, 2010 at 11:21 AM, Maurizio Cucchiara
wrote:
> Did you try ParentPackage Annotation?
> Also I'm not sure that empty string for namespace is the best value.
No.
I put them in the same package to get them working and figured I could
experiment from there.
I'm still a little confuse
Did you try ParentPackage Annotation?
Also I'm not sure that empty string for namespace is the best value.
Maurizio Cucchiara
On Dec 27, 2010 4:12 PM, "Greg Akins" wrote:
> Having trouble getting interceptors to work. I think it's because my
> namespace and packages aren't aligned correctly. Usi
Check them in the response, not in the request.
Sent via BlackBerry from T-Mobile
-Original Message-
From: "Amit Oberoi"
Date: Mon, 27 Dec 2010 21:09:48
To: Struts Users Mailing List
Reply-To: "Struts Users Mailing List"
Subject: RE: prompting me to download the jsp file rather then
d
Jlmagc,
I tried to view the request headers on the Netbeans 7.0 HTTP monitor.
Below is what I get for the attribute accept
"image/jpeg, application/x-ms-application, image/gif, application/xaml+xml,
image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel,
application/vnd.ms-powerpoint, ap
Having trouble getting interceptors to work. I think it's because my
namespace and packages aren't aligned correctly. Using Convention
plugin and when I start the app I get an error that ref-name can't be
found.
My interceptor is defined in struts.xml
Check with a proxy(I use Paros) and see the headers thayt you are receiving.
Sent via BlackBerry from T-Mobile
-Original Message-
From: "Amit Oberoi"
Date: Mon, 27 Dec 2010 20:22:26
To: Struts Users Mailing List
Reply-To: "Struts Users Mailing List"
Subject: prompting me to download th
All,
Any suggestions in reference to below email will be helpful; I am not able to
dig to the root cause of this issue.
Regards
Amit Oberoi
To: Struts Users Mailing List
Subject: prompting me to download the jsp file
Hi,
Probably I'll top the list for seeking dumb advices
I had my head scr
On Mon, Dec 27, 2010 at 8:36 AM, Jordi Fernandez
wrote:
> Have you considered Spring Security?
> http://static.springsource.org/spring-security/site/
No.. I'll have to read a bit more; but my first guess is that I'd have
to do some refactoring of some legacy code ( I need to use the same
underlyi
On Mon, Dec 27, 2010 at 8:59 AM, Dave Newton wrote:
> (Let me clarify slightly.)
>
OK, I think I understand. The Interceptor should check if the session
is authenticated, but should perform the Login. That's what I would
have done, so maybe that's what confused me.
Thanks for clearing that up.
(Let me clarify slightly.)
On Mon, Dec 27, 2010 at 8:38 AM, Dave Newton wrote:
> Why/how did it confuse you? Login shouldn't be /performed/ by an
> interceptor, an interceptor should check if a user has logged in for a given
> resource and if not redirect to a login page.
>
> The /action/ of log
Why/how did it confuse you? Login shouldn't be /performed/ by an
interceptor, an interceptor should check if a user has logged in for a given
resource and if not redirect to a login page.
The /action/ of logging in should be performed by an action.
I guess I'm not sure what you're trying to figur
Have you considered Spring Security?
http://static.springsource.org/spring-security/site/
On 27/12/2010 14:17, Greg Akins wrote:
I'm just starting to research the appropriate Struts2 way to do
Authorization/Authentication.
Looks like a LoginInterceptor on the default stack is the way to go
(th
I'm just starting to research the appropriate Struts2 way to do
Authorization/Authentication.
Looks like a LoginInterceptor on the default stack is the way to go
(though I found a post at javaranch, by Dave Newton -
http://www.coderanch.com/t/438760/Struts/Struts-Authentication-Authorization
- th
2010/12/27
> That's right. I don't have access to the code now, but I will try to send
> it later. Check the syntax, I'm sure you will find some
No hurry. :) Thanks.
> examples
> Sent via BlackBerry from T-Mobile
>
> -Original Message-
> From: maven apache
> Date: Mon, 27 Dec 2010 2
That's right. I don't have access to the code now, but I will try to send it
later. Check the syntax, I'm sure you will find some examples
Sent via BlackBerry from T-Mobile
-Original Message-
From: maven apache
Date: Mon, 27 Dec 2010 20:42:15
To: Struts Users Mailing List
Reply-To: "Str
2010/12/27
> I do the same, but with an excel, and I'm able to write the excel direclty
> to an input stream. I don't know about word, but I suppouse it would be the
> same. Also, I think you can set a getFileName method in the action, and it
> can be used as follows
>
>
write the excel direclty
I do the same, but with an excel, and I'm able to write the excel direclty to
an input stream. I don't know about word, but I suppouse it would be the same.
Also, I think you can set a getFileName method in the action, and it can be
used as follows
attachment;filename="{fileName}"
Sent via Blac
Hi:
In myapplication,I have to generate a ms-word file(I use the apache poi).
1)first I save the generated file to disk.
2)set the inputstream according to the file.Of course,the action result type
is already set to stream.
here is a exmapleI found about file downing:
http://www.mkyong.com/struts2
29 matches
Mail list logo