Package level Variable

2008-06-19 Thread Prashant Saraf
Hi, Can we create a variable which can be access at package level? If use exit from package level then that variable get removed from session. Regards Prashant Saraf

Single user Login

2008-06-05 Thread Prashant Saraf
Hi, I want to know how to do single user login, that is user should not login form multiple location at the same time. Regards, Prashant Saraf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: Single user Login

2008-06-05 Thread Prashant Saraf
depends on how you are currently managing authentication. How are you currently managing authentication? On Thu, Jun 5, 2008 at 9:33 AM, Prashant Saraf [EMAIL PROTECTED] wrote: Hi, I want to know how to do single user login, that is user should not login form multiple location at the same time

RE: Single user Login

2008-06-05 Thread Prashant Saraf
Does anyone know how to do it? -Original Message- From: Prashant Saraf [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 7:14 PM To: Struts Users Mailing List Subject: RE: Single user Login Hi , I am managing it by DB check. My Helper class is checking either user is valid

RE: Single user Login

2008-06-05 Thread Prashant Saraf
, and then compare the user who's trying to log in to that set of userids. The complexity you'll get there is removing the userid from the application scope when the user's session times out or he logs out. jk On Thu, Jun 5, 2008 at 12:58 PM, Prashant Saraf [EMAIL PROTECTED] wrote: Does anyone know how to do

POJO Action Class

2008-04-12 Thread Prashant Saraf
Hi, Hi I am new to Struts 2, I created a POJO Class, but freamwrok gives error on it. How to define Pojo Action Class? Error says : Action class not found here is my class : /** * */ package com.prayog.apps; /** * @author Administrator * */ public class LoginUser { private String

RE: POJO Action Class

2008-04-12 Thread Prashant Saraf
sure here is my Struts.xml !DOCTYPE struts PUBLIC -//Apache Software Foundation//DTD Struts Configuration 2.0//EN http://struts.apache.org/dtds/struts-2.0.dtd; struts package name=default extends=struts-default action name=HelloWorld resulthelloWorld.jsp/result /action action

RE: POJO Action Class

2008-04-12 Thread Prashant Saraf
Thanks for the reply, It comes when container starts, i had created a caller jsp which put user name and password. in LoginUser.java i m checking. either the user-name password are correct. if correct forward to success page, else send to same login page. Here is strack trace. SEVERE:

RE: POJO Action Class

2008-04-12 Thread Prashant Saraf
User. (*Chris*) On Sat, Apr 12, 2008 at 11:53 AM, Prashant Saraf [EMAIL PROTECTED] wrote: Thanks for the reply, It comes when container starts, i had created a caller jsp which put user name and password. in LoginUser.java i m checking. either the user-name password are correct

RE: POJO Action Class

2008-04-12 Thread Prashant Saraf
Users Mailing List Subject: Re: POJO Action Class Look carefully at the first line of the output. You have misspelled User. (*Chris*) On Sat, Apr 12, 2008 at 11:53 AM, Prashant Saraf [EMAIL PROTECTED] wrote: Thanks for the reply, It comes when container starts, i had created a caller jsp

RE: POJO Action Class

2008-04-12 Thread Prashant Saraf
no only java file is there!! From: Lukasz Lenart [mailto:[EMAIL PROTECTED] Sent: Sun 4/13/2008 1:07 AM To: Struts Users Mailing List Subject: Re: POJO Action Class Hi, Try to look into

RE: POJO Action Class

2008-04-12 Thread Prashant Saraf
hi, i changed the build path in eclipse to HelloWorld/WebContent/WEB-INF/classes and checked in C:/ide/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/HelloWorld/WEB-INF/classes/ now there are class files. Still getting same error :(

Use of ExtJS

2008-03-26 Thread Prashant Saraf
Hi, Can we use ExtJS with Struts 2 Tags? Regards, Prashant. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

eclipse and struts 2

2008-03-26 Thread Prashant Saraf
Hi, I am using eclipse for creating struts 2 application. I have few doubts. 1. does it is necessary to put all pojo classes(action/form) into WEB-INF/classes/appName? 2. can someone provide project structure of struts 2 project in eclipse?

about nested:write and Html

2007-02-26 Thread Prashant Saraf
Hi I am using nested:write for print some text that has some html code. in browser it shows code and not the code effect. how to do that. -- Cup of Java + Suger of XML = Secure WebApp

need help in Tag-lib

2006-11-24 Thread Prashant Saraf
Hi all.. I had following problem c:forEach var=data items=${requestScope.List} tr c:forEach var=datain items=${data} c:choose c:when test='${datain0}' c:set value=${datain} scope=session