Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 18th, 2003, 08:55 PM
JulieH JulieH is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 17 JulieH User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
how to update a tag?

Hi All,

I am running JDeveloper and is running into this error:

Error(123):jsp:param is not a registered tag in that namespace.

This is the line that it's complaining about:
Code:
<jsp:param name="projectShortName" value="<%= projectShortName %>"/>


How can I register this tag? I suppose I am running JSP 1.1, so how can I get 1.2?

Many Thanks!

-julie

Reply With Quote
  #2  
Old July 20th, 2003, 08:57 PM
Nemi Nemi is offline
Clueless llama
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Feb 2001
Location: Lincoln, NE. USA
Posts: 2,353 Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Days 12 h 35 m 19 sec
Reputation Power: 111
Can you post your jsp?

Reply With Quote
  #3  
Old July 21st, 2003, 03:02 AM
JulieH JulieH is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 17 JulieH User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi Nemi,

Thanks for replying!!

The jsp is fairly long, but here is a section of it:
Code:
	} else if (request.getParameter("UpdateRequest") != null) {
%>

		<jsp:setProperty name="prodRequest" property="*"  /> 

<%
		Date date = new Date();
		prodRequest.setProjectShortName(projectShortName);
		prodRequest.setModifiedBy(request.getRemoteUser());
		prodRequest.setModifiedDate(date);

		try {
			modifyProject(prodRequest);  // prodRequest has all the info now
%>
		<jsp:forward page="/Am_ProdStatus.jsp" /> 
			<jsp:param name="projectShortName" value="<%= projectShortName %>"/>
			<jsp:param name="envType" value="<%= envType %>"/>
		</jsp:forward>
<%
		} catch (DuplicateKeyException exc) {
			exc.printStackTrace();
			request.setAttribute("MsgCode", "3"); 
%>


I hope this helps. Basically I'm trying to forward a request to another page and pass 2 variables to that page.

Thanks!

-julie

Reply With Quote
  #4  
Old July 22nd, 2003, 03:11 PM
Nemi Nemi is offline
Clueless llama
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Feb 2001
Location: Lincoln, NE. USA
Posts: 2,353 Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Days 12 h 35 m 19 sec
Reputation Power: 111
Your problem probably because you are using the nested version of the forward tag, yet you close the tag in your opening tag. You have:
Code:
	<jsp:forward page="/Am_ProdStatus.jsp" /> 
		<jsp:param name="projectShortName" value="<%= projectShortName %>"/>
		<jsp:param name="envType" value="<%= envType %>"/>
	</jsp:forward>

And it should be:
Code:
	<jsp:forward page="/Am_ProdStatus.jsp" > 
		<jsp:param name="projectShortName" value="<%= projectShortName %>"/>
		<jsp:param name="envType" value="<%= envType %>"/>
	</jsp:forward>

Notice the first forward tag. Change that and see if it doesn't help.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > how to update a tag?


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 6 hosted by Hostway
Stay green...Green IT