Help coderanch get a
new server
by contributing to the fundraiser

melan hen

Greenhorn
+ Follow
since Feb 14, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by melan hen

I solved the problem, thanks.
18 years ago
Hi all,
Now I am working for one of my client, they are using iPlanet Application Server 6.5 SP1 , and I have two Jsp (let's name it parent.jsp and child.jsp) which have been successfully deployed into the server.
Basically, the flow is that the parent page will be loaded first, and it will display a separate page (child.jsp) if user click a link in the parent page,then the user can key in some information in the child page and click a submit button in the child page to sumbit it, and child page will be closed.The submit button will call another jsp "childProcessing.jsp" to collect information in the child page, and put it into the session, and this jsp is a pure jspscript page, there is no html output of it, and I use RequestDispatcher to forward it to the parent page after it finish all the back end processing, hope the parent page will reload itself and see the changes in session.
Now the problem it that I can see the backend log of the parent page when it is being reloaded, it 's going well, but finally it will prompt an error:
[21/Nov/2005 11:08:28:2] error: Exception: SERVLET-IO_exception: IOException occurred
and it looks like the parent page can not be reloaded in the browser(IE 6.0).
Any body has any clue???Thanks in advance.
[ February 11, 2006: Message edited by: Bear Bibeault ]
18 years ago
Hi guys,take it easy, the real exam is much easier than the Coffee cram.
Now I am preparing SCBCD and SCEA in the meantime, does any body do the same thing here?
As I know, there are quite a few guys failed in the exam, but they were not willing post here... :roll:
Cleared SCWCD with 89% today, many thanks to JavaRanch and HFSJ, and thank you Bryan,Kathy and Bert, the book is great.
Say, you use cookie(not URL rewriting) to implement session control, but your client browser is so alert that it will decline all the cookies sent by any server. In such a case, your client will choose NOT to join the session.
Hope this can help.
JSP v2.0 Spec Pg. 1-104, Table JSP.5-1
...
Class
The fully qualified name of the class that defines the implementation of the object.The class name is case sensitive.
...
Following is what I get from JSP v2.0 Spec pg. 1-106
<jsp:setProperty name="beanName" prop_expr/>
prop_expr ::=
property="*" |
property="propertyName"|
property="propertyName" param="parameterName"|
property="propertyName" value="propertyValue"

propertyValue :: =string

I think both name and property is required,please correct me if I misunderstood.
Hi, I think it's true, that means foo has an entry which is String type, and the string value is "5",so it is OK.
I think the order doesn't matter...
I think in classic tags model, you should take care syn issue yourself. Since it is mostly used by page developer, you are not hoping them aware anything about thread or syn.
Hi,folks
I'm still wondering how to retrive jsp initial parameters by using EL, following is my web.xml for your reference:
....
<servlet>
<servlet-name>TestJspInit</servlet-name>
<jsp-file>/EL/testInit.jsp</jsp-file>
<init-param>
<param-name>email</param-name>
<param-value>ikickedbutt@wickedlysmart.com</param-value>
</init-param>
</servlet>
....
<servlet-mapping>
<servlet-name>TestJspInit</servlet-name>
<url-pattern>/TestJspInit</url-pattern>
</servlet-mapping>
In my /EL/testInit.jsp,I wrote:
${pageContext.config.email}
but it failed and give a error say :
Unable to find a value for "config" in object of class "org.apache.jasper.runtime.PageContextImpl" using operator "."
Anybody can help me clear this? thanks in advance.