facebook

How to use local struts-config_1_1.dtd in weblogic 7

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #252156 Reply

    jadeite1000
    Member

    To Whom It May Concern:

    I am currently using weblogic 7.1,sql 2000, myEclipse 4.1.1 at work.
    I tried to start the current application without the
    url:http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd
    in the struts-config.xml file. Instead I just use
    “struts-config_1_1.dtd” in the struts-config.xml. But
    weblogic cannot find it. I tried to use the following:
    file://web-inf/struts-config_1_1.dtd but still the
    application server cannot find it.

    Any help would be greatly appreciated it.

    Yours,

    Albert Lam

    #252165

    Riyad Kalla
    Member

    Moving to OT > Soft Dev

    Albert, if you are changing the location of the XML DTD it has to be a valid location. file://web-inf is not going to work because your XML parser is going to try and resolve the file from the root. I would suggest leaving the default value OR changing the value to simply the name of the dtd like this “struts-config_1_1.dtd”, that will cause most parsers to try and resolve the DTD in the same directory the XML file resides in.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: How to use local struts-config_1_1.dtd in weblogic 7

You must be logged in to post in the forum log in