Control Access

2003-03-19 Thread mahesh kagitha

Can any one please explain  the following...

I'm developing an application which has login page(JSP) to access the application and 
I should allow only the successfully logged in users to navigate my application 
otherwise  direct  to login page. My question here is... How can I do that.?

 

Thanks in Advance.

 



-
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!

RE: Control Access

2003-03-19 Thread mahesh kagitha

Hi Siva,
   My question about navigation of successful/unsuccessful users...If I directly 
access  any JSP other than login.jsp, then I should be redirected to login.jsp , a way 
of forcing user to authorization.
Thanks 
mahesh.
 
 Jagadeesan,Sivakumar [EMAIL PROTECTED] wrote:Hi Mahesh:

This is pretty simple when using struts.
Have the Login Page to Submit to Login Action.
Configure in the Struts-Config.xml the action mapping for LoginAction as
SUCCESS --- Index.html
FAILURE --- Login.jsp

In the Login Action return SUCCESS if the login succeeds or return FAILURE
if the login fails

I am sorry I was in hurry so not able to give any code example. Let me know
if I am not that clear
--Siva

-Original Message-
From: mahesh kagitha [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 2:49 PM
To: [EMAIL PROTECTED]
Subject: Control Access 



Can any one please explain the following...

I'm developing an application which has login page(JSP) to access the
application and I should allow only the successfully logged in users to
navigate my application otherwise direct to login page. My question here
is... How can I do that.?



Thanks in Advance.





-
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!

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



-
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!

Can I use include tag to execute a form with in a form.

2003-02-05 Thread mahesh kagitha

Hi,

 I've two JSP's and I wanted to execute both the JSPs in a single shot

Scenario I have is of following.

I have  a file order.jsp  for which action and form bean are available  . My question 
here is I wanted to separate shipping address information from order.jsp so, I have 
created another file shipping.jsp for which action and form bean are created

So, can I use include tag to execute shipping.jsp in order.jsp.

jsp:include page=/shipping.do flush=true
jsp:param name=pageName value=order_history/
   /jsp:include 

 

 Thanks in advance!

mahesh!



-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now


How Can I use include tag to execute a form with in a form.

2003-02-05 Thread mahesh kagitha

Hi,

I've two JSP's and I wanted to execute both the JSPs in a single 
shot

Scenario :

I have  a file order.jsp  for which action and form bean are available  
. My question here is, I wanted to separate shipping address information 
from order.jsp.  so, I have created another file shipping.jsp for which 
action and form bean are created

So, can I use include tag to execute shipping.jsp in order.jsp.

jsp:include page=/shipping.do flush=true
jsp:param name=pageName value=order_history/
   /jsp:include 



Thanks in advance!

mahesh!







-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now


Re: Is there a List navigater Tag to use with struts ? (fwd)

2003-01-31 Thread mahesh kagitha

Hi,
I would like to implement pagenation and sorting in my application(struts). Could you 
please direct me to get the desired by using your source code...Appreciate your help .
 
Thanks
mahesh!
 John York [EMAIL PROTECTED] wrote:
Hi, I just noticed this message about paging tags posted on the archive 
for struts-user. I was using Ed Hill's display taglib for doing this sort 
of thing in the past, but it wasn't flexible enough for me, so I ended up 
completely rewriting it. I've been in the process of putting a proposal 
together for it to submit to Jakarta Taglibs, but I thought I'd mention it 
here.

For a very simple test, check this out:

http://www.johnyork.com/table/test.jsp

For the jar and tld file, download here:

http://www.johnyork.com/table/table.tar.gz


I added many features to the list that Ed Hill had including exporting 
options and CSV download. You can logic taglibs within this tag 
so that you can optionally display certains columns. You can also easily 
add links within the columns by just specifying content in the body of the 
tags. The code is written fairly flexibly and should allow very easy 
extension to most common tasks. I would like to get this submitted to 
Jakarta. Can anyone guide me along the right path?

If anyone is interesting in the source code, I can send you a link to it. 
Just let me know.

Thanks,
John





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



-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now


RE: How can I retrieve Parameter from Action Bean to JSP ?

2003-01-30 Thread mahesh kagitha

Hi,
  I'm using only struts tags and we are not using JSTL tags for our project. How can I 
retrieve parameter value into JSP for displaying purposes.
Thanks
Mahesh!
 John Espey [EMAIL PROTECTED] wrote:If you just want to output it, you could use the 
JSTL core:out tag,
something like this:
. The form should be available in
the request scope as an attribute with the name specified in your struts
config file.

It doesn't look like the bean:write tag was ported to EL, otherwise you
would be able to use that.



-Original Message-
From: mahesh kagitha [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 9:08 PM
To: [EMAIL PROTECTED]
Subject: How can I retrieve Parameter from Action Bean to JSP ?



Hi,

I have a quick dumb question...please help me out.

I'm setting a parameter recordNumber(assigning String value) in an Action
Bean..to the Form(e.g : myForm.setRecordNumber=gy234). My question here is
to get the parameter value in the JSP(after forwarding). I wanted to display
the above parameter in the JSP 

Any thoughts ...Thanks in Advancemahesh!





-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now


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



-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now


How can I retrieve Parameter from Action Bean to JSP ?

2003-01-29 Thread mahesh kagitha

Hi,

 I have a quick dumb question...please help me out.

 I'm setting a parameter recordNumber(assigning String value) in an Action Bean..to 
the Form(e.g : myForm.setRecordNumber=gy234). My question here is to get the 
parameter value in the JSP(after forwarding). I wanted to display the above parameter 
in the JSP 

Any thoughts ...Thanks in Advancemahesh!

 



-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now