About Login Interceptor

2008-02-28 Thread hardik_982

hi
i have develop one little  application using struts 2.0.11 mailreader
example
in struts.xml
i have define


/Login.jsp
Welcome
MainMenu




now i have also add
in struts.xml



portfolmain.jsp


so when i click on my link it executes action portfol_main and shows login
page if i have not logged in already
but when after sucessfully it can not show me portfolmain.jsp it shows me
mainmenu.jsp
how i can set after login directly goes to portfolmain.jsp

please help
-- 
View this message in context: 
http://www.nabble.com/About-Login-Interceptor-tp15731309p15731309.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: error while try to write strtuts tags in decorater's main .jsp

2008-02-23 Thread hardik_982

it has been solved 
it generates because
i had wrote


 
sitemesh
/*



struts-cleanup
/*


   thanks again




-- 
View this message in context: 
http://www.nabble.com/error-while-try-to-write-strtuts-tags-in-decorater%27s-main-.jsp-tp15650456p15651539.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: error while try to write strtuts tags in decorater's main .jsp

2008-02-23 Thread hardik_982


http://struts.apache.org/2.x/docs/sitemesh-plugin.html
(except substitute the sitemesh PageFilter for the FreemarkerFilter is 
you use JSP)

After Reading your link
i got i have to add struts sitemesh plugin jar in our web-inf /lib directory  
and change in web.xml for sitemesh
use 
it solve my problem but gives some unwanted output ,it also filters my
main.jsp decorator and i can not see my themes applied in  main.jsp

how to solve it

thanks 



-- 
View this message in context: 
http://www.nabble.com/error-while-try-to-write-strtuts-tags-in-decorater%27s-main-.jsp-tp15650456p15651204.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: change in struts tabbedpanel style

2008-02-23 Thread hardik_982

Yes 
you are right
i can do it after removing link of tabs.css from my jsp
thanks dude
-- 
View this message in context: 
http://www.nabble.com/change-in-struts-tabbedpanel-style-tp15628786p15650868.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



error while try to write strtuts tags in decorater's main .jsp

2008-02-23 Thread hardik_982

i have decorate struts using sitemesh
and use main.jsp for that
when i try to write my any struts tags it gives error like


java.lang.NullPointerException

org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:50)

-- 
View this message in context: 
http://www.nabble.com/error-while-try-to-write-strtuts-tags-in-decorater%27s-main-.jsp-tp15650456p15650456.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: change in struts tabbedpanel style

2008-02-22 Thread hardik_982

I have use your logic like this 

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>



 

.dojoTab {
position : relative;
float : left;
padding-left : 9px;
border-bottom : 1px solid #6290d2;
background :silver;
cursor: pointer;
white-space: nowrap;
z-index: 3;
}

.dojoTab div {
display : block;
padding : 4px 15px 4px 6px;
background :silver;
color : #333;
font-size : 90%;
} 



">










  
  I'm a Tab!!!
  
  
  I'm the other Tab!!!
  
 
  

 







---

but it can not affect 
whats resason
-- 
View this message in context: 
http://www.nabble.com/change-in-struts-tabbedpanel-style-tp15628786p15632486.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: change in struts tabbedpanel style

2008-02-22 Thread hardik_982

great dude 

i have installed firebug, its amazing!

thanks 

-- 
View this message in context: 
http://www.nabble.com/change-in-struts-tabbedpanel-style-tp15628786p15632074.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: change in struts tabbedpanel style

2008-02-22 Thread hardik_982

I USE STRUTS 2.0.11
I want to say
i am completely zero in dojo
i could not understand docs of it can nt achieve to change tab style

hey i find that there is complete source available of struts 2.0.11 in
directory
basically tabs.css contain in xwork.jar
and it is built from
\struts-2.0.11\src\core\src\main\resources folder
can i remake jar after change in tabs.css

pls guide me

-- 
View this message in context: 
http://www.nabble.com/change-in-struts-tabbedpanel-style-tp15628786p15630121.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: change in struts tabbedpanel style

2008-02-21 Thread hardik_982


-->PS. The styles may be documented somewhere at www.dojotoolkit.org for 
0.4.0 but I don't recall ever seeing it.

i think you tell about
http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/themes-and-design/overriding-and-combining-themes
-- 
View this message in context: 
http://www.nabble.com/change-in-struts-tabbedpanel-style-tp15628786p15628959.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [eclipse] is it possible to debug jsp in eclipse ?

2008-02-21 Thread hardik_982

there is one another filter called spark plugin for eclipse
i dont know it is useful or not
just googling that
-- 
View this message in context: 
http://www.nabble.com/-eclipse--is-it-possible-to-debug-jsp-in-eclipse---tp15618926p15628953.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



change in struts tabbedpanel style

2008-02-21 Thread hardik_982

can anybody say
how i can change in s:tabbedpanel tabs color of tab and style
thanks in advance
-- 
View this message in context: 
http://www.nabble.com/change-in-struts-tabbedpanel-style-tp15628786p15628786.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Struts2 Session Invalidate.

2008-02-21 Thread hardik_982

try
this
((org.apache.struts2.dispatcher.SessionMap)
ActionContext.getContext().getSession()).invalidate();
-- 
View this message in context: 
http://www.nabble.com/Struts2-Session-Invalidate.-tp15627192p15628783.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: about sitemesh in struts 2.0.11

2008-02-21 Thread hardik_982

i have solved it 
it is because 
in web.xml i had wrote

 
struts2
*.do


inspite of


struts2
/*





-- 
View this message in context: 
http://www.nabble.com/about-sitemesh-in-struts-2.0.11-tp15605222p15606739.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: about sitemesh in struts 2.0.11

2008-02-21 Thread hardik_982

my page code in login.jsp
is

error at line 61 dojo is undefined
--


http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">



  
   

// Dojo configuration
djConfig = {
baseRelativePath: "/FrameWork/struts/dojo",
isDebug: true,
bindEncoding: "UTF-8",
debugAtAllCosts: true // not needed, but allows the Venkman debugger
to work with the includes
};








framework
  




















   






  dojo.require("dojo.widget.TabContainer");
  dojo.require("dojo.widget.LinkPane");
  dojo.require("dojo.widget.ContentPane");





 




Username
:





Pasword
:



















  


  








All 
Content © Copyright 2008 S.M.GROUP













please kindly help me
-- 
View this message in context: 
http://www.nabble.com/about-sitemesh-in-struts-2.0.11-tp15605222p15606446.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: about sitemesh in struts 2.0.11

2008-02-20 Thread hardik_982

First of all i want to say thanks for favorable replies
 

 does your JSP include -yes
 does your decorator include -yes


how to use FireBug (net tab) to see if the resources were found, and if so, 
examine them to see if sitemesh decorated something it should have.

i dont know about anything of firebug
-- 
View this message in context: 
http://www.nabble.com/about-sitemesh-in-struts-2.0.11-tp15605222p15606336.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: about sitemesh in struts 2.0.11

2008-02-20 Thread hardik_982

Thanks for your great advise
i have tried u say
but i think i still do any mistake
it shows javascript error on page
'dojo' is required 
do you have any idea why?


my decorater excludes
 
/styles/* 
/scripts/* 
/images/* 
/index.html
/Error.jsp 
/Login.jsp
/struts/* 
/dojo/*
 



-- 
View this message in context: 
http://www.nabble.com/about-sitemesh-in-struts-2.0.11-tp15605222p15605885.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



about sitemesh in struts 2.0.11

2008-02-20 Thread hardik_982

when  i try to use sitemesh
and use s:tabbedpanel it can not work why?
it is not give any error but tabbedpanel can not work
-- 
View this message in context: 
http://www.nabble.com/about-sitemesh-in-struts-2.0.11-tp15605222p15605222.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]