File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JSP
Bookmark "why page not display" Watch "why page not display" New topic

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.

<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">

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

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
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:
subject: why page not display
It's not a secret anymore!