wood burning stoves 2.0*
The moose likes JSP and the fly likes Single page development Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Single page development" Watch "Single page development" New topic
Author

Single page development

Edward Durai
Ranch Hand

Joined: Oct 09, 2004
Posts: 223
I am developing one struts project.

Is it possible to develop add, update, delete and view operation is in one page using javascript tabs with jsp/struts/or any.

Give me some ideas.

Thanks in advance.
Edward


Thank You<br />Edward
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

How you construct the HTML and CSS to "tabify" a page is pretty much independent of back-end processing.

What's the problem you are facng?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Edward Durai
Ranch Hand

Joined: Oct 09, 2004
Posts: 223
Actually i am using DIV tag

<div class="Tabs" style="width: 350px;">
<a>Tab 1(one.jsp)</a>
<a>Tab 2(two.jsp)</a>
<a>Tab 3(three.jsp)</a>
</div>

In the same page I have a three jsp pages. If i click tab 1 particualr jsp is display in the same page. Each tab submit action occurs only the (one.jsp action)same page not the whole page.It only loads the same page(one.jsp).Please tell me how to overcome this.

Or is it possible? or not using Html Div tag ? Kindly send your reply

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

Originally posted by edward durai:
In the same page I have a three jsp pages.


I do not know what you mean by thise\. Do you mean that you are including three JSP fragments using <jsp:include>? Or do you mean you are including multiple pages using iframes?
.
Edward Durai
Ranch Hand

Joined: Oct 09, 2004
Posts: 223
i was not decided whether include or iframe.

1.if i use include tag that page will display. If i click any button on that page, which form action is called, whether main form action or include jsp form action.

2.Is it possible to view multiple pages using iframe?

My requirment is First login into one page. if login success,
one page is display named List tab;

Then if click any link of that list details, the view tab is added next to List tab.

eg.. first
---- _____
LIST | VIEW|
---- ------

Is it possible, If it is possible Kindly tell me the suggesstion whatever may be. Even single idea/clue is very much accepted.

Thanks for all Your kind reply.
Edward
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Single page development
 
Similar Threads
dynamic page
Struts-Design Problem
Response various from struts page and jsp page
Single Page Display using Struts with tabs
can struts handle multiple form in one page?