This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes why page not display Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "why page not display" Watch "why page not display" New topic
Author

why page not display

Kia Phia Ben
Ranch Hand

Joined: Dec 16, 2005
Posts: 48
Hi all
I have two jsp page.
first page: login.jsp.

<html>
<head><title>Simple jsp page</title></head>
<body>Place your content here
<form action="https://localhost:7001/MyWebApp/get.jsp" method="post">
<input type="text" name="username">
<input type="password" name="passwd">
<input type="submit" value="OK">
</form>
</body>
</html>

and second page: get.jsp
<html>
<head><title>Simple jsp page</title></head>
<body>
<%
String username = request.getParameter("username");
String passwd = request.getParameter("passwd");
%>
<%=username%>
<%=passwd%>
</body>
</html>

Every tell me why the get.jsp not dispay after I input username,password and
click button Ok in login.jsp.
Thank for help me.
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
What's the error you are getting?
Shyam Kasthala
Ranch Hand

Joined: Mar 30, 2006
Posts: 48
Hi,
In the action tag of login.jsp, u have given "https" instead of http.Bye


Thanks & Regards<br /> Shyam Kasthala<br />ILFS Infotech Limited
Vishnu Prakash
Ranch Hand

Joined: Nov 15, 2004
Posts: 1026

In the action tag of login.jsp, u have given "https" instead of http.Bye


To use HTTPS you got to make certain changes in the container. Search this forum and servlet forum with "https". You will get appropriate links.


Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1 - JSTL Tag Documentation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why page not display
 
Similar Threads
Can't get parameter from request
SessionServlet and Login.jsp
Session code doesn't get executed in jsp
Need help with jsp page so that it calls a good working bean
JSP Tag Error