Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Single page development

 
Edward Durai
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65225
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Edward Durai
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65225
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic