Re: Struts2 sesionExpired page

2012-01-09 Thread dhiren
SessionListen

when ever i put this code in my web.xml file it give error like

init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
Incrementally deploying http://localhost:8084/WWAtlas
Completed incremental distribution of http://localhost:8084/WWAtlas
Incrementally redeploying http://localhost:8084/WWAtlas
Start is in progress…
start?path=/WWAtlas
FAIL – Application at context path /WWAtlas could not be started
G:\Dhiren\workspace\WWAtlas\nbproject\build-impl.xml:706: The module has not
been deployed.
BUILD FAILED (total time: 3 seconds)
when i removethis its work fie
pleas any one can give me solutin for that..its very helpful for me.


--
View this message in context: 
http://struts.1045723.n5.nabble.com/Struts2-sesionExpired-page-tp3475124p5130531.html
Sent from the Struts - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Best way to use ajax loading on s:submit

2012-01-09 Thread Leonardo Almeida
Hi,

i would like to know what's the best way to load a page, when a user clicks
on the menu (ajax loading).

Im currently using struts-jquery plugin: sj:a href=editUser
targets=content/a where content is a div id.

editUser.jsp result page have a s:form with a submit button. Using
s:submit targets=content doesnt loads the page on the div,
but sj:submit targets=content works But the html generated by sj:submit
is different, and the button is not aligned to the right like s:submit.

is there a way to solve this ? Should i go with sitemesh or tiles Instead
of sticking with AJAX and CSS for laying out ?


Thanks for any help in advance,

Leonardo


Re: Struts2 sesionExpired page

2012-01-09 Thread Jeffrey Black
Are you deploying to Tomcat? Glassfish?  What version are you running?

Can you post your listener.../listener fragment here?

jb
/

On Mon, Jan 9, 2012 at 12:00 AM, dhiren solankidhiren2...@rediffmail.comwrote:

 SessionListen

 when ever i put this code in my web.xml file it give error like

 init:
 deps-module-jar:
 deps-ear-jar:
 deps-jar:
 library-inclusion-in-archive:
 library-inclusion-in-manifest:
 compile:
 compile-jsps:
 Incrementally deploying http://localhost:8084/WWAtlas
 Completed incremental distribution of http://localhost:8084/WWAtlas
 Incrementally redeploying http://localhost:8084/WWAtlas
 Start is in progress…
 start?path=/WWAtlas
 FAIL – Application at context path /WWAtlas could not be started
 G:\Dhiren\workspace\WWAtlas\nbproject\build-impl.xml:706: The module has
 not
 been deployed.
 BUILD FAILED (total time: 3 seconds)
 when i removethis its work fie
 pleas any one can give me solutin for that..its very helpful for me.


 --
 View this message in context:
 http://struts.1045723.n5.nabble.com/Struts2-sesionExpired-page-tp3475124p5130531.html
 Sent from the Struts - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




-- 
Best,

Jeffrey Black
512-537-9871
jeffrey.bl...@yahoo.com
--
Connect with me on LinkedIn: http://www.linkedin.com/in/jeffreyblack
Follow me on Twitter: http://twitter.com/jeffblack360
Check out my blog: http://jeffblack360.wordpress.com