This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!

cb poo

Ranch Hand
+ Follow
since Oct 02, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by cb poo

The solution above need to have scriplet in my jsp, right? Is there any others way to archive that?
14 years ago
No. I talking about how to create the content of the success.jsp, where it can be shareable across all my action. And the jsp should display bean that successfully save into database for every individual action.
In this case, how do I code the jsp page. I will never know the bean name to display in jsp?
14 years ago
I would like to have one successful.jsp that can call by more that one action. This successful.jsp will show different bean for different actions.

For example of userAction, successful.jsp should show
--------
The record successfully save:-
user = myUserName
password = myUserPassword
--------

For example of AccountAction, successful.jsp should show
--------
The record successfully save:-
account id = 001
account name = myAccount
account type = saving
--------

Guys, any idea how to archieve this using struts? I don't want to create each different success.jsp for different action.
14 years ago
Guys, I need help on following questions:
1) When requester(client) connect to Server, client is the one startHandShake. After handshake successfully, and session established. Can Server re-handshake, in others words can server initial a re-handshake ?
2) When client in the middle of transfer data, and now server initial re-handshake. Will my data transfer interrupt in the process of re-handshake?
3) How to tell my ssl session to re-handshake when new certificate(with new expired date) loaded?
14 years ago
I have a commonTag.jspf that contains the following lines:-

<%@ taglib prefix="html"
uri="http://jakarta.apache.org/taglibs/struts-html.tld" %>

<%@ taglib prefix="bean"
uri="http://jakarta.apache.org/taglibs/struts-bean.tld" %>

<%@ taglib prefix="logic"
uri="http://jakarta.apache.org/taglibs/struts-logic.tld" %>



In another jsp page, I include the above page using :-

<%@ include file="/common/commonTag.jspf"%>



It is working perfectly in JBOSS 4, but when I moved to RAD 6(Websphere
Studio 6), those taglib is not loaded. If I set those taglib in my
individual page, then it works. Why can I put all taglib in one common page,
and then include from my individual page?

Guys, any idea?
14 years ago
I have a commonTag.jspf that contains the following lines:-

<%@ taglib prefix="html"<br /> uri="http://jakarta.apache.org/taglibs/struts-html.tld" %>

<%@ taglib prefix="bean"<br /> uri="http://jakarta.apache.org/taglibs/struts-bean.tld" %>

<%@ taglib prefix="logic"<br /> uri="http://jakarta.apache.org/taglibs/struts-logic.tld" %>



In another jsp page, I include the above page using :-

<%@ include file="/common/commonTag.jspf"%>



It is working perfectly in JBOSS 4, but when I moved to RAD 6(Websphere
Studio 6), those taglib is not loaded. If I set those taglib in my
individual page, then it works. Why can't I put all taglib in one common page,
and then include from my individual page?

Guys, any idea?
14 years ago
hi all,
I have create a custom tag(myButtonTag) that extends org.apache.struts.taglib.html.ButtonTag.

in the jsp, i have two button(button1 and button2) that will call to myButtonTag.

how do i identified in the myButtonTag java ,which button(button1 or button2?) i currently work on?

Is there any stuff like if i println, i will see the current button name that i work on ?

have a nice day.
14 years ago
JSP
yeah, it is working.
Thank you.
14 years ago
hi guys,
I managed to popup a window(SearchPopup in a _javascript function) with another page(Pop_up.jsp) using following command:

<INPUT class=BUTTON type=button name=btnSearch id=btnSearch value=Search style=cursor:hand onfiltered="SearchPopup('<%=PopUp_url%>/Pop_up.jsp');">

After change to below html:button code, page 404 showed in the pop up window. The <%=PopUp_url%> is not replace by the actual value when i view the properties of the PopUp Window. It is still <%=PopUp_url%>/Pop_up.jsp.

<html:button property="mode" value="Search" styleClass="BUTTON" style="cursor:hand" onfiltered="SearchPopup('<%=PopUp_url%>/App_Search.jsp');"/>

Could anyone tell me how to solve this? thank you.
14 years ago
I posted this on IBM Forum but no reply. Would like to try it here.

Guys,
Anyone using embeded JMS Provided in WebSphere 5.1(base version)?

According to IBM WebSphere V5.0 Performance Scalability and High
Availability(chapter 12.2), embedded JMS Provided is not "Database
Persistent".
In that case, assuming after start the Queue Manager, and sending
message to the Queue. Suddenly I shutdown the server before anyone dequeue
the message. The next time I start up the server and Queue, will the message
still reside in the queue?
JBOSS MQ can store message in external storage that will prevent lost of
message when server hit problem. JBOSS MQ in this case better than embedded
JMS MQ in websphere?
14 years ago
I get solution from this forum as below, forgot what is the url:-

try put following code in between <datasources> tab.

<mbean code="org.jboss.naming.NamingAlias" name="jboss.jmx:alias=dmsdb">
<attribute name="FromName">dmsdb</attribute>
<attribute name="ToName">java:/dmsdb</attribute>
</mbean>
15 years ago
I found something about JBOSS Farming.

***
With JBoss clustering you can hot-deploy across the whole cluster just by plopping your EAR, WAR, or JAR into the deploy directory of one clustered JBoss instance. Hot-deploying on one machine will cause that component to be hot-deployed on all instances within the cluster.
***

Is this the way to do it?
15 years ago
WebSphere Deployment Manager has feature of "File synchronization service" that when I update a program in "Master Repository", all the nodes will be updated as well. This will facility administrative task where we don't have to update each Application Server one by one.
Does Jboss contains such features?
15 years ago
looks like XML is a better and flexible approach. Then I will take this. Thanks guys.