Maria Tan

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

Recent posts by Maria Tan

Hi;

Sorry i didn't type correct. Here is my question:


Since session object is default true in JSP page, do i need to call

request.getSessiobn(true) to create a session.

I think i can use session directly. Is that right?

<%
session = request.getSession(true); //should be comment out
session.setAttibute("userName", userName);
%>

By the way, i didn't false session in my directive.

I was told that if i use session hidden in JSP, it will be locally and i can not get the attibute setting in my session in my next page. But if i call

session = request.getSession(true);

The session will be global. Then i can get attribute. Is this true?

Thanks in advance

-Maria
16 years ago
JSP
Hi;

Since session object is default true in JSP page, do i need to call

request.getSessiobn(true) to create a session.

I think i can use session directly. Is that right?

<%
session = request.getSession(true); //should be comment out
session.setAttibute("userName", userName);
%>

By the way, i did false session in my directive.

I was told that if i do not call
session = request.getSession(true);

The session will be locally and i can not see the attibute in my next page, is that right?

Thanks

-Maria
16 years ago
JSP
Hi, Frank Zammetti;

I'm a J2EE programmer. I am quite familiar with HTML, DHTML and Javascipt. Now i was asked to be involved in project that is to use Ajax.

My question is:
1) Do i need to grasp basic concepts before jumping to your book? My understanding is that this book is suitable for those people who have some experience on Ajax
2) If yes, can you recommend some books for me?

Thanks

-Maria
[ May 02, 2007: Message edited by: Bear Bibeault ]
Nick, Please send me a PM if possible.

Thanks
Hello:
Can you tell me how to set the soapAction in the WDSL.
Thanks
-Maria
20 years ago
Hello:
I am using Ant Task provided by the BEA WebLogic server to create WSDL. When i check the WSDL, i found the soapAction="". But the transport is SOAP.
and it should have soapAction attribute.Can you help me to figure it out?
Thanks
-Maria
<binding type="tns:HelloWorldEJBPort" name="HelloWorldEJBPort">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="sayHello">
<soap peration style="rpc" soapAction="" />
- <input>
<soap:body namespace="http://vwhq5123:13500/examples/webservices/basic/statelessSession" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" />
</input>
- <output>
<soap:body namespace="http://vwhq5123:13500/examples/webservices/basic/statelessSession" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" />
</output>
</operation>
</binding>
20 years ago
Hello:
I sent the request on 01/28 for SCMAD Beta Free Voucher based on the following instruction:
Send an email to suncert@prometric.com
Subject Line: SCMAD Voucher
Include your full name, email and prometric id number.
Please allow 5 business days for a response.
But i still didn't get it. I am just wondering maybe i missed the prometric id number. Would you mind tell how can i get it.
Thanks
-Maria
SCJP,SCWCD
Hello:
I have several reports that will retrive information from the database. I have to reload these report web pages while using Netscape, it will show the blank page until i reload the page.i face no problems in IE. Any one can help me?
Thanks
Maria
Hello:
I have several reports that tried to pass a PDF(ByteArrayOutputStream) document in a servlet. All reports are working well, both in IE and Netscape, except only one report won't display unless I press the reload button in the Netscape. I've tried setContentLength(baos.size()),flushing buffers, and closing response. Can anyone help?
Thanks in advance
Maria
21 years ago
Hello, All:
A fewer users sometimes get the 409 Error when they try to use JSP pages.( We are using the iPlanet web server 6.0)
The 409 Error is:
request could not be completed due to a conflict with the current state of the resource.
Would you mind tell me what it stands for? and how to avoid it?
Thanks in advance.
Maria
22 years ago
Hello, All:
A fewer users sometime get the 409 Error when they try to use JSP pages.( We are using the iPlanet web server)
The 409 Error is:
request could not be completed due to a conflict with the current state of the resource.
Would you mind tell me what it stands for? and how to avoid it?
Thanks in advance.
Maria
22 years ago
JSP
Thanks for your help.
I have another concern. In my JSP page(page1.jsp), i have other links(ie: page2.jsp). If i add the history.forward() on the pages1.jsp, that means i can not use back button on pages2.jsp. But i still need to keep this functionality for pages2.jsp.
The only thing i can do is on the successful.html.
Thanks a lot
Maria
Hi:
I have a jsp page used to retrieve the user's information and once the user pass the validation and transfer to the database, it will show an page:successful.html. I need to disable the back button on this page because i don't want to insert the duplicate data in the database. Using the following code to disable the back button.
if(window.history.reload() != null) {
self.location.reload();
}
It works fine in the Netscape. But it didn't work in the IE. It shows the following message:
Object doesn't support this property or method.
Any help?
Thanks in advance
Maria
The following link is useful to remember the elements in the web-app
http://www.javaranch.com/carl/scwcd/servlet2.3dd.jsp
Deployment Descriptor Tree by Ersin Eser
Besides, try to write some custom tags by yourself and you may get the feeling of it.
Thanks
Maria
I passed SCWCD yesterday. The score is 93%.
I'd like to thank all of you and JavaRanch.
Generally
1) jwebplus exams are very close to the real exam
2) SCWCD exam study kit is my study material. The last chapter : Exam Quick Prep is excellent.
Good luck on everybody.
Maria Tan