| | |
How to redirect a page in JSP
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Nov 2009
Posts: 2
Reputation:
Solved Threads: 0
•
•
•
•
That's great, but since you're trying to teach us how NOT to use scriptlets, I'd love to know the right way to do this.
<%
response.sendRedirect("someUrl");
%>
Please share.
I'm much more a C# person than Java these days and the Java I did do was on an old crappy server that didn't fully support JSTL, so I have no idea how else you would do this. This is what Sun had on its site. Please tell me the better way to do this so I know for future reference.
_______________________________________________________ Reply from shobana
----------------------------------------------------------------------------------
Your code helped me a lot..
Thank you
0
#12 Nov 2nd, 2009
JSP Syntax (Toggle Plain Text)
<c:redirect url="http:www.someurl.com" />
Life... Is a Moment
![]() |
Similar Threads
Other Threads in the JSP Forum
- Previous Thread: How to insert data into database?
- Next Thread: Session.isNew() problem
Views: 48373 | Replies: 11
| Thread Tools | Search this Thread |
Tag cloud for JSP
apache array backbutton combobox comma connection csv database development directorystructure dropdownlist dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 mysql netbeans network parameters passing ping printinserverinsteadofclient project read redirect request.getparameter response seperated servlet servletdopost()readxml sessions software sql ssl state_saving_method stocks sun tomcat tutorial update values video web write






