Using Struts to develop web application

Hi, pls help to clear my doubt...
Struts is open source. If i use it to develop my commersial software(web application), can I:
-sell the software to client but not allow the client to re-sell it?
-Distribute the source code of struts but not to distribute the source code of my web application, back end processing like state machine, flow control, business logic and DAO?
Thanks in advance.

The answer is yes,
but please check this also.
http://www.apache.org/foundation/licence-FAQ.html
Struts is open source. If i use it to develop my
commersial software(web application), can I:
-sell the software to client but not allow the client
to re-sell it?
-Distribute the source code of struts but not to
distribute the source code of my web application, back
end processing like state machine, flow control,
business logic and DAO?
Thanks in advance.

Similar Messages

  • How to develop web application using ejb3.0 with eclipse

    Hi ,
    I am new to ejb3.0 with eclipse. If any one familar that please guide me...
    how to develop web application using ejb3.0 with eclipse.please help me... server jboss4.2.2. database mqsql5.0
    Thanks,

    jsf_VWP5.5.1 wrote:
    I am new to ejb3.0 with eclipse. If any one familar that please guide me...http://help.eclipse.org/help33/index.jsp

  • How to use Swing in a web Application

    Can you suggest me some good PDF/tutorial or some good site for reading about using SWING in a Web Application.
    In our web application we plan to use JSP/Struts for the presentation layer. However there are a few screens that require some advanced UI like color coded assets and a graphical version of Outstanding Vs Available limit. We are wondering whether we should use SWING for these screens. Do you think this is a good idea or is there a better apprach to deal with this
    What are the disadvantages of using SWING VS JSP/Servlet in a Web environment. Is there a site or pdf where i can get information about this.

    I'd say the biggest disadvantage is that your client machines have to download and install the bloody java plug in.
    What you write about your UI ain't half vague. What the deuce is a "color coded asset"? Is it
    interactive? If not, could it be represented by an image? If so, even if it is a non-static image, it is a simple
    matter for your webapp to generate the image on the fly. Many web app tutorials demonstrate that.

  • Confuse to develope web application.

    Hello Team,
    I am developing web application in ADF tehcnology......
    I want to know that M I going on right direction? plese help me....
    I have one form registration & on that I have 3 screen for this form....
    My first Apprach:-
    I develope One Jspx Page One Backing Bean & for this one pageDef...... & I took each screen on PanalGroup...& on next button i simply true & false the panalGropu....
    My Second Approch :-
    I use here 3 jspx page,3 backing bean & for that 3 pageDef & doing navigation through task flow......but i got many error I have master detail relationship But data is not maintain...inthis way...
    Which is the Right apprach?

    Hi,
    both approaches are good to use
    Frank

  • Develop web application (not a website) for iphone

    Hi
    Is it possible to develop *web application(not a website)* using iphone sdk and run the application on iphone device.
    If it is possible can anybody send me a samples or document.
    Thanks
    Mindus

    Close but wrong link. You want this one:
    http://developer.apple.com/iphone/index.action
    Note that, at the moment, this can only be done on a Mac computer

  • Developing Web Applications

    We teach Oracle Applications using Developer 2.1 and Oracle8.
    Recently we received Oracle 8i. We would like to also teach
    developing web applications using Developer suite. My question
    pertains to some operational procedures. It seems in order to
    develop web applications one needs to install both the Developer
    server and Oracle web application server. However, with the
    arrival of Oracle8i, does one need both the servers or are they
    already part of Oracle8i. I would appreciate if you could
    provide some clarifications.
    Thanks.
    Rajeev Kaula.
    null

    Oracle Application Server is not part of Oracle 8i, it is a
    separate product. You don't need OAS for Oracle Developer Server
    (Developer and Server 6.0). Ofcourse you do need a web server.
    Be prepared for the Oracle Adventure of Configuring Developer
    Server. If you have problems look at previous threads in this
    discussion forum.
    Rajeev Kaula (guest) wrote:
    : We teach Oracle Applications using Developer 2.1 and Oracle8.
    : Recently we received Oracle 8i. We would like to also teach
    : developing web applications using Developer suite. My question
    : pertains to some operational procedures. It seems in order to
    : develop web applications one needs to install both the
    Developer
    : server and Oracle web application server. However, with the
    : arrival of Oracle8i, does one need both the servers or are
    they
    : already part of Oracle8i. I would appreciate if you could
    : provide some clarifications.
    : Thanks.
    : Rajeev Kaula.
    null

  • To develop web application

    I would like to develop web application to access the oracle
    database. I would like to java? which is better: jsp or servlet?
    What are the software do i need to develop and running
    jsp/servlet? Do I need a web server to run jsp/servlet, a driver
    to connect to oracle like jdbc driver?
    What is the architecture like?
    Thanks.

    You need to have Oracle Applicaiton Server as middle tier. Inside OAS, there are sample html codes and jinitiator to move Developer applicaiton to web without any code changes.

  • How to use servlets in portal web application in Weblogic Portal 4.0

    We are developing a Portal Web application using Weblogic Portal 4.0 where in we
    have the following scenario. one JSP in webflow of a portlet calls the PipeLine
    which does some processing and calls the servlet which is having the typical download
    functionality. The servlet is supposed to read the data from the pipeline session
    and create a CSV String that is dumped to the client browser. The problem is even
    we are doing response.setContentType("application/save") in the servlet it is
    still displaying the content as html in the portlet. I guess since all our request
    are send to the webflow contolling servlet and it is setting the content type
    and hence our servlet is not working. How do I solve this problem? Thanks Yogesh

    Hi Renu
    Please go through the SAP Content Management here you find the documents related to Wab page Compoer and knowledge mangement. Also search for article / blog for more details.
    [http://www.sdn.sap.com/irj/sdn/nw-ecm|http://www.sdn.sap.com/irj/sdn/nw-ecm]
    Hope it will helps
    Best Regards
    Arun Jaiswal

  • How to update survey in Complaint from developed web application

    Hello,
    We've setup complaint management including the usage of surveys within a complaint document.
    Complaint documents are accessed using the SAP GUI but will also be maintained using a newly developed application in the Enterprise Portal.
    To access the survey using the external web application I need to know how to call the URL for the survey within a complaint transaction. I know how to setup the survey parameter xml but that allows me to call the survey irrespective of a transaction document. How do I call a URL that allows me to bring up a survey stored within a complaint document (is there for example a parameter I can pass to the URL indicating the GUID of the document the survey is in?
    Thanks,
    Patrick

    I have used local ejbs in other application servers, WebSphere and JBoss, from discrete web applications running in the same VM as the ejbs. The requirement for local interfaces is that the ejb and client be running in the same VM. Maybe Weblogic is different in that respect, but I doubt it. Why marshal data through a Remote interface when both components are in the same VM?
    I have gone through the Weblogic documentation and have not been able to find an answer to my question, which is why I posted the original question the way I did. Weblogic does not put the ejb in the jndi namespace, but the ejb can be acquired through jndi. In the Weblogic console deployments view I can see the bean deployed as CustomerBean, but there is no clue as to its jndi name. This forum is peppered with different schemes for accessing an ejb, but none of those has worked for me, hence the different names I tried.

  • How do I get info from Active Directory and use it in my web-applications?

    I borrowed a nice piece of code for JNDI hits against Active Directory from this website: http://www.sbfsbo.com/mike/JndiTutorial/
    I have altered it and am trying to use it to retrieve info from our Active Directory Server.
    I altered it to point to my domain, and I want to retrieve a person's full name(CN), e-mail address and their work location.
    I've looked at lots of examples, I've tried lots of things, but I'm really missing something. I'm new to Java, new to JNDI, new to LDAP, new to AD and new to Tomcat. Any help would be so appreciated.
    Thanks,
    To show you the code, and the error message, I've changed the actual names I used for connection.
    What am I not coding right? I get an error message like this:
    javax.naming.NameNotFoundException[LDAP error code 32 - 0000208D: nameErr DSID:03101c9 problem 2001 (no Object), data 0,best match of DC=mycomp, DC=isd, remaining name dc=mycomp, dc=isd
    [code]
    import java.util.Hashtable;
    import java.util.Enumeration;
    import javax.naming.*;
    import javax.naming.directory.*;
    public class JNDISearch2 {
    // initial context implementation
    public static String INITCTX = "com.sun.jndi.ldap.LdapCtxFactory";
    public static String MY_HOST = "ldap://99.999.9.9:389/dc=mycomp,dc=isd";
    public static String MGR_DN = "CN=connectionID,OU=CO,dc=mycomp,dc=isd";
    public static String MGR_PW = "connectionPassword";
    public static String MY_SEARCHBASE = "dc=mycomp,dc=isd";
    public static String MY_FILTER =
    "(&(objectClass=user)(sAMAccountName=usersignonname))";
    // Specify which attributes we are looking for
    public static String MY_ATTRS[] =
    { "cn", "telephoneNumber", "postalAddress", "mail" };
    public static void main(String args[]) {
    try { //----------------------------------------------------------        
    // Binding
    // Hashtable for environmental information
    Hashtable env = new Hashtable();
    // Specify which class to use for our JNDI Provider
    env.put(Context.INITIAL_CONTEXT_FACTORY, INITCTX);
    // Specify the host and port to use for directory service
    env.put(Context.PROVIDER_URL, MY_HOST);
    // Security Information
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PRINCIPAL, MGR_DN);
    env.put(Context.SECURITY_CREDENTIALS, MGR_PW);
    // Get a reference toa directory context
    DirContext ctx = new InitialDirContext(env);
    // Begin search
    // Specify the scope of the search
    SearchControls constraints = new SearchControls();
    constraints.setSearchScope(SearchControls.SUBTREE_SCOPE);
    // Perform the actual search
    // We give it a searchbase, a filter and the constraints
    // containing the scope of the search
    NamingEnumeration results = ctx.search(MY_SEARCHBASE, MY_FILTER, constraints);
    // Now step through the search results
    while (results != null && results.hasMore()) {
    SearchResult sr = (SearchResult) results.next();
    String dn = sr.getName() + ", " + MY_SEARCHBASE;
    System.out.println("Distinguished Name is " + dn);
    // Code for displaying attribute list
    Attributes ar = ctx.getAttributes(dn, MY_ATTRS);
    if (ar == null)
    // Has no attributes
    System.out.println("Entry " + dn);
    System.out.println(" has none of the specified attributes\n");
    else // Has some attributes
    // Determine the attributes in this record.
    for (int i = 0; i < MY_ATTRS.length; i++) {
    Attribute attr = ar.get(MY_ATTRS);
    if (attr != null) {
    System.out.println(MY_ATTRS[i] + ":");
    // Gather all values for the specified attribute.
    for (Enumeration vals = attr.getAll(); vals.hasMoreElements();) {
    System.out.println("\t" + vals.nextElement());
    // System.out.println ("\n");
    // End search
    } // end try
    catch (Exception e) {
    e.printStackTrace();
    System.exit(1);
    My JNDIRealm in Tomcat which actually does the initial authentication looks like this:(again, for security purposes, I've changed the access names and passwords, etc.)
    <Realm className="org.apache.catalina.realm.JNDIRealm" debug="99"
    connectionURL="ldap://99.999.9.9:389"
    connectionName="CN=connectionId,OU=CO,dc=mycomp,dc=isd"
    connectionPassword="connectionPassword"
    referrals="follow"
    userBase="dc=mycomp,dc=isd"
    userSearch="(&(sAMAccountName={0})(objectClass=user))"
    userSubtree="true"
    roleBase="dc=mycomp, dc=isd"
    roleSearch="(uniqueMember={0})"
    rolename="cn"
    />
    I'd be so grateful for any help.
    Any suggestions about using the data from Active directory in web-application.
    Thanks.
    R.Vaughn

    By this time you probably have already solved this, but I think the problem is that the Search Base is relative to the attachment point specified with the PROVIDER_URL. Since you already specified "DC=mycomp,DC=isd" in that location, you merely want to set the search base to "". The error message is trying to tell you that it could only find half of the "DC=mycomp, DC=isd, DC=mycomp, DC=isd" that you specified for the search base.
    Hope that helps someone.
    Ken Gartner
    Quadrasis, Inc (We Unify Security, www -dot- quadrasis -dot- com)

  • Using Designer to generate Web Applications

    I'm using Designer R1.3 to generate Web applications but example in a textfield i need make a validation how ca i do this using designer without make this using schema manager to correct by hands line by line

    You can certainly do this with JWS. You will have to request full access permissions to the user's machine because you will need to start the web server (& maybe DB server) from your JWS application. Do this with:
    <security>
    <all-permissions/>
    </security>
    That means you'll have to get a certificate for your server.
    In terms of resources - When you start resin, seems to me that all you should need to do is include all of the jars that resin needs in the command line classpath variable. To get access to this information, this code by Masahiro Takatsuka was very useful for me:
    http://forum.java.sun.com/thread.jsp?forum=38&thread=71208
    We did something similar to what you are doing - we ran Apache's Xindice XML DB from the JWS client. (We have since ditched Xindice because of performance issues, but launching it worked fine from JWS)
    good luck!
    catherine

  • Which is better to use: BEx query or Web Application as an iView in portal?

    Hi gurus!
    Are there any experienced opinions, which is better - publish a BEx query in portal or publish a BEx Web Application in portal? Is it easier to alter the layout attributes etc. if I create a BEx Web Application first before publishing?
    What is the way of fixing for example filter item height if I publish BEx query in portal - is there a Web Application that it uses anyhow which I can fix? Or can I use in that case iView -properties in portal?
    Thankful for advice
    Sari

    ok, means i can use jsp:useBean tag for all my
    classes that are not actually bean. so it will be
    instantiated at run time and provide efficiency .No. Jsp:useBean is used for java bean components.
    >
    but when should i use import statement in my jsp and
    it happen at translation time so will it create any
    type of burden for my code if i import multiple
    classes.For non-java beans, you need to import the classes, period.
    It's not a burden, it's a necessity.

  • Using native libraries in web application (weblogic on linux)

    I have a problem with loading native libraries for use with my web application. Where do I have to put them in order for the server to see them? The same app on windows runs perfectly fine, because it has no problems finding the dll files.
              So far I have tried modifying the weblogic startup scripts, to include the library in LD_LIBRARY_PATH environment variable. I've also tried modifying the security policy just in case, but I don't think it's the case, because like I said, the app ran fine on windows without messing with the policies. So, any ideas, how I could load the libraries?
              The system is a WebLogic 8.1SP4 installed on Linux i386 using JRockit JVM, the native library in question is JAI 1.1.3-alpha native acceleration library.
              PS. if it's in the wrong group, please direct me to the correct one.

    <p>Fukiku,</p>
              <p>Did you get this working?</p>
              <p>You can also try setting the environment variable java.library.path.</p>
              <p>Please post your stack trace to the forum as well.</p>
              <p>
              Hussein Badakhchani</br>
              </p>

  • Using Applets in ADF Web Application

    Hi,
    I'm building an ADF web application using JDeveloper 11. I would have to use applets which have to "communicate" with database (insert, update).
    What would be considered as "the best practice" for that "JDBC flavored applet"? Is it possible to reuse a database connection?
    Any suggestion would be appreciated.
    Thanks.

    Boris,
    You could still use ADF Business Components and access them remotely (from the applet).
    John

  • Prevent values being passed using Link Item on Web Application Designer

    Hello all,
    I have a question regarding 7.0 Web Application Designer. I am using the web item Link Item and using the command OPEN_TEMPLATE_DIALOG to open a new WAD Template BUT I do not want to pass the values from the original WAD template to the new one. Is there a way to restrict passing any values to the new template? Am I using the correct command OPEN_TEMPLATE_DIALOG?
    To better describe what is happening, my characteristics and key figures are being passed from my original WAD template to my new WAD template when using the OPEN_TEMPLATE_DIALOG. I do not the values to be passed, only to open up the new WAD Template with its own reports.
    Thank you.

    Sorry maybe I mistated the problem. I do not have an issue with the variable screen when transitioning to the second WAD template screen, I have a problem due to the values from the first WAD template being passed to the second WAD template.
    My first WAD template using the Link Item is only for the ability to click on the text to open up a second WAD template which I do not want the values to be passed from the First template.
    I hope this clears up the confusion.
    Thanks

Maybe you are looking for

  • Series of Questions I didn't get to ask at the Apple Store today...

    Hi all -- Apologies if many of these questions have already been answered, but after reading this forum for a few hours, I still wasn't sure, and I knew that at least a couple people would have the answers at the tips of their fingers, so I was hopin

  • How do you know if the battery is completely dead?

    I'm pretty sure that my iPod Shuffle's battery is completely dead. Even though I charged it longer than the alotted time there's no charge and the indicator light doesn't come on. How can I replace the battery?

  • IPod - view photos with diff music

    I have several diff photo albums on my ipod. I have it set to playmusic. But I would like to play different music with the different photo albums(not random songs but a specific, diff song for each specific photo album). It plays the same song for al

  • Time and clip duration not the same ???

    I got a clip with 3 correction layer above of same lenght and I toggle from one another and they shows 9;09 in info all excepts video clip which shows 9;10, but on timeline they are same lenght and show in info same In and Out TC. Also, when I go in

  • 3d rotation problem with CS5 (newbie)

    Hi everyone, as in Illustrator newbie this is my first post. I have created a 3d bullet shape by merging a couple of rounded rectangles, then using window > graphic style libiries > 3d effect > 3d effect 21 I have converterted my shape into a 3d cyli