Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old February 4th, 2005, 11:33 AM
Emmaja Emmaja is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 1 Emmaja User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 22 m 8 sec
Reputation Power: 0
JavaBeans

Hi,

im having problems passing input from one jsp file to another for use in a
javabean.

At the moment my code embedded in HTML looks like this

<jsp:useBean id="Logon" class="Beans.Logon" scope="session">
<jsp:setProperty name = "Logon" property = "username" value = "<%
=request.getParameter("Username")%>"/>
<jsp:setProperty name = "Logon" property = "stu_password" value = "<%
=request.getParameter("Password")%>"/>
</jsp:useBean>

i think the problem is with the value??

Thanks!

Reply With Quote
  #2  
Old April 13th, 2005, 01:06 AM
dejaone dejaone is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 34 dejaone User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 47 m 11 sec
Reputation Power: 4
could be a configuration issue too.

Reply With Quote
  #3  
Old April 13th, 2005, 08:25 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
Is it possible to output the values in the request object before you set them in the bean?

<p>The username is <%=request.getParameter("Username")%>!</p>
<p>The password is <%=request.getParameter("Password")%>!</p>

Otherwise, the problem might lie in the script that's calling this script.

Try accessing the page using page.jsp?username=One&password=Two

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Development > JavaBeans


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway