on 05-22-2007 3:23 PM
Hi to all
I have created a jsp page in "portalApplication" project.
Now I have the first jsp that contain one form with more element and one submit button.
When i click this button i include a second jsp page with command
<%@include file="secondpage.jsp">.
I hidden the form of the first jsp.
this work very fine.
I have the problem in second jsp page.
This page contain another form with more elment and one submit button.
when i click on this button i submit the form.
The problem is that the application return to the first page and not submit the second form.
Help me please.
How coll the jsp from another jsp??
the forward page instruction don't work in my application
Hi Tardin,
In the Action of the first SUBMIT you can call the 2nd Jsp like
<FORM METHOD=POST ACTION="secondpage.jsp">
In the Action of the 2nd page SUBMIT button you can use java script to give a proper message.
Check the link.
http://www.jsptut.com/Sessions.jsp
Regards,
Mithu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
u can call a jsp from another jsp in portal application
for that u have to place the jsp page in the following location
dist->jsp(if not exists create one)
and u can refer to that jsp page like this
<% String JspURL = componentRequest.getWebResourcePath() + "/jsp/filename.jsp"; %>
Regards,
Beevin.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.