User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 426,634 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,597 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 574 | Replies: 3
Join Date: Nov 2007
Posts: 2
Reputation: idgeitman is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
idgeitman idgeitman is offline Offline
Newbie Poster

Something small..

  #1  
Nov 8th, 2007
Hello,

I've been trying to figure this out but still no luck, can anyone see what im doing wrong here?, the if statement just isn't working!

Thanks,

<% String name = request.getParameter("username"); %>

<% if ("name" == null)  { %>
  <jsp:forward page = "invalid.jsp"/>

             <% } %>
AddThis Social Bookmark Button
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JSP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JSP Forum

All times are GMT -4. The time now is 12:38 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC