You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Collard, John" <JC...@UtiliCorp.com> on 2001/12/11 15:15:26 UTC

Struts and dual forms help!

I think my original questions were lost due to other asking their questions
on top of it.

So, here goes again:

Ok, I'm a newbie to struts.  

My first question, where can I find a history of this mailing list.

Second:
I am attempting to put together a template like the following

 _____________________________
|  <header>                  |
 _____________________________
| <left> | <center> | <right>|
|        |          |        |
______________________________
|  <footer>                  |
______________________________

The header, left, right and footer sections are included into the form:

userMaintenance.jsp
...
<%@ include file="/nav/header.jsp" %>
<%@ include file="/nav/left.jsp" %>
...
// code for <center form> 
...
<%@ include file="/nav/right.jsp" %>
<%@ include file="/nav/footer.jsp" %>


Problem:  left.jsp contains a form that allows the user to set session
variable information. Since my forward success="/userMaintenance.jsp", none
of the code for "sessionMaintenanceAction" or "sessionMaintenanceSaveAction"
gets called.

What is a proper way to accomplish this?

Thanks,
 John Collard
 Senior Systems Analyst
 UtiliCorp United Information Technology
 email: jcollard@utilicorp.com
 
 

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Struts and dual forms help!

Posted by Krishnamoorthy <ck...@india.hp.com>.
Hi,
1. Check this link:
http://www.mail-archive.com/cgi-bin/htsearch?restrict=;exclude=;config=struts-user_jakarta_apache_org;method=and;format=short;words=Brian%20Holzer;page=1

2.Actually I couldn't understand your problem, but I will try to answer from what
i have understood from your mail:
  Just you put all your constant/static .jsp file in a single file in such a
manner that you could use your content in-between those header/footer.you can
achieve this by using the templates.I don't know why you have some problem with
those sessions.

Thanks
Kicha (tried to answer ;-)


"Collard, John" wrote:

> I think my original questions were lost due to other asking their questions
> on top of it.
>
> So, here goes again:
>
> Ok, I'm a newbie to struts.
>
> My first question, where can I find a history of this mailing list.
>
> Second:
> I am attempting to put together a template like the following
>
>  _____________________________
> |  <header>                  |
>  _____________________________
> | <left> | <center> | <right>|
> |        |          |        |
> ______________________________
> |  <footer>                  |
> ______________________________
>
> The header, left, right and footer sections are included into the form:
>
> userMaintenance.jsp
> ...
> <%@ include file="/nav/header.jsp" %>
> <%@ include file="/nav/left.jsp" %>
> ...
> // code for <center form>
> ...
> <%@ include file="/nav/right.jsp" %>
> <%@ include file="/nav/footer.jsp" %>
>
> Problem:  left.jsp contains a form that allows the user to set session
> variable information. Since my forward success="/userMaintenance.jsp", none
> of the code for "sessionMaintenanceAction" or "sessionMaintenanceSaveAction"
> gets called.
>
> What is a proper way to accomplish this?
>
> Thanks,
>  John Collard
>  Senior Systems Analyst
>  UtiliCorp United Information Technology
>  email: jcollard@utilicorp.com
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Struts and dual forms help!

Posted by Keith Bacon <ke...@yahoo.com>.
Hi John,
http://jakarta.apache.org/struts/userGuide/resources.html

has loads of info!
find 'mail archive' specifically for that.
Not experienced enough to answer your actual question.
I'd suggest look at Tiles in the archive.
hope this helps.
Keith.

--- "Collard, John" <JC...@UtiliCorp.com> wrote:
> I think my original questions were lost due to other
> asking their questions
> on top of it.
> 
> So, here goes again:
> 
> Ok, I'm a newbie to struts.  
> 
> My first question, where can I find a history of
> this mailing list.
> 
> Second:
> I am attempting to put together a template like the
> following
> 
>  _____________________________
> |  <header>                  |
>  _____________________________
> | <left> | <center> | <right>|
> |        |          |        |
> ______________________________
> |  <footer>                  |
> ______________________________
> 
> The header, left, right and footer sections are
> included into the form:
> 
> userMaintenance.jsp
> ...
> <%@ include file="/nav/header.jsp" %>
> <%@ include file="/nav/left.jsp" %>
> ...
> // code for <center form> 
> ...
> <%@ include file="/nav/right.jsp" %>
> <%@ include file="/nav/footer.jsp" %>
> 
> 
> Problem:  left.jsp contains a form that allows the
> user to set session
> variable information. Since my forward
> success="/userMaintenance.jsp", none
> of the code for "sessionMaintenanceAction" or
> "sessionMaintenanceSaveAction"
> gets called.
> 
> What is a proper way to accomplish this?
> 
> Thanks,
>  John Collard
>  Senior Systems Analyst
>  UtiliCorp United Information Technology
>  email: jcollard@utilicorp.com
>  
>  
> 
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>