Re: no Action mapped for namespace / and action name doLogin.

2009-11-24 Thread vikrant S
No configuration found for the specified action under struts2.0.11 Hi all, I am using jboss v5.0 and my login.jsp is %@ taglib prefix="s" uri="/struts-tags" %> Struts 2 Login Application " rel="stylesheet" type="text/css"/> Login

RE: struts.i18n.encoding

2009-11-24 Thread carl ballantyne
Thanks but I actually found the solution (for GlassFish 2.1) and posted a reply to the list a few days back now. Just search the archive and you should see it. Cheers for the suggestion though. Quoting "Raghuveer.V" : Use following in JSP page. You should get with all default properties.

RE: struts.i18n.encoding

2009-11-24 Thread Raghuveer.V
Use following in JSP page. You should get with all default properties. By default in tomcat it is ISO-8859-1 <%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %> In worst case test some thing like this in your action file. String strTemp=new String(strProperty.getBytes("ISO-8

no Action mapped for namespace / and action name doLogin.

2009-11-24 Thread vikrant S
Hi All, I am working in application using struts-EJB-hibernate But when I am running the this login application it is not able to find the action class. The Error Which I am getting is as follows:- There is no Action mapped for namespace / and action name doLogin. - [unknown location] a

Re: Dealing / determining lost session in Struts application

2009-11-24 Thread Paul Benedict
None of the errors you're seeing in Struts purely indicate a lost of the session. I mean, sure, it could be one cause, but I wouldn't bet my architecture on it. Use a servlet filter. Paul On Tue, Nov 24, 2009 at 11:38 PM, Saeed Iqbal wrote: > Isnt it that you want try catch block instead of thro

Re: Dealing / determining lost session in Struts application

2009-11-24 Thread Saeed Iqbal
Isnt it that you want try catch block instead of throw'ing exceptions to be able to nicely handle errors. On Wed, Nov 25, 2009 at 11:16 AM, Paul Benedict wrote: > Dave is correct. In fact, that's not a kludge but a pretty official > way of doing things. > > http://forums.sun.com/thread.jspa?forum

Re: Dealing / determining lost session in Struts application

2009-11-24 Thread Paul Benedict
Dave is correct. In fact, that's not a kludge but a pretty official way of doing things. http://forums.sun.com/thread.jspa?forumID=427&threadID=523120 Paul On Tue, Nov 24, 2009 at 12:38 PM, Kawczynski, David wrote: > How about this kludge: > > the filter checks session isNew() > and checks the

Re: Where does Struts looks for Validation xml file?

2009-11-24 Thread KamHon Eng
during redeploy, do you clean up compiled folder(classes folder)? I believe the SubmitUserAction-validation.xml still there. On Wed, Nov 25, 2009 at 2:22 AM, james billa wrote: > I have a JSP page with two fields user name, college name and a submit > button.  I have a xml validation file SubmitU

Re: Folder Upload

2009-11-24 Thread Greg Lindholm
No, it's an HTML limitation, most you can do is one file (per input tag) at a time. To get a whole folder you will need something that runs on the client (in the browser). You can't use Javascript either, security restrictions prevent it from messing with the input tag. On Tue, Nov 24, 2009 at 1:4

Folder Upload

2009-11-24 Thread jayakumar ala
Hi All, Is there anyway we can be able to upload a folder using struts2 + jsp or struts2+other way. I don't want to use applets or flash. Any help is appreciated. Thanks Jay

RE: Dealing / determining lost session in Struts application

2009-11-24 Thread Kawczynski, David
How about this kludge: the filter checks session isNew() and checks the referring domain -- if it's null or not your own domain, send them to the login screen. Otherwise send them to the session timeout screen. > -Original Message- > From: Himstedt, Maik (EXTERN: T-Systems on) > [mail

Where does Struts looks for Validation xml file?

2009-11-24 Thread james billa
I have a JSP page with two fields user name, college name and a submit button. I have a xml validation file SubmitUserAction-validation.xml to validate both the fields on the screen. The action is mapped to SubmitUserAction. On clicking the submit button it gets executed executed successfully and

Problem using swing with struts

2009-11-24 Thread sugantha
Hello all.. I am developing an application where I use struts 2 and an applet based client side... >From the applet, I create an ObjectOutputStream to write the parameters to the struts action.. and for invoking the struts action, I create an ObjectInputStream by specifying the URL in the followin

Dealing / determining lost session in Struts application

2009-11-24 Thread Himstedt, Maik (EXTERN: T-Systems on)
Hi, I'm tasked with killing a bug related to session management and Struts 1.3.10 in a rather conventional JEE web application. The problem is that after the session times out, the application throws a rather ugly exception, something like: 2009-11-04 11:45:46,803 ERROR de.mypackage.ipad.util.

Re: What may cause ognl.InappropriateExpressionException warning ?

2009-11-24 Thread jsubei
Ok, I've configured the struts.xml as you say (directly in the defaultStack for me) and it's perfect ! Thank you a lot ! Regards, Norbert Oscar Calderón-2 wrote: > > As Musachy says, you could ignore it in the params interceptor in this > way: > > > > d-\d+?-[s